| /src/external/gpl2/dtc/dist/tests/ |
| nop_property.c | 25 const char *strp; local 45 strp = check_getprop(fdt, 0, "prop-str", strlen(TEST_STRING_1)+1, 47 verbose_printf("string value was \"%s\"\n", strp); 52 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr); 53 if (strp)
|
| del_property.c | 25 const char *strp; local 50 strp = check_getprop(fdt, 0, "prop-str", strlen(TEST_STRING_1)+1, 52 verbose_printf("string value was \"%s\"\n", strp); 57 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr); 58 if (strp)
|
| setprop.c | 29 const char *strp; local 51 strp = check_getprop_string(fdt, 0, "prop-int", NEW_STRING); 52 verbose_printf("New value is \"%s\"\n", strp); 54 strp = check_getprop(fdt, 0, "prop-str", strlen(TEST_STRING_1)+1, 57 verbose_printf("Old string value was \"%s\"\n", strp);
|
| setprop_inplace.c | 27 const char *strp; local 45 strp = check_getprop(fdt, 0, "prop-str", strlen(TEST_STRING_1)+1, 59 strp = check_getprop(fdt, 0, "prop-str", strlen(TEST_STRING_1)+1, 62 verbose_printf("Old string value was \"%s\"\n", strp); 63 xstr = strdup(strp); 72 strp = check_getprop(fdt, 0, "prop-str", xlen+1, xstr); 73 verbose_printf("New string value is \"%s\"\n", strp);
|
| /src/usr.sbin/lockstat/ |
| elf32.c | 97 static char *strp; variable 155 if ((strp = malloc(strhdr.sh_size)) == NULL) 157 sz = pread(fd, strp, strhdr.sh_size, strhdr.sh_offset); 198 if (strcmp(&strp[symp[i].st_name], name) != 0) 219 strlcpy(name, &strp[symp[i].st_name], 223 &strp[symp[i].st_name], off);
|
| /src/usr.bin/banner/ |
| banner.c | 130 char *strp; local 136 strp = &outbuf[0]; 138 *strp++ = BackGnd; 147 *strp++ = BackGnd; 149 strp = scnline( 150 scnkey_def[(int)c][scnhgt-1-d], strp, cc); 152 strp = scnline( 153 scnkey_lpd[(int)c][scnhgt-1-d], strp, cc); 156 *strp++ = BackGnd; 159 *strp++ = BackGnd [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/base/ |
| string.c | 55 char **strp = _heim_get_isaextra(s, 1); local 56 dealloc(*strp); 64 char **strp = _heim_get_isaextra(a, 1); local 66 if (*strp != NULL) 67 a = *strp; /* a is a string ref */ 70 char **strp = _heim_get_isaextra(b, 1); local 72 if (*strp != NULL) 73 b = *strp; /* b is a string ref */ 131 const char **strp; local 136 strp = _heim_get_isaextra(s, 1) 217 const char **strp; local [all...] |
| /src/libexec/ld.elf_so/ |
| symbol.c | 180 const char *strp; local 184 strp = obj->strtab + symp->st_name; 185 rdbg(("check \"%s\" vs \"%s\" in %s", name, strp, obj->path)); 186 if (name[1] != strp[1] || strcmp(name, strp))
|
| /src/bin/pax/ |
| file_subs.c | 976 char **strp; local 1038 strp = &gnu_name_string; 1042 strp = &gnu_link_string; 1046 strp = NULL; 1050 if (strp) { 1051 char *nstr = *strp ? realloc(*strp, *lenp + wcnt + 1) : 1058 *strp = nstr;
|
| /src/usr.bin/showmount/ |
| showmount.c | 276 char *strp; local 287 strp = mp->ml_host; 288 if (!xdr_string(xdrsp, &strp, RPCMNT_NAMELEN)) { 292 strp = mp->ml_dirp; 293 if (!xdr_string(xdrsp, &strp, RPCMNT_PATHLEN)) { 381 char *strp; local 391 strp = ep->ex_dirp; 392 if (!xdr_string(xdrsp, &strp, RPCMNT_PATHLEN)) 402 strp = gp->gr_name; 403 if (!xdr_string(xdrsp, &strp, RPCMNT_NAMELEN) [all...] |
| /src/lib/libtelnet/ |
| encrypt.c | 760 unsigned char *strp; local 770 for (strp = &str_keyid[4]; keylen > 0; --keylen) { 771 if ((*strp++ = *keyid++) == IAC) 772 *strp++ = IAC; 774 *strp++ = IAC; 775 *strp++ = SE; 776 telnet_net_write(str_keyid, strp - str_keyid); 777 printsub('>', &str_keyid[2], strp - str_keyid - 2);
|
| /src/external/cddl/osnet/dist/common/ctf/ |
| ctf_open.c | 269 const ctf_sect_t *sp, const ctf_sect_t *strp) 296 if (gsp->st_name < strp->cts_size) 297 name = (const char *)strp->cts_data + gsp->st_name; 980 ctf_sect_t *ctp, *symp, *strp; local 1030 strp = &strsect; 1032 strp = NULL; 1035 fp = ctf_bufopen(ctp, symp, strp, &err);
|
| /src/external/gpl3/binutils/dist/opcodes/ |
| mep-asm.c | 74 parse_csrn (CGEN_CPU_DESC cd, const char **strp, 80 err = cgen_parse_keyword (cd, strp, keyword_table, field); 84 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value); 99 const char **strp, 103 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); 112 const char **strp, 116 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field); 121 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp, 126 err = cgen_parse_keyword (cd, strp, keyword_table, field); 135 parse_spreg (CGEN_CPU_DESC cd, const char ** strp, 790 const char **strp = 0; local [all...] |
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| mep-asm.c | 74 parse_csrn (CGEN_CPU_DESC cd, const char **strp, 80 err = cgen_parse_keyword (cd, strp, keyword_table, field); 84 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value); 99 const char **strp, 103 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); 112 const char **strp, 116 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field); 121 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp, 126 err = cgen_parse_keyword (cd, strp, keyword_table, field); 135 parse_spreg (CGEN_CPU_DESC cd, const char ** strp, 790 const char **strp = 0; local [all...] |
| /src/external/gpl3/gdb/dist/opcodes/ |
| mep-asm.c | 74 parse_csrn (CGEN_CPU_DESC cd, const char **strp, 80 err = cgen_parse_keyword (cd, strp, keyword_table, field); 84 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value); 99 const char **strp, 103 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); 112 const char **strp, 116 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field); 121 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp, 126 err = cgen_parse_keyword (cd, strp, keyword_table, field); 135 parse_spreg (CGEN_CPU_DESC cd, const char ** strp, 790 const char **strp = 0; local [all...] |
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| mep-asm.c | 74 parse_csrn (CGEN_CPU_DESC cd, const char **strp, 80 err = cgen_parse_keyword (cd, strp, keyword_table, field); 84 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value); 99 const char **strp, 103 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); 112 const char **strp, 116 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field); 121 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp, 126 err = cgen_parse_keyword (cd, strp, keyword_table, field); 135 parse_spreg (CGEN_CPU_DESC cd, const char ** strp, 790 const char **strp = 0; local [all...] |
| /src/sbin/routed/ |
| table.c | 1171 char str[100], *strp; local 1237 strp = &str[strlen(str)]; 1239 snprintf(strp, str + sizeof(str) - strp, 1241 strp += strlen(strp); 1264 snprintf(strp, str + sizeof(str) - strp, ": %s", 1266 strp += strlen(strp); [all...] |
| /src/usr.sbin/lpr/lpd/ |
| printjob.c | 1068 char *strp; local 1075 strp = &outbuf[0]; 1081 *strp++ = BACKGND; 1083 strp = scnline(scnkey[(int)c][scnhgt-1-d], 1084 strp, cc); 1088 *strp++ = BACKGND; 1089 *strp++ = BACKGND; 1091 while (*--strp == BACKGND && strp >= outbuf) 1093 strp++ [all...] |
| /src/external/cddl/osnet/dev/fbt/ |
| fbt.c | 937 const char *strp = ""; local 940 return(strp); 942 strp = (const char *)(mc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); 944 return (strp);
|
| /src/usr.sbin/mountd/ |
| mountd.c | 803 char *strp; local 809 strp = &mlp->ml_host[0]; 810 if (!xdr_string(xdrsp, &strp, RPCMNT_NAMELEN)) 812 strp = &mlp->ml_dirp[0]; 813 if (!xdr_string(xdrsp, &strp, RPCMNT_PATHLEN)) 867 char *strp; local 874 strp = dp->dp_dirp; 875 if (!xdr_string(xdrsp, &strp, RPCMNT_PATHLEN)) 889 strp = 891 if (!xdr_string(xdrsp, &strp, [all...] |
| /src/external/cddl/osnet/dist/common/nvpair/ |
| nvpair.c | 2637 uint64_t *strp = (void *) local 2644 bzero(strp, NVP_NELEM(nvp) * sizeof (uint64_t)); 2648 char **strp = (void *)NVP_VALUE(nvp); local 2649 char *buf = ((char *)strp + NVP_NELEM(nvp) * sizeof (uint64_t)); 2653 strp[i] = buf; 3078 char **strp = (void *)buf; local 3095 strp[i] = buf;
|
| /src/lib/libedit/ |
| readline.c | 1793 const char *strp; local 1801 if ((strp = strstr(ev.str, str)) != NULL) 1802 return (int)(strp - ev.str);
|
| /src/usr.bin/vmstat/ |
| vmstat.c | 2409 char *strp; local 2427 strp = (char *)(&hist->sh_events[hist->sh_numentries]); 2438 fmt = &strp[e->she_fmtoffset]; 2444 fn = &strp[e->she_funcoffset];
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_read_support_format_rar.c | 1373 char *strp; local 1654 strp = filename; 1655 while (memcmp(strp, "\x00\x00", 2)) 1657 if (!memcmp(strp, "\x00\\", 2)) 1658 *(strp + 1) = '/'; 1659 strp += 2; 1675 while ((strp = strchr(filename, '\\')) != NULL) 1676 *strp = '/'; 1683 while ((strp = strchr(filename, '\\')) != NULL) 1684 *strp = '/' [all...] |