Home
last modified time | relevance | path

Searched refs:tstr (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/tcsh/
H A Ded.screen.c48 #define GoodStr(a) (tstr[a].str != NULL && tstr[a].str[0] != '\0')
49 #define Str(a) tstr[a].str
168 } tstr[T_str + 1]; variable
191 xfree((ptr_t)(intptr_t)tstr[i].long_name); in terminit()
197 tstr[T_al].name = "al"; in terminit()
198 tstr[T_al].long_name = CSAVS(4, 1, "add new blank line"); in terminit()
200 tstr[T_bl].name = "bl"; in terminit()
201 tstr[T_bl].long_name = CSAVS(4, 2, "audible bell"); in terminit()
203 tstr[T_cd].name = "cd"; in terminit()
204 tstr[T_cd].long_name = CSAVS(4, 3, "clear to bottom"); in terminit()
[all …]
H A Ded.xmap.c478 CStr tstr; in Lookup() local
479 tstr.buf = str->buf + 1; in Lookup()
480 tstr.len = str->len - 1; in Lookup()
481 return (Lookup(buf, &tstr, ptr->next)); in Lookup()
/freebsd/usr.bin/man/
H A Dman.sh312 local IFS line tstr
326 decho "$manpage includes $tstr"
328 if ! check_man "$1/$tstr" ""; then
329 decho " Unable to find $tstr"
785 local file line tstr var
796 add_to_manpath "$tstr"
800 manlocales="$manlocales:$tstr"
804 config_local="$tstr"
808 mansect="$mansect:$tstr"
813 eval "$var=\"$tstr\""
[all …]
/freebsd/usr.sbin/trim/
H A Dtrim.c154 char *tstr; in opendev() local
158 if (asprintf(&tstr, "%s%s", _PATH_DEV, path) < 0) in opendev()
160 fd = open(tstr, flags); in opendev()
161 free(tstr); in opendev()
/freebsd/contrib/unbound/smallapp/
H A Dunbound-host.c267 pretty_rdata(char* q, char* cstr, char* tstr, int t, const char* sec, in pretty_rdata() argument
281 else printf(" has %s record", tstr); in pretty_rdata()
294 char tstr[16]; in pretty_output() local
297 pretty_type(tstr, 16, t); in pretty_output()
346 } else printf(" has no %s record", tstr); in pretty_output()
359 cstr, tstr, t, secstatus, result->data[i], in pretty_output()
/freebsd/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c56 static char tstr[] = " [|bootp]"; in bootp_print() local
147 fputs(tstr + 1, stdout); in bootp_print()
155 fputs(tstr + 1, stdout); in bootp_print()
179 fputs(tstr, stdout); in bootp_print()
/freebsd/contrib/less/
H A Dlesskey_parse.c188 static char * tstr(char **pp, int xlate) in tstr() function
486 s = tstr(&p, 1); in parse_cmdline()
531 add_cmd_str(tstr(&p, 0), tables); in parse_cmdline()
560 s = tstr(&p, 0); in parse_varline()
578 s = tstr(&p, 0); in parse_varline()
/freebsd/usr.bin/systat/
H A Ddevs.c215 char *tstr[100]; in dsmatchselect() local
230 for (tempstr = tstr, num_args = 0; in dsmatchselect()
234 if (++tempstr >= &tstr[100]) in dsmatchselect()
254 if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { in dsmatchselect()
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_vfsops.c107 char *tstr; member
151 if (strncmp(rtypes[i].tstr, typestr, in dtfs_domount()
152 strlen(rtypes[i].tstr)) == 0) { in dtfs_domount()
/freebsd/usr.sbin/diskinfo/
H A Ddiskinfo.c86 char tstr[BUFSIZ], ident[DISK_IDENT_SIZE], physpath[MAXPATHLEN]; in main() local
152 snprintf(tstr, sizeof(tstr), "%s%s", _PATH_DEV, argv[i]); in main()
153 fd = open(tstr, O_RDONLY); in main()
239 humanize_number(tstr, 5, (int64_t)mediasize, "", in main()
244 (intmax_t)mediasize, tstr); in main()
/freebsd/sbin/camcontrol/
H A Dcamcontrol.c292 static int parse_btl(char *tstr, path_id_t *bus, target_id_t *target,
3495 parse_btl_name(char *tstr, path_id_t *bus, target_id_t *target, lun_id_t *lun, in atasecurity()
3503 if (cam_get_device(tstr, ccb.cgdl.periph_name,
3559 parse_btl(char *tstr, path_id_t *bus, target_id_t *target, lun_id_t *lun,
3569 while (isspace(*tstr) && (*tstr != '\0')) in parse_btl() argument
3570 tstr++; in parse_btl()
3572 if (strncasecmp(tstr, "all", strlen("all")) == 0) { in parse_btl()
3577 if (!isdigit(*tstr)) in parse_btl()
3578 return (parse_btl_name(tstr, bu in parse_btl()
3505 parse_btl_name(char * tstr,path_id_t * bus,target_id_t * target,lun_id_t * lun,cam_argmask * arglst) parse_btl_name() argument
3627 char *tstr; dorescan_or_reset() local
4708 char *datastr = NULL, *tstr, *resstr = NULL; scsicmd() local
5054 char *tstr; camdebug() local
10356 char *tstr; main() local
[all...]
/freebsd/contrib/wpa/src/utils/
H A Dcommon.c658 char *tstr, *str; in wpa_config_parse_string() local
665 tstr = dup_binstr(value, tlen); in wpa_config_parse_string()
666 if (tstr == NULL) in wpa_config_parse_string()
671 os_free(tstr); in wpa_config_parse_string()
675 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string()
676 os_free(tstr); in wpa_config_parse_string()
/freebsd/contrib/libedit/
H A Dterminal.c104 } tstr[] = { variable
341 char **tmp, **str = &tlist[t - tstr]; in terminal_alloc()
878 for (t = tstr; t->name != NULL; t++) in terminal_set()
893 for (t = tstr; t->name != NULL; t++) { in terminal_set()
1289 for (t = tstr, ts = el->el_terminal.t_str; t->name != NULL; t++, ts++) { in terminal_telltc()
1329 for (ts = tstr; ts->name != NULL; ts++) in terminal_settc()
1414 for (ts = tstr; ts->name != NULL; ts++) in terminal_gettc()
1419 *(char **)how = el->el_terminal.t_str[ts - tstr]; in terminal_gettc()
1516 for (t = tstr; t->name != NULL; t++) in terminal_echotc()
1519 scap = el->el_terminal.t_str[t - tstr]; in terminal_echotc()
/freebsd/lib/libdevstat/
H A Ddevstat.c1036 char *tstr[5]; in devstat_buildmatch() local
1051 for (tempstr = tstr, num_args = 0; in devstat_buildmatch()
1055 if (++tempstr >= &tstr[5]) in devstat_buildmatch()
1091 tempstr2 = tstr[i]; in devstat_buildmatch()
1156 tstr[i]); in devstat_buildmatch()
/freebsd/crypto/heimdal/lib/hx509/
H A Dca.c956 char *tstr; in build_proxy_prefix() local
968 asprintf(&tstr, "ts-%lu", (unsigned long)t); in build_proxy_prefix()
969 if (tstr == NULL) { in build_proxy_prefix()
975 ret = _hx509_name_modify(context, subject, 1, &asn1_oid_id_at_commonName, tstr); in build_proxy_prefix()
976 free(tstr); in build_proxy_prefix()
/freebsd/sbin/ipf/ipscan/
H A Dipscan_y.y336 addtag(char *tstr, char **cp, char **sp, struct action *act) in addtag() argument
342 strncpy(isc.ipsc_tag, tstr, sizeof(isc.ipsc_tag)); in addtag()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c438 static int parse_btl(char *tstr, int *bus, int *target, int *lun);
509 parse_btl(char *tstr, int *bus, int *target, int *lun) in parse_btl() argument
514 while (isspace(*tstr) && (*tstr != '\0')) in parse_btl()
515 tstr++; in parse_btl()
517 tmpstr = (char *)strtok(tstr, ":"); in parse_btl()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_xar.c237 struct archive_string tstr; member
357 archive_string_init(&(xar->tstr)); in archive_write_set_format_xar()
1916 archive_string_free(&(xar->tstr)); in xar_free()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c9318 const char *vlarb_str, *tstr; in check_qos_swe_config() local
9334 tstr = "qos_swe"; in check_qos_swe_config()
9337 tstr = "qos"; in check_qos_swe_config()
9343 check_vlarb_config(vlarb_str, is_default, tstr, "high", log); in check_qos_swe_config()
9347 tstr = "qos_swe"; in check_qos_swe_config()
9350 tstr = "qos"; in check_qos_swe_config()
9356 check_vlarb_config(vlarb_str, is_default, tstr, "low", log); in check_qos_swe_config()