/freebsd-10.1-release/contrib/openpam/lib/libpam/ |
H A D | openpam_straddch.c | 55 char *tmpstr; local 60 if ((tmpstr = malloc(tmpsize)) == NULL) { 65 *str = tmpstr; 71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { 77 *str = tmpstr;
|
/freebsd-10.1-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_get_wstr.c | 95 wint_t *tmpstr = str; local 158 if (tmpstr > oldstr) { 159 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 162 while (tmpstr > oldstr) { 163 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 168 } else if (maxlen >= 0 && tmpstr - oldstr >= maxlen) { 171 *tmpstr++ = ch; 172 *tmpstr [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 80 ASN1_STRING tmpstr; 85 tmpstr = *(ASN1_STRING *)a; 86 len = tmpstr.length; 87 ebcdic2ascii(tmp, tmpstr.data, 89 tmpstr.data = tmp; 90 a = (ASN1_GENERALIZEDTIME *)&tmpstr;
|
H A D | a_gentm.c | 77 ASN1_STRING tmpstr = *(ASN1_STRING *)a; 79 len = tmpstr.length; 80 ebcdic2ascii(tmp, tmpstr.data, (len >= sizeof tmp) ? sizeof tmp : len); 81 tmpstr.data = tmp; 83 a = (ASN1_GENERALIZEDTIME *)&tmpstr;
|
/freebsd-10.1-release/crypto/heimdal/lib/asn1/ |
H A D | gen_decode.c | 212 const char *forwstr, const char *tmpstr, const char *dertype, 420 tmpstr, 421 tmpstr, 422 tmpstr, 423 tmpstr, 435 tmpstr, 436 tmpstr, tmpstr, name, 437 tmpstr, tmpstr, forwst 211 decode_type(const char *name, const Type *t, int optional, const char *forwstr, const char *tmpstr, const char *dertype, unsigned int depth) argument [all...] |
H A D | gen_length.c | 64 const char *variable, const char *tmpstr) 162 "%s = 0;\n", tmpstr, variable, variable); 164 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 193 tmpstr, variable, variable); 197 "%s = 0;\n", tmpstr, variable, variable); 200 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 204 variable, tmpstr); 209 "}\n", variable, tmpstr); 249 if (asprintf(&tname, "%s_tag", tmpstr) < 0 || tname == NULL) 63 length_type(const char *name, const Type *t, const char *variable, const char *tmpstr) argument
|
H A D | gen_encode.c | 108 encode_type (const char *name, const Type *t, const char *tmpstr) argument 277 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); 280 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 361 name, tmpstr); 364 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 370 tmpstr); 390 if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL) 429 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); 432 fprintf (codefile, "ret += %s_oldret;\n", tmpstr);
|
/freebsd-10.1-release/lib/libcam/ |
H A D | camlib.c | 118 char *tmpstr, *tmpstr2; local 135 tmpstr = newpath; 140 if (*tmpstr == '/') { 141 tmpstr2 = tmpstr; 142 tmpstr = strrchr(tmpstr2, '/'); 143 if ((tmpstr != NULL) && (*tmpstr != '\0')) 144 tmpstr++; 147 if (*tmpstr == '\0') { 158 if (*tmpstr 443 char tmpstr[256]; local [all...] |
/freebsd-10.1-release/sys/nfs/ |
H A D | nfs_fha.c | 54 char tmpstr[128]; local 72 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.enable", 74 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); 75 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.bin_shift", 77 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.bin_shift); 78 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.max_nfsds_per_fh", 80 TUNABLE_INT_FETCH(tmpstr, [all...] |
/freebsd-10.1-release/usr.bin/systat/ |
H A D | devs.c | 188 char **tempstr, *tmpstr, *tmpstr1; local 198 tmpstr = tmpstr1 = strdup(args); 205 free(tmpstr); 248 char *cp, *tmpstr, *tmpstr1, *buffer; local 267 tmpstr = tmpstr1 = strdup(args); 305 free(tmpstr);
|
H A D | cmds.c | 53 char *cp, *tmpstr, *tmpstr1; local 56 tmpstr = tmpstr1 = strdup(cmd); 147 free(tmpstr);
|
H A D | iostat.c | 196 char tmpstr[10]; local 222 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 224 mvwaddstr(wnd, row, _col + 4, tmpstr); 237 char tmpstr[10]; local 246 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 249 tmpstr);
|
H A D | netcmds.c | 127 char *cp, *tmpstr, *tmpstr1; local 132 tmpstr = tmpstr1 = strdup(args); 163 free(tmpstr);
|
/freebsd-10.1-release/contrib/amd/amd/ |
H A D | am_ops.c | 314 char *tmpstr; /* temp */ local 326 for (tmpstr = strtok(s1, ","); 327 tmpstr; 328 tmpstr = strtok(NULL, ",")) { 330 xstrlcpy(oneopt, tmpstr, 80); 342 xstrlcat(newstr, tmpstr, len); 344 xstrlcpy(newstr, tmpstr, len);
|
/freebsd-10.1-release/libexec/bootpd/ |
H A D | dovend.c | 218 char *tmpstr = hp->hostname->string; 220 while (*tmpstr && (*tmpstr != '.')) { 221 tmpstr++;
|
H A D | readfile.c | 796 char tmpstr[MAXSTRINGLEN]; 927 len = sizeof(tmpstr); 928 (void) get_string(symbol, tmpstr, &len); 929 makelower(tmpstr); 933 if (!strcmp(htnamemap[i].name, tmpstr)) { 982 len = sizeof(tmpstr); 983 (void) get_string(symbol, tmpstr, &len); 984 if (!strncmp(tmpstr, "auto", 4)) { 987 if (sscanf(tmpstr, "%d", (int*)&timeoff) != 1) 1686 char tmpstr[MAXSTRINGLE 790 char tmpstr[MAXSTRINGLEN]; local 1670 char tmpstr[MAXSTRINGLEN]; local 1772 char tmpstr[MAXSTRINGLEN]; local [all...] |
/freebsd-10.1-release/usr.sbin/nandsim/ |
H A D | nandsim_cfgparse.c | 185 char *tmp, *tmpstr, *origstr; local 199 tmpstr = (char *)strtok(array, ","); 201 while (tmpstr != NULL) { 203 if ((tmp = strchr(tmpstr, '-')) != NULL) { 205 if (convert_arguint(tmpstr, &from) || 213 if (convert_arguint(tmpstr, &from)) { 219 tmpstr = (char *)strtok(NULL, ","); 226 tmpstr = (char *)strtok(origstr, ","); 230 while (tmpstr != NULL) { 232 if ((tmp = strchr(tmpstr, ' [all...] |
H A D | nandsim.c | 185 char *tmpstr; local 201 tmpstr = (char *)strtok(str, ":"); 202 if ((tmpstr != NULL) && (*tmpstr != '\0')) { 203 if (convert_arguint(tmpstr, &num) != 0) 208 "value must lie between 0 and 3!", tmpstr); 213 tmpstr = (char *)strtok(NULL, ":"); 215 if ((tmpstr != NULL) && (*tmpstr != '\0')) { 216 if (convert_arguint(tmpstr, [all...] |
/freebsd-10.1-release/usr.sbin/acpi/acpidump/ |
H A D | acpi.c | 1476 char buf[PATH_MAX], tmpstr[PATH_MAX]; local 1486 strncpy(tmpstr, tmpdir, sizeof(tmpstr)); 1487 if (realpath(tmpstr, buf) == NULL) { 1491 strncpy(tmpstr, buf, sizeof(tmpstr)); 1492 strncat(tmpstr, "/acpidump.", sizeof(tmpstr) - strlen(buf)); 1493 len = strlen(tmpstr); 1494 tmpext = tmpstr [all...] |
/freebsd-10.1-release/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 531 char tmpstr[32]; local 611 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%4d", 613 strncpy((char *)be_lun->ctl_be_lun.serial_num, tmpstr, 615 sizeof(tmpstr))); 618 strncpy((char *)params->serial_num, tmpstr, 619 ctl_min(sizeof(params->serial_num), sizeof(tmpstr))); 627 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%4d", softc->num_luns); 628 strncpy((char *)be_lun->ctl_be_lun.device_id, tmpstr, [all...] |
/freebsd-10.1-release/sbin/camcontrol/ |
H A D | persist.c | 137 const char *tmpstr; local 142 tmpstr = scsi_nv_to_str(persist_scope_table, num_entries, 144 fprintf(stdout, "Scope: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : 149 tmpstr = scsi_nv_to_str(persist_type_table, num_entries, 151 fprintf(stdout, "Type: %s (%#x)\n", (tmpstr != NULL) ? tmpstr :
|
/freebsd-10.1-release/sys/dev/mpr/ |
H A D | mpr.c | 1368 char tmpstr[80]; local 1385 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level", 1387 TUNABLE_INT_FETCH(tmpstr, &sc->mpr_debug); 1389 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix", 1391 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1393 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi", 1395 TUNABLE_INT_FETCH(tmpstr, 1412 char tmpstr[80], tmpstr2[80]; local [all...] |
/freebsd-10.1-release/sys/dev/mps/ |
H A D | mps.c | 1345 char tmpstr[80]; local 1362 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level", 1364 TUNABLE_INT_FETCH(tmpstr, &sc->mps_debug); 1366 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix", 1368 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1370 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi", 1372 TUNABLE_INT_FETCH(tmpstr, 1389 char tmpstr[80], tmpstr2[80]; local [all...] |
/freebsd-10.1-release/sys/cam/scsi/ |
H A D | scsi_all.c | 4219 char tmpstr[40]; local 4229 tmpstr[0] = '\0'; 4233 snprintf(tmpstr, sizeof(tmpstr), "bit %d ", 4238 scsi_2btoul(field->field), tmpstr); 4278 char tmpstr[40]; local 4283 tmpstr[0] = '\0'; 4286 snprintf(tmpstr, sizeof(tmpstr), "bit %d ", 4291 scsi_2btoul(segment->field), tmpstr); 5833 char *tmpstr, *endptr; local 5919 char *tmpstr; local 6180 char *tmpstr, *endptr; local 6348 char *tmpstr; local [all...] |
/freebsd-10.1-release/sys/geom/ |
H A D | geom_disk.c | 538 char tmpstr[80]; local 566 snprintf(tmpstr, sizeof(tmpstr), "GEOM disk %s", gp->name); 569 CTLFLAG_RD, 0, tmpstr); 571 snprintf(tmpstr, sizeof(tmpstr), 573 TUNABLE_STR_FETCH(tmpstr, sc->led, sizeof(sc->led));
|