Home
last modified time | relevance | path

Searched refs:tmpstr (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dgen_decode.c214 const char *forwstr, const char *tmpstr, const char *dertype, in decode_type() argument
432 tmpstr, in decode_type()
433 tmpstr, in decode_type()
434 tmpstr, in decode_type()
435 tmpstr, in decode_type()
447 tmpstr, in decode_type()
448 tmpstr, tmpstr, name, in decode_type()
449 tmpstr, tmpstr, forwstr, in decode_type()
450 tmpstr, tmpstr, in decode_type()
451 tmpstr, name, tmpstr, in decode_type()
[all …]
H A Dgen_length.c66 const char *variable, const char *tmpstr) in length_type() argument
165 "%s = 0;\n", tmpstr, variable, variable); in length_type()
167 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in length_type()
196 tmpstr, variable, tmpstr, variable); in length_type()
199 tmpstr, name, tmpstr, tmpstr); in length_type()
201 "%s = 0;\n", tmpstr, variable, variable); in length_type()
202 if (asprintf (&n, "&(%s)->val[n_%s - 1]", name, tmpstr) < 0 || n == NULL) in length_type()
204 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) in length_type()
208 variable, tmpstr); in length_type()
213 "}\n", variable, tmpstr); in length_type()
[all …]
H A Dgen_encode.c108 encode_type (const char *name, const Type *t, const char *tmpstr) in encode_type() argument
280 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); in encode_type()
283 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type()
364 name, tmpstr); in encode_type()
367 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) in encode_type()
373 tmpstr); in encode_type()
393 if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL) in encode_type()
432 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); in encode_type()
435 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type()
/netbsd-src/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_straddch.c58 char *tmpstr; in openpam_straddch() local
63 if ((tmpstr = malloc(tmpsize)) == NULL) { in openpam_straddch()
67 *str = tmpstr; in openpam_straddch()
73 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { in openpam_straddch()
78 *str = tmpstr; in openpam_straddch()
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_fha.c56 char tmpstr[128]; in fha_init() local
74 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.enable", in fha_init()
76 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); in fha_init()
77 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.bin_shift", in fha_init()
79 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.bin_shift); in fha_init()
80 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.max_nfsds_per_fh", in fha_init()
82 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.max_nfsds_per_fh); in fha_init()
83 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.max_reqs_per_nfsd", in fha_init()
85 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.max_reqs_per_nfsd); in fha_init()
/netbsd-src/usr.bin/menuc/
H A Dmdb.c114 char *sys_prefix, *tmpstr; in write_menu_file() local
391 tmpstr = menus[i]->info->helpstr; in write_menu_file()
392 if (*tmpstr != '"') in write_menu_file()
393 (void)fprintf(out_file, "%s", tmpstr); in write_menu_file()
396 if (tmpstr[1] == '\n') in write_menu_file()
397 *++tmpstr = '"'; in write_menu_file()
399 while (*tmpstr) { in write_menu_file()
400 if (*tmpstr != '\n') { in write_menu_file()
401 fputc(*tmpstr++, out_file); in write_menu_file()
405 tmpstr++; in write_menu_file()
/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dam_ops.c326 char *tmpstr; /* temp */ in merge_opts() local
338 for (tmpstr = strtok(s1, ","); in merge_opts()
339 tmpstr; in merge_opts()
340 tmpstr = strtok(NULL, ",")) { in merge_opts()
342 xstrlcpy(oneopt, tmpstr, sizeof(oneopt)); in merge_opts()
354 xstrlcat(newstr, tmpstr, len); in merge_opts()
356 xstrlcpy(newstr, tmpstr, len); in merge_opts()
/netbsd-src/usr.sbin/bootp/common/
H A Dreadfile.c780 char tmpstr[MAXSTRINGLEN]; in eval_symbol() local
911 len = sizeof(tmpstr); in eval_symbol()
912 (void) get_string(symbol, tmpstr, &len); in eval_symbol()
913 makelower(tmpstr); in eval_symbol()
917 if (!strcmp(htnamemap[i].name, tmpstr)) { in eval_symbol()
966 len = sizeof(tmpstr); in eval_symbol()
967 (void) get_string(symbol, tmpstr, &len); in eval_symbol()
968 if (!strncmp(tmpstr, "auto", 4)) { in eval_symbol()
971 if (sscanf(tmpstr, "%d", &ltimeoff) != 1) in eval_symbol()
1635 char tmpstr[MAXSTRINGLEN]; in prs_inetaddr() local
[all …]
H A Ddovend.c50 char *tmpstr; in dovend_rfc1497()
215 tmpstr = hp->hostname->string; in dovend_rfc1497()
217 while (*tmpstr && (*tmpstr != '.')) { in dovend_rfc1497()
218 tmpstr++; in dovend_rfc1497()
/netbsd-src/sys/arch/prep/prep/
H A Dresidual.c916 char tmpstr[30]; in large_vendor_pcibridge_subr() local
945 for (j = 0, first = 1, t = tmpstr; j < MAX_PCI_INTRS; j++) { in large_vendor_pcibridge_subr()
957 printf(" interrupt line(s) %s routed to", tmpstr); in large_vendor_pcibridge_subr()
958 snprintf(tmpstr, sizeof(tmpstr), in large_vendor_pcibridge_subr()
961 printf(" %s line(s) ", tmpstr); in large_vendor_pcibridge_subr()
966 l += snprintf(tmpstr + l, sizeof(tmpstr) - l, in large_vendor_pcibridge_subr()
969 if (l > sizeof(tmpstr)) in large_vendor_pcibridge_subr()
973 printf("%s\n", tmpstr); in large_vendor_pcibridge_subr()
1059 char tmpstr[30]; in large_vendor_isaintr_subr() local
1063 snprintf(tmpstr, sizeof(tmpstr), inttype[p->PPCData[0] - 1], in large_vendor_isaintr_subr()
[all …]
/netbsd-src/common/lib/libprop/
H A Dprop_number.c198 char tmpstr[32]; in _prop_number_externalize() local
205 snprintf(tmpstr, sizeof(tmpstr), "0x%" PRIx64, in _prop_number_externalize()
208 snprintf(tmpstr, sizeof(tmpstr), "%" PRIi64, in _prop_number_externalize()
212 _prop_object_externalize_append_cstring(ctx, tmpstr) == false || in _prop_number_externalize()
/netbsd-src/crypto/external/bsd/libsaslc/dist/src/
H A Dxsess.c178 char *tmpstr; in saslc__sess_choose_mech() local
195 if ((tmpstr = strdup(mechs)) == NULL) in saslc__sess_choose_mech()
198 normalize_list_string(tmpstr); in saslc__sess_choose_mech()
199 rv = saslc__list_parse(&list, tmpstr); in saslc__sess_choose_mech()
200 free(tmpstr); in saslc__sess_choose_mech()
/netbsd-src/games/warp/
H A Dterm.h42 #define mvaddstr(y,x,s) (move((y),(x),0), tmpstr = (s), \
43 tmplen = strlen(tmpstr), write(1, tmpstr, tmplen), real_x += tmplen)
46 EXT const char *tmpstr; variable
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dautoconf.c1233 char tmpstr[32]; in device_register() local
1245 if (OF_getprop(ofnode, "name", tmpstr, sizeof(tmpstr)) <= 0) in device_register()
1246 tmpstr[0] = 0; in device_register()
1254 if (strcmp(tmpstr, "network") == 0 in device_register()
1255 || strcmp(tmpstr, "ethernet") == 0 in device_register()
1268 if (strcmp(tmpstr, "network") == 0 || in device_register()
1286 if (strcmp(tmpstr, "scsi-fcp") == 0) { in device_register()
/netbsd-src/usr.sbin/envstat/
H A Denvstat.c862 const char *invalid = "N/A", *degrees, *tmpstr, *stype; in print_sensors() local
868 tmpstr = stype = d = e = NULL; in print_sensors()
935 if (tmpstr == NULL || strcmp(tmpstr, sensor->dvname)) in print_sensors()
938 tmpstr = sensor->dvname; in print_sensors()
/netbsd-src/crypto/external/bsd/openssl/dist/engines/
H A De_capi.c291 LPSTR tmpstr; in capi_ctrl() local
320 tmpstr = OPENSSL_strdup(p); in capi_ctrl()
321 if (tmpstr != NULL) { in capi_ctrl()
323 ctx->storename = tmpstr; in capi_ctrl()
348 tmpstr = OPENSSL_strdup(p); in capi_ctrl()
349 if (tmpstr != NULL) { in capi_ctrl()
350 ctx->debug_file = tmpstr; in capi_ctrl()
/netbsd-src/crypto/external/bsd/openssl.old/dist/engines/
H A De_capi.c288 LPSTR tmpstr; in capi_ctrl() local
317 tmpstr = OPENSSL_strdup(p); in capi_ctrl()
318 if (tmpstr != NULL) { in capi_ctrl()
320 ctx->storename = tmpstr; in capi_ctrl()
345 tmpstr = OPENSSL_strdup(p); in capi_ctrl()
346 if (tmpstr != NULL) { in capi_ctrl()
347 ctx->debug_file = tmpstr; in capi_ctrl()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dread-rtl.c1903 char tmpstr[256]; in read_rtx_operand() local
1904 ptr = &tmpstr[0]; in read_rtx_operand()
1909 && (end - start - 1 < (int)sizeof (tmpstr))) in read_rtx_operand()
1911 strncpy (tmpstr, start+1, end-start-1); in read_rtx_operand()
1912 tmpstr[end-start-1] = 0; in read_rtx_operand()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dread-rtl.cc1950 char tmpstr[256]; in read_rtx_operand() local
1951 ptr = &tmpstr[0]; in read_rtx_operand()
1956 && (end - start - 1 < (int)sizeof (tmpstr))) in read_rtx_operand()
1958 strncpy (tmpstr, start+1, end-start-1); in read_rtx_operand()
1959 tmpstr[end-start-1] = 0; in read_rtx_operand()
/netbsd-src/usr.sbin/acpitools/acpidump/
H A Dacpi.c4663 char buf[MAXPATHLEN], tmpstr[MAXPATHLEN], wrkdir[MAXPATHLEN]; in aml_disassemble() local
4693 len = (size_t)snprintf(tmpstr, sizeof(tmpstr), "%s%s", wrkdir, iname); in aml_disassemble()
4694 assert(len <= sizeof(tmpstr) - 1); in aml_disassemble()
4695 fd = open(tmpstr, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); in aml_disassemble()
4708 execl("/usr/bin/iasl", "iasl", "-d", tmpstr, NULL); in aml_disassemble()
4713 if (unlink(tmpstr) < 0) { in aml_disassemble()
4726 len = (size_t)snprintf(tmpstr, sizeof(tmpstr), "%s%s", wrkdir, oname); in aml_disassemble()
4727 assert(len <= sizeof(tmpstr) - 1); in aml_disassemble()
4728 fp = fopen(tmpstr, "r"); in aml_disassemble()
4729 if (unlink(tmpstr) < 0) { in aml_disassemble()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dconfig_file.c1002 char* tmpstr = NULL; \
1005 tmpstr = config_taglist2str(cfg, p->str2, p->str2len); \
1006 if(tmpstr) {\
1007 snprintf(buf, len, "%s %s", p->str, tmpstr); \
1009 free(tmpstr); \
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dserver.c425 char tmpstr[80]; in print_error() local
431 sprintf (tmpstr, "unknown error %d", status); in print_error()
432 msg = tmpstr; in print_error()