| /src/external/bsd/openpam/dist/lib/libpam/ |
| openpam_straddch.c | 58 char *tmpstr; local 63 if ((tmpstr = malloc(tmpsize)) == NULL) { 67 *str = tmpstr; 73 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { 78 *str = tmpstr;
|
| /src/usr.bin/menuc/ |
| mdb.c | 114 char *sys_prefix, *tmpstr; local 391 tmpstr = menus[i]->info->helpstr; 392 if (*tmpstr != '"') 393 (void)fprintf(out_file, "%s", tmpstr); 396 if (tmpstr[1] == '\n') 397 *++tmpstr = '"'; 399 while (*tmpstr) { 400 if (*tmpstr != '\n') { 401 fputc(*tmpstr++, out_file); 405 tmpstr++ [all...] |
| /src/external/bsd/am-utils/dist/amd/ |
| am_ops.c | 326 char *tmpstr; /* temp */ local 338 for (tmpstr = strtok(s1, ","); 339 tmpstr; 340 tmpstr = strtok(NULL, ",")) { 342 xstrlcpy(oneopt, tmpstr, sizeof(oneopt)); 354 xstrlcat(newstr, tmpstr, len); 356 xstrlcpy(newstr, tmpstr, len);
|
| /src/sys/fs/nfs/common/ |
| nfs_fha.c | 56 char tmpstr[128]; local 74 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.enable", 76 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); 77 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.bin_shift", 79 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.bin_shift); 80 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.max_nfsds_per_fh", 82 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.max_nfsds_per_fh) [all...] |
| /src/common/lib/libprop/ |
| prop_extern.c | 104 char tmpstr[sizeof("\\uXXXX")]; local 106 snprintf(tmpstr, sizeof(tmpstr), "\\u%04X", val); 107 return _prop_extern_append_cstring(ctx, tmpstr);
|
| prop_number.c | 202 char tmpstr[32]; local 213 snprintf(tmpstr, sizeof(tmpstr), 217 snprintf(tmpstr, sizeof(tmpstr), "%" PRIi64, 223 _prop_extern_append_cstring(ctx, tmpstr) == false ||
|
| /src/games/warp/ |
| term.h | 42 #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
|
| /src/crypto/external/bsd/libsaslc/dist/src/ |
| xsess.c | 174 char *tmpstr; local 191 if ((tmpstr = strdup(mechs)) == NULL) 194 normalize_list_string(tmpstr); 195 rv = saslc__list_parse(&list, tmpstr); 196 free(tmpstr);
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/testlib/ |
| test-data.c | 568 char tmpstr[8192] = { 0 }; local 576 strncpy(tmpstr, str, sizeof(tmpstr) - 1); 578 tok = strtok_r(tmpstr, " ", &sptr);
|
| /src/sys/arch/prep/prep/ |
| residual.c | 916 char tmpstr[30]; local 945 for (j = 0, first = 1, t = tmpstr; j < MAX_PCI_INTRS; j++) { 957 printf(" interrupt line(s) %s routed to", tmpstr); 958 snprintf(tmpstr, sizeof(tmpstr), 961 printf(" %s line(s) ", tmpstr); 966 l += snprintf(tmpstr + l, sizeof(tmpstr) - l, 969 if (l > sizeof(tmpstr)) 973 printf("%s\n", tmpstr); 1059 char tmpstr[30]; local [all...] |
| /src/sys/arch/sparc64/sparc64/ |
| autoconf.c | 1256 char tmpstr[32]; local 1267 if (OF_getprop(ofnode, "name", tmpstr, sizeof(tmpstr)) <= 0) 1268 tmpstr[0] = 0; 1276 if (strcmp(tmpstr, "network") == 0 || 1282 if (strcmp(tmpstr, "scsi-fcp") == 0) {
|
| /src/usr.sbin/bootp/common/ |
| readfile.c | 786 char tmpstr[MAXSTRINGLEN]; 917 len = sizeof(tmpstr); 918 (void) get_string(symbol, tmpstr, &len); 919 makelower(tmpstr); 923 if (!strcmp(htnamemap[i].name, tmpstr)) { 972 len = sizeof(tmpstr); 973 (void) get_string(symbol, tmpstr, &len); 974 if (!strncmp(tmpstr, "auto", 4)) { 977 if (sscanf(tmpstr, "%d", <imeoff) != 1) 1651 char tmpstr[MAXSTRINGLEN] 780 char tmpstr[MAXSTRINGLEN]; local 1635 char tmpstr[MAXSTRINGLEN]; local 1737 char tmpstr[MAXSTRINGLEN]; local [all...] |
| /src/usr.sbin/envstat/ |
| envstat.c | 902 const char *invalid = "N/A", *degrees, *tmpstr, *stype; local 910 tmpstr = stype = d = e = NULL; 982 if (tmpstr == NULL || strcmp(tmpstr, sensor->dvname)) 985 tmpstr = sensor->dvname; 1367 const char *degrees, *tmpstr, *stype; local 1379 tmpstr = stype = d = e = NULL; 1405 if (tmpstr == NULL || strcmp(tmpstr, sensor->dvname)) { 1406 if (tmpstr != NULL) [all...] |
| /src/crypto/external/apache2/openssl/dist/engines/ |
| e_capi.c | 291 LPSTR tmpstr; local 320 tmpstr = OPENSSL_strdup(p); 321 if (tmpstr != NULL) { 323 ctx->storename = tmpstr; 347 tmpstr = OPENSSL_strdup(p); 348 if (tmpstr != NULL) { 349 ctx->debug_file = tmpstr;
|
| /src/crypto/external/bsd/openssl/dist/engines/ |
| e_capi.c | 291 LPSTR tmpstr; local 320 tmpstr = OPENSSL_strdup(p); 321 if (tmpstr != NULL) { 323 ctx->storename = tmpstr; 348 tmpstr = OPENSSL_strdup(p); 349 if (tmpstr != NULL) { 350 ctx->debug_file = tmpstr;
|
| /src/crypto/external/bsd/openssl.old/dist/engines/ |
| e_capi.c | 288 LPSTR tmpstr; local 317 tmpstr = OPENSSL_strdup(p); 318 if (tmpstr != NULL) { 320 ctx->storename = tmpstr; 345 tmpstr = OPENSSL_strdup(p); 346 if (tmpstr != NULL) { 347 ctx->debug_file = tmpstr;
|
| /src/usr.sbin/acpitools/acpidump/ |
| acpi.c | 4663 char buf[MAXPATHLEN], tmpstr[MAXPATHLEN], wrkdir[MAXPATHLEN]; local 4693 len = (size_t)snprintf(tmpstr, sizeof(tmpstr), "%s%s", wrkdir, iname); 4694 assert(len <= sizeof(tmpstr) - 1); 4695 fd = open(tmpstr, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); 4708 execl("/usr/bin/iasl", "iasl", "-d", tmpstr, NULL); 4713 if (unlink(tmpstr) < 0) { 4726 len = (size_t)snprintf(tmpstr, sizeof(tmpstr), "%s%s", wrkdir, oname); 4727 assert(len <= sizeof(tmpstr) - 1) [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| linux-tdep.c | 2167 char *tmpstr; local 2318 tmpstr = strstr (proc_status, "Uid:"); 2319 if (tmpstr != NULL) 2322 tmpstr += sizeof ("Uid:"); 2323 while (*tmpstr != '\0' && !isdigit ((unsigned char)*tmpstr)) 2324 ++tmpstr; 2326 if (isdigit ((unsigned char)*tmpstr)) 2327 p->pr_uid = strtol (tmpstr, &tmpstr, 10) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| linux-tdep.c | 1871 char *tmpstr; local 2022 tmpstr = strstr (proc_status, "Uid:"); 2023 if (tmpstr != NULL) 2026 tmpstr += sizeof ("Uid:"); 2027 while (*tmpstr != '\0' && !isdigit ((unsigned char)*tmpstr)) 2028 ++tmpstr; 2030 if (isdigit ((unsigned char)*tmpstr)) 2031 p->pr_uid = strtol (tmpstr, &tmpstr, 10) [all...] |
| /src/external/gpl2/xcvs/dist/src/ |
| server.c | 425 char tmpstr[80]; local 431 sprintf (tmpstr, "unknown error %d", status); 432 msg = tmpstr;
|