Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/lib/libterminfo/
H A Dterm.h741 #define t_acs_chars(t) (t)->strs[TICODE_acsc]
742 #define t_alt_scancode_esc(t) (t)->strs[TICODE_scesa]
743 #define t_back_tab(t) (t)->strs[TICODE_cbt]
744 #define t_bell(t) (t)->strs[TICODE_bel]
745 #define t_bit_image_carriage_return(t) (t)->strs[TICODE_bicr]
746 #define t_bit_image_newline(t) (t)->strs[TICODE_binel]
747 #define t_bit_image_repeat(t) (t)->strs[TICODE_birep]
748 #define t_carriage_return(t) (t)->strs[TICODE_cr]
749 #define t_change_char_pitch(t) (t)->strs[TICODE_cpi]
750 #define t_change_line_pitch(t) (t)->strs[TICODE_lpi]
[all …]
H A Dterm.c100 if (allocset(&term->strs, 0, TISTRMAX+1, sizeof(*term->strs)) == -1) in _ti_readterm()
159 term->strs[ind] = cap; in _ti_readterm()
161 term->strs[ind] = ABSENT_STRING; in _ti_readterm()
163 term->strs[ind] = CANCELLED_STRING; in _ti_readterm()
H A Dcompile.c391 (sizeof(uint16_t) * 2) + tic->strs.bufpos + in _ti_flatten()
408 _ti_encode_buf(&cap, &tic->strs); in _ti_flatten()
679 _ti_find_cap(tic, &tic->strs, 's', ind) != NULL) in _ti_compile()
703 if (!_ti_encode_buf_id_count_str(&tic->strs, in _ti_compile()
769 if (_ti_find_cap(tic, &tic->strs, 's', ind) in _ti_compile()
773 &tic->strs, ind, 0, sizeof(uint16_t))) in _ti_compile()
808 free(tic->strs.buf); in _ti_freetic()
H A Dterm_private.h117 const char **strs; member
168 TBUF strs; member
H A Dgenman57 strcaps=$(gentab $TERMH $TERMC strs)
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dfixup_tdescs.c60 const char *strs[2] = { "as", "fdbuffer" }; in fix_ptrptr_to_struct() local
70 for (i = 0; i < (int) (sizeof (strs) / sizeof (strs[0])); i++) { in fix_ptrptr_to_struct()
71 if (!(str = lookupname(strs[i])) || str->t_type != STRUCT) in fix_ptrptr_to_struct()
107 strs[i], mems[i], acts[i]); in fix_ptrptr_to_struct()
114 const char *strs[2] = { "vmem", "id_space" }; in fix_ptr_to_struct() local
124 for (i = 0; i < (int) (sizeof (strs) / sizeof (strs[0])); i++) { in fix_ptr_to_struct()
125 if (!(str = lookupname(strs[i])) || str->t_type != STRUCT) in fix_ptr_to_struct()
140 strs[i], ml->ml_name); in fix_ptr_to_struct()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dutil.c75 va_list strs; in backsql_strcat_x() local
87 va_start( strs, memctx ); in backsql_strcat_x()
94 while ( ( cstr = va_arg( strs, char * ) ) != NULL ) { in backsql_strcat_x()
112 va_end( strs ); in backsql_strcat_x()
127 va_end( strs ); in backsql_strcat_x()
142 va_list strs; in backsql_strfcat_x() local
155 va_start( strs, fmt ); in backsql_strfcat_x()
172 cbv = va_arg( strs, struct berval * ); in backsql_strfcat_x()
179 cslen = va_arg( strs, ber_len_t ); in backsql_strfcat_x()
180 cstr = va_arg( strs, char * ); in backsql_strfcat_x()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dmisc.c86 char **strs = NULL; in _krb5_debug_backtrace() local
89 strs = backtrace_symbols(stack, frames); in _krb5_debug_backtrace()
90 if (strs) { in _krb5_debug_backtrace()
92 _krb5_debug(context, 10, "frame %d: %s", i, strs[i]); in _krb5_debug_backtrace()
93 free(strs); in _krb5_debug_backtrace()
/netbsd-src/lib/libcurses/
H A Dsetterm.c89 screen->term->strs[TICODE_clear] = NULL; in _cursesi_setterm()
90 screen->term->strs[TICODE_cud] = NULL; in _cursesi_setterm()
91 screen->term->strs[TICODE_cud1] = NULL; in _cursesi_setterm()
92 screen->term->strs[TICODE_cup] = NULL; in _cursesi_setterm()
93 screen->term->strs[TICODE_cuu] = NULL; in _cursesi_setterm()
94 screen->term->strs[TICODE_cuu1] = NULL; in _cursesi_setterm()
95 screen->term->strs[TICODE_vpa] = NULL; in _cursesi_setterm()
98 screen->term->strs[TICODE_home] = screen->term->strs[TICODE_cr]; in _cursesi_setterm()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dsyms.c925 bfd_byte *strs; member
1053 if (!bfd_malloc_and_get_section (abfd, info->strsec, &info->strs)) in _bfd_stab_section_find_nearest_line()
1058 info->strs[strsize - 1] = 0; in _bfd_stab_section_find_nearest_line()
1077 free (info->strs); in _bfd_stab_section_find_nearest_line()
1078 info->strs = NULL; in _bfd_stab_section_find_nearest_line()
1169 free (info->strs); in _bfd_stab_section_find_nearest_line()
1170 info->strs = NULL; in _bfd_stab_section_find_nearest_line()
1189 for (i = 0, stab = info->stabs, nul_str = str = info->strs; in _bfd_stab_section_find_nearest_line()
1197 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1234 if (file_name >= (char *) info->strs + strsize in _bfd_stab_section_find_nearest_line()
[all …]
/netbsd-src/usr.bin/infocmp/
H A Dinfocmp.c258 if (VALID_STRING(t->strs[i]) || in load_ents()
259 (aflag && t->strs[i] == CANCELLED_STRING)) in load_ents()
263 ents[n++].str = t->strs[i]; in load_ents()
484 if (t1->strs[i] != ABSENT_STRING || in show_missing()
485 t2->strs[i] != ABSENT_STRING) in show_missing()
565 if (terms[j]->strs[i] == ABSENT_STRING || in use_terms()
566 terms[j]->strs[i] == CANCELLED_STRING) in use_terms()
570 if (VALID_STRING(term->strs[i]) && in use_terms()
571 strcmp(term->strs[i], in use_terms()
572 terms[j]->strs[i]) == 0) in use_terms()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/arcmt-test/
H A Darcmt-test.cpp251 SmallVector<StringRef, 8> strs; in verifyTransformedFiles() local
252 inputBuf.get()->getBuffer().split(strs, "\n", /*MaxSplit=*/-1, in verifyTransformedFiles()
255 if (strs.empty()) { in verifyTransformedFiles()
259 if (strs.size() % 2 != 0) { in verifyTransformedFiles()
264 for (unsigned i = 0, e = strs.size(); i != e; i += 2) { in verifyTransformedFiles()
265 StringRef inputOrigFname = strs[i]; in verifyTransformedFiles()
266 StringRef inputResultFname = strs[i+1]; in verifyTransformedFiles()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dsyms.c911 bfd_byte *strs; member
1035 info->strs = (bfd_byte *) bfd_alloc (abfd, strsize); in _bfd_stab_section_find_nearest_line()
1036 if (info->stabs == NULL || info->strs == NULL) in _bfd_stab_section_find_nearest_line()
1041 || ! bfd_get_section_contents (abfd, info->strsec, info->strs, in _bfd_stab_section_find_nearest_line()
1047 info->strs[strsize - 1] = 0; in _bfd_stab_section_find_nearest_line()
1163 for (i = 0, stab = info->stabs, nul_str = str = info->strs; in _bfd_stab_section_find_nearest_line()
1171 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1208 if (file_name >= (char *) info->strs + strsize in _bfd_stab_section_find_nearest_line()
1220 if (file_name >= (char *) info->strs + strsize in _bfd_stab_section_find_nearest_line()
1232 if (file_name >= (char *) info->strs + strsize in _bfd_stab_section_find_nearest_line()
[all …]
/netbsd-src/external/bsd/unbound/dist/compat/
H A Dstrptime.c73 match_string(const char **buf, const char **strs) in match_string() argument
77 for (i = 0; strs[i] != NULL; i++) { in match_string()
78 int len = strlen(strs[i]); in match_string()
79 if (strncasecmp (*buf, strs[i], len) == 0) { in match_string()
/netbsd-src/external/bsd/nsd/dist/compat/
H A Dstrptime.c75 match_string(const char **buf, const char **strs) in match_string() argument
79 for (i = 0; strs[i] != NULL; i++) { in match_string()
80 int len = strlen(strs[i]); in match_string()
81 if (strncasecmp (*buf, strs[i], len) == 0) { in match_string()
/netbsd-src/usr.bin/tput/
H A Dtput.c151 char *strs[TPARM_MAX], *tmp; in process() local
167 strs[i] = *argv; in process()
182 (piss[i - 1] ? (long)strs[i - 1] : nums[i - 1]) : 0) in process()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrptime.c108 match_string (const char **buf, const char **strs) in match_string() argument
112 for (i = 0; strs[i] != NULL; ++i) { in match_string()
113 int len = strlen (strs[i]); in match_string()
115 if (strncasecmp (*buf, strs[i], len) == 0) { in match_string()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dpassword_quality.c384 char **strs; in kadm5_add_passwd_quality_verifier() local
387 strs = krb5_config_get_strings(context, NULL, in kadm5_add_passwd_quality_verifier()
391 if (strs == NULL) in kadm5_add_passwd_quality_verifier()
394 for (tmp = strs; *tmp; tmp++) { in kadm5_add_passwd_quality_verifier()
399 krb5_config_free_strings(strs); in kadm5_add_passwd_quality_verifier()
/netbsd-src/usr.bin/tic/
H A Dtic.c284 cap = utic->strs.buf; in merge()
285 for (n = utic->strs.entries; n > 0; n--) { in merge()
289 _ti_find_cap(rtic, &rtic->strs, 's', ind) == NULL) in merge()
291 if (!_ti_encode_buf_id_count_str(&rtic->strs, ind, cap, in merge()
382 if (dup_tbuf(&tic->strs, &rtic->strs) == -1) in promote()
400 free(tic->strs.buf); in promote()
/netbsd-src/external/cddl/osnet/dist/lib/libctf/common/
H A Dctf_lib.c290 char *strs; in ctf_fdopen() local
380 strs = (char *)strs_map + in ctf_fdopen()
404 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) { in ctf_fdopen()
405 ctfsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
413 symsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
420 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DCompCom.cc94 strs = (char *) ((char *) params + hdr_paramcount * sizeof (int32_t)); in compcom_open()
186 char *fname = strs + elf->decode (ind[i]); in compcom_format()
254 char *fname = strs + elf->decode (ind[i]); in compcom_format()
280 char *fname = strs + elf->decode (ind[i]); in compcom_format()
H A DCompCom.h47 char *strs; /* the strings used in the messages */ variable
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DCompCom.cc94 strs = (char *) ((char *) params + hdr_paramcount * sizeof (int32_t)); in compcom_open()
186 char *fname = strs + elf->decode (ind[i]); in compcom_format()
254 char *fname = strs + elf->decode (ind[i]); in compcom_format()
280 char *fname = strs + elf->decode (ind[i]); in compcom_format()
H A DCompCom.h47 char *strs; /* the strings used in the messages */ variable
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/
H A Dglue.c60 findtype(strarg_t *strs, const char *s) in findtype() argument
64 for (sp = strs ; sp->s && strcasecmp(sp->s, s) != 0 ; sp++) { in findtype()

12