| /freebsd/sys/dev/ice/ |
| H A D | ice_strings.c | 69 struct ice_str_buf buf = { .str = "" }; in _ice_aq_str() 70 const char *str = NULL; in _ice_aq_str() local 74 str = "OK"; in _ice_aq_str() 77 str = "AQ_RC_EPERM"; in _ice_aq_str() 80 str = "AQ_RC_ENOENT"; in _ice_aq_str() 83 str = "AQ_RC_ESRCH"; in _ice_aq_str() 86 str = "AQ_RC_EINTR"; in _ice_aq_str() 89 str = "AQ_RC_EIO"; in _ice_aq_str() 92 str = "AQ_RC_ENXIO"; in _ice_aq_str() 95 str in _ice_aq_str() 185 const char *str = NULL; _ice_status_str() local 301 const char *str = NULL; _ice_err_str() local 679 const char *str = NULL; _ice_fltr_flag_str() local 714 const char *str = NULL; _ice_log_sev_str() local 789 const char *str = NULL; _ice_mdd_tx_tclan_str() local 878 const char *str = NULL; _ice_mdd_tx_pqm_str() local 980 const char *str = NULL; _ice_mdd_rx_str() local 1151 const char *str = NULL; _ice_fw_lldp_status() local [all...] |
| /freebsd/contrib/ncurses/include/ |
| H A D | Caps-ncurses | 49 #memory_lock meml str ml - - ----K lock memory above cursor 50 #memory_unlock memu str mu - - ----K unlock memory 51 #plab_norm pln str pn - - ----- program label #1 to show string #2 52 #label_on smln str LO - - ----- turn on soft labels 53 #label_off rmln str LF - - ----- turn off soft labels 54 #key_f11 kf11 str F1 - - ----- F11 function key 55 #key_f12 kf12 str F2 - - ----- F12 function key 56 #key_f13 kf13 str F3 - - ----- F13 function key 57 #key_f14 kf14 str F4 - - ----- F14 function key 58 #key_f15 kf15 str F5 - - ----- F15 function key [all …]
|
| H A D | Caps.osf1r5 | 345 back_tab cbt str bt - - YBCGE back tab (P) 346 bell bel str bl - - YB-GE audible signal (bell) (P) 347 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 348 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 349 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 350 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 351 clr_eol el str ce - - YBCGE clear to end of line (P) 352 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 353 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 354 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| H A D | Caps.keys | 365 back_tab cbt str bt - - YBCGE back tab (P) 366 bell bel str bl - - YB-GE audible signal (bell) (P) 367 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 368 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 369 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 370 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 371 clr_eol el str ce - - YBCGE clear to end of line (P) 372 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 373 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 374 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| H A D | Caps.aix4 | 362 back_tab cbt str bt - - YBCGE back tab (P) 363 bell bel str bl - - YB-GE audible signal (bell) (P) 364 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 365 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 366 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 367 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 368 clr_eol el str ce - - YBCGE clear to end of line (P) 369 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 370 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 371 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| H A D | Caps.hpux11 | 364 back_tab cbt str bt - - YBCGE back tab (P) 365 bell bel str bl - - YB-GE audible signal (bell) (P) 366 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 367 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 368 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 369 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 370 clr_eol el str ce - - YBCGE clear to end of line (P) 371 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 372 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 373 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| H A D | Caps | 362 back_tab cbt str bt - - YBCGE back tab (P) 363 bell bel str bl - - YB-GE audible signal (bell) (P) 364 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 365 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 366 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 367 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 368 clr_eol el str ce - - YBCGE clear to end of line (P) 369 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 370 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 371 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| H A D | Caps.uwin | 323 back_tab cbt str bt - - YBCGE back tab (P) 324 bell bel str bl - - YB-GE audible signal (bell) (P) 325 carriage_return cr str cr - - YBCGE carriage return (P*) (P*) 326 change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P) 327 clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P) 328 clear_screen clear str cl - - YBCGE clear screen and home cursor (P*) 329 clr_eol el str ce - - YBCGE clear to end of line (P) 330 clr_eos ed str cd - - YBCGE clear to end of screen (P*) 331 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P) 332 command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !? [all …]
|
| /freebsd/contrib/atf/atf-c/detail/ |
| H A D | dynstr_test.c | 53 atf_dynstr_t str; in ATF_TC_BODY() local 55 RE(atf_dynstr_init(&str)); in ATF_TC_BODY() 56 ATF_REQUIRE_EQ(atf_dynstr_length(&str), 0); in ATF_TC_BODY() 57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); in ATF_TC_BODY() 58 atf_dynstr_fini(&str); in ATF_TC_BODY() 63 init_fmt(atf_dynstr_t *str, const char *fmt, ...) in init_fmt() argument 68 RE(atf_dynstr_init_ap(str, fmt, ap)); in init_fmt() 80 atf_dynstr_t str; in ATF_TC_BODY() local 82 init_fmt(&str, "String 1"); in ATF_TC_BODY() 83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0); in ATF_TC_BODY() [all …]
|
| /freebsd/contrib/bc/ |
| H A D | build.pkg.rig | 37 SAFE_INSTALL: str = path.join(src_dir, "scripts/safe-install.sh"); 40 EXEC_INSTALL_MODE: str = "-Dm755"; 44 MANPAGE_INSTALL_MODE: str = "-Dm644"; 47 OS: str = platform.os; 49 DESTDIR: str = str(config["destdir"]); 51 EXECPREFIX: str = str(config["execprefix"]); 52 EXECSUFFIX: str = str(config["execsuffix"]); 60 fn exe_name(name: str) -> str 62 temp: str = EXECPREFIX +~ name +~ EXECSUFFIX; 72 fn default_exe_name(name: str) -> str [all …]
|
| /freebsd/crypto/openssh/regress/unittests/misc/ |
| H A D | test_strdelim.c | 29 char *orig, *str, *cp; in test_strdelim() local 31 #define START_STRING(x) orig = str = xstrdup(x) in test_strdelim() 36 cp = strdelim(&str); in test_strdelim() 38 cp = strdelim(&str); in test_strdelim() 45 cp = strdelim(&str); in test_strdelim() 47 ASSERT_STRING_EQ(str, ""); in test_strdelim() 53 cp = strdelim(&str); in test_strdelim() 55 cp = strdelim(&str); in test_strdelim() 57 ASSERT_PTR_EQ(str, NULL); in test_strdelim() 63 cp = strdelim(&str); in test_strdelim() [all …]
|
| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | clnt_perror.c | 81 char *str = bufstart; in clnt_sperror() local 82 char *strstart = str; in clnt_sperror() 85 if (str == 0) in clnt_sperror() 87 strend = str + BUFSIZ; in clnt_sperror() 90 strncpy (str, s, BUFSIZ - 1); in clnt_sperror() 91 str[BUFSIZ - 1] = 0; in clnt_sperror() 92 strncat (str, ": ", BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror() 93 str += strlen(str); in clnt_sperror() 94 strncat (str, clnt_sperrno(e.re_status), BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror() 96 str += strlen(str); in clnt_sperror() [all …]
|
| /freebsd/crypto/openssl/crypto/buffer/ |
| H A D | buffer.c | 56 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc() argument 61 if (str->data != NULL) { in sec_alloc_realloc() 63 memcpy(ret, str->data, str->length); in sec_alloc_realloc() 64 OPENSSL_secure_clear_free(str->data, str->length); in sec_alloc_realloc() 65 str->data = NULL; in sec_alloc_realloc() 71 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow() argument 76 if (str->length >= len) { in BUF_MEM_grow() 77 str->length = len; in BUF_MEM_grow() 80 if (str->max >= len) { in BUF_MEM_grow() 81 if (str->data != NULL) in BUF_MEM_grow() [all …]
|
| /freebsd/contrib/ldns/ldns/ |
| H A D | str2host.h | 2 * str2host.h - conversion from str to the host fmt 67 * \param[in] str the string to be converted 74 * \param[in] str the string to be converted 77 ldns_status ldns_str2rdf_period(ldns_rdf **rd, const char *str); 80 * convert str with an A record into wireformat 82 * \param[in] str the string to be converted 85 ldns_status ldns_str2rdf_a(ldns_rdf **rd, const char *str); 88 * convert the str with an AAAA record into wireformat 90 * \param[in] str the string to be converted 93 ldns_status ldns_str2rdf_aaaa(ldns_rdf **rd, const char *str); [all …]
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_version_details.c | 89 archive_regex_version(struct archive_string* str) in archive_regex_version() argument 92 archive_strcat(str, " libpcre/"); in archive_regex_version() 93 archive_strcat(str, archive_libpcre_version()); in archive_regex_version() 95 archive_strcat(str, " libpcre2/"); in archive_regex_version() 96 archive_strcat(str, archive_libpcre2_version()); in archive_regex_version() 98 (void)str; /* UNUSED */ in archive_regex_version() 103 archive_xml_version(struct archive_string* str) in archive_xml_version() argument 106 archive_strcat(str, " libxml2/"); in archive_xml_version() 107 archive_strcat(str, archive_libxml2_version()); in archive_xml_version() 109 archive_strcat(str, " bsdxml/"); in archive_xml_version() [all …]
|
| /freebsd/lib/libefivar/ |
| H A D | efivar-dp-format.c | 76 @param Str Tracks the allocated pool, size in use, and 89 IN OUT POOL_PRINT *Str, in UefiDevicePathLibCatPrint() argument 101 if ((Str->Count + (Count + 1)) > Str->Capacity) { in UefiDevicePathLibCatPrint() 102 Str->Capacity = (Str->Count + (Count + 1) * 2); in UefiDevicePathLibCatPrint() 103 Str->Str = reallocf ( in UefiDevicePathLibCatPrint() 104 Str->Str, in UefiDevicePathLibCatPrint() 105 Str->Capacity in UefiDevicePathLibCatPrint() 107 ASSERT (Str->Str != NULL); in UefiDevicePathLibCatPrint() 111 vsnprintf (Str->Str + Str->Count, Str->Capacity - Str->Count, Fmt, Args); in UefiDevicePathLibCatPrint() 112 Str->Count += Count; in UefiDevicePathLibCatPrint() [all …]
|
| /freebsd/lib/libc/isc/ |
| H A D | ev_streams.c | 43 static int copyvec(evStream *str, const struct iovec *iov, int iocnt); 44 static void consume(evStream *str, size_t bytes); 45 static void done(evContext opaqueCtx, evStream *str); 131 evStream *str = id.opaque; in evTimeRW() local 135 str->timer = timer; in evTimeRW() 136 str->flags |= EV_STR_TIMEROK; in evTimeRW() 142 evStream *str = id.opaque; in evUntimeRW() local 146 str->flags &= ~EV_STR_TIMEROK; in evUntimeRW() 206 copyvec(evStream *str, const struct iovec *iov, int iocnt) { in copyvec() argument 209 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt); in copyvec() [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | configparser.c | 3162 OUTYY(("P(server_local_zone_tag:%s)\n", (yyvsp[0].str))); in yyparse() 3163 bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), in yyparse() 3165 free((yyvsp[0].str)); in yyparse() 3181 OUTYY(("P(rpz_action_override:%s)\n", (yyvsp[0].str))); in yyparse() 3182 if(strcmp((yyvsp[0].str), "nxdomain")!=0 && strcmp((yyvsp[0].str), "nodata")!=0 && in yyparse() 3183 strcmp((yyvsp[0].str), "passthru")!=0 && strcmp((yyvsp[0].str), "drop")!=0 && in yyparse() 3184 strcmp((yyvsp[0].str), "cname")!=0 && strcmp((yyvsp[0].str), "disabled")!=0) { in yyparse() 3187 free((yyvsp[0].str)); in yyparse() 3191 cfg_parser->cfg->auths->rpz_action_override = (yyvsp[0].str); in yyparse() 3200 OUTYY(("P(rpz_cname_override:%s)\n", (yyvsp[0].str))); in yyparse() [all …]
|
| /freebsd/stand/common/ |
| H A D | interp_backslash.c | 24 * backslash: Return malloc'd copy of str with all standard "backslash 28 backslash(const char *str) in backslash() argument 42 if ((new_str = strdup(str)) == NULL) in backslash() 45 while (*str) { in backslash() 48 switch (*str) { in backslash() 51 str++; in backslash() 59 new_str[i++] = *str++; in backslash() 64 str++; in backslash() 69 str++; in backslash() 74 str++; in backslash() [all …]
|
| /freebsd/usr.sbin/ctld/ |
| H A D | parse.y | 64 %token SIZE STR TAG TARGET TCP TIMEOUT TRANSPORT_GROUP 70 char *str; member 73 %token <str> STR 112 debug: DEBUG STR 127 timeout: TIMEOUT STR 142 maxproc: MAXPROC STR 157 pidfile: PIDFILE STR 168 isns_server: ISNS_SERVER STR 179 isns_period: ISNS_PERIOD STR 194 isns_timeout: ISNS_TIMEOUT STR [all …]
|
| /freebsd/lib/libc/posix1e/ |
| H A D | acl_from_text_nfs4.c | 47 * Parse the tag field of ACL entry passed as "str". If qualifier 52 parse_tag(const char *str, acl_entry_t entry, int *need_qualifier) in parse_tag() argument 58 if (strcmp(str, "owner@") == 0) in parse_tag() 60 if (strcmp(str, "group@") == 0) in parse_tag() 62 if (strcmp(str, "everyone@") == 0) in parse_tag() 67 if (strcmp(str, "user") == 0 || strcmp(str, "u") == 0) in parse_tag() 69 if (strcmp(str, "group") == 0 || strcmp(str, "g") == 0) in parse_tag() 78 * Parse the qualifier field of ACL entry passed as "str". 84 parse_qualifier(char *str, acl_entry_t entry, int *need_qualifier) in parse_qualifier() argument 93 qualifier_length = strlen(str); in parse_qualifier() [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.index.d | 32 string str; member 42 command[i].str = "foobarbaz"; 46 command[i].str = "foofoofoo"; 50 command[i].str = "boofoofoo"; 54 command[i].str = "foobarbaz"; 58 command[i].str = "foobar"; 62 command[i].str = "foobar"; 66 command[i].str = ""; 70 command[i].str = "foobar"; 74 command[i].str = ""; [all …]
|
| H A D | tst.strstr.d | 33 str = "foobarbarbazbarbop"; 36 c = str; 37 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 40 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 43 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 46 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 49 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 52 strstr(str, "baz"), strstr(str, "zba"), 53 strstr(strstr(str, "baz"), strstr(str, "zba"))); 56 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); [all …]
|
| /freebsd/contrib/bsnmp/tests/ |
| H A D | snmp_parse_server.cc | 15 try_parse(struct snmp_client *sc, const char *str) in try_parse() argument 17 const int r = snmp_parse_server(sc, str); in try_parse() 41 const auto str = "somehost"s; variable 42 REQUIRE(try_parse(&sc, str.c_str()) == 0); 44 REQUIRE(sc.chost == str); 50 const auto str = "some.host.domain"s; variable 51 REQUIRE(try_parse(&sc, str.c_str()) == 0); 53 REQUIRE(sc.chost == str); 59 const auto str = "some-mul.host-32.domain."s; variable 60 REQUIRE(try_parse(&sc, str.c_str()) == 0); [all …]
|
| /freebsd/contrib/unbound/sldns/ |
| H A D | wire2str.h | 94 * @param str: string buffer. Adjusted at end to after the output. 100 int sldns_str_vprint(char** str, size_t* slen, const char* format, va_list args); 104 * @param str: string buffer. Adjusted at end to after the output. 109 int sldns_str_print(char** str, size_t* slen, const char* format, ...) 118 * @param str: the string buffer for the output. 119 * If you pass NULL as the str the return value of the function is 127 int sldns_wire2str_pkt_buf(uint8_t* data, size_t data_len, char* str, 136 * @param str: the string buffer for the output. 141 * On error you get less output (i.e. shorter output in str (null terminated)) 142 * On exit the data, data_len, str and str_len values are adjusted to move them [all …]
|