/freebsd-10-stable/contrib/binutils/opcodes/ |
H A D | cgen-asm.in | 197 const char *str = *strp; 211 while (*p && TOLOWER (*p) == TOLOWER (*str)) 212 ++p, ++str; 218 if (* str && ! ISSPACE (* str)) 228 /* We don't check for (*str != '\0') here because we want to parse 247 if (TOLOWER (*str) == TOLOWER (CGEN_SYNTAX_CHAR (* syn))) 254 ++ str; 256 else if (*str) 263 CGEN_SYNTAX_CHAR(*syn), *str); [all...] |
/freebsd-10-stable/contrib/gcc/ |
H A D | scan.c | 29 make_sstring_space (sstring *str, int count) argument 31 int cur_pos = str->ptr - str->base; 32 int cur_size = str->limit - str->base; 38 str->base = xrealloc (str->base, new_size); 39 str->ptr = str->base + cur_size; 40 str 145 read_upto(FILE *fp, sstring *str, int delim) argument 230 hashstr(const char *str, unsigned int len) argument [all...] |
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 103 return str().equals(RHS); 108 return str().equals_lower(RHS); 114 return str().compare(RHS); 119 return str().compare_lower(RHS); 125 return str().compare_numeric(RHS); 134 return str().startswith(Prefix); 139 return str().endswith(Suffix); 151 return str().find(C, From); 159 return str().find(Str, From); 167 return str() 270 StringRef str() const { return StringRef(this->begin(), this->size()); } function in class:llvm::SmallString [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | rkpty.c | 67 char *str; member in struct:command 162 char *str; local 183 if ((str = iscmd(s, "expect ")) != NULL) { 185 c->str = str; 186 } else if ((str = iscmd(s, "send ")) != NULL) { 188 c->str = str; 189 } else if ((str = iscmd(s, "password ")) != NULL) { 191 c->str [all...] |
/freebsd-10-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_slkset.c | 57 const char *str = astr; local 60 T((T_CALLED("slk_set(%d, \"%s\", %d)"), i, str, format)); 69 if (str == NULL) 70 str = ""; 74 while (isspace(UChar(*str))) 75 str++; /* skip over leading spaces */ 76 p = str; 97 numchrs = (p - str); 102 numcols = (p - str); 109 if ((slk->ent[i].ent_text = strdup(str)) [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/win32/ |
H A D | syslog.c | 75 isc_syslog_facilityfromstring(const char *str, int *facilityp) { argument 78 REQUIRE(str != NULL); 82 if (strcasecmp(facilities[i].strval, str) == 0) { 97 char *str[1]; local 99 str[0] = buf; 112 BIND_INFO_MSG, NULL, 1, 0, str, NULL); 116 BIND_WARN_MSG, NULL, 1, 0, str, NULL); 120 BIND_ERR_MSG, NULL, 1, 0, str, NULL); 169 NTReportError(const char *name, const char *str) { argument 173 buf[0] = str; [all...] |
/freebsd-10-stable/contrib/unbound/sldns/ |
H A D | str2wire.c | 40 static int sldns_str2wire_dname_buf_rel(const char* str, uint8_t* buf, argument 49 len = strlen((char*)str); 59 if (1 == len && *str == '.') { 80 for (s = str; *s; s++, q++) { 139 int sldns_str2wire_dname_buf(const char* str, uint8_t* buf, size_t* len) argument 141 return sldns_str2wire_dname_buf_rel(str, buf, len, NULL); 144 int sldns_str2wire_dname_buf_origin(const char* str, uint8_t* buf, size_t* len, argument 149 int s = sldns_str2wire_dname_buf_rel(str, buf, &dlen, &rel); 166 uint8_t* sldns_str2wire_dname(const char* str, size_t* len) argument 170 if(sldns_str2wire_dname_buf(str, dnam 716 sldns_str2wire_rr_buf_internal(const char* str, uint8_t* rr, size_t* len, size_t* dname_len, uint32_t default_ttl, uint8_t* origin, size_t origin_len, uint8_t* prev, size_t prev_len, int question) argument 765 sldns_str2wire_rr_buf(const char* str, uint8_t* rr, size_t* len, size_t* dname_len, uint32_t default_ttl, uint8_t* origin, size_t origin_len, uint8_t* prev, size_t prev_len) argument 773 sldns_str2wire_rr_question_buf(const char* str, uint8_t* rr, size_t* len, size_t* dname_len, uint8_t* origin, size_t origin_len, uint8_t* prev, size_t prev_len) argument 903 sldns_str2wire_rdf_buf(const char* str, uint8_t* rd, size_t* len, sldns_rdf_type rdftype) argument 981 sldns_str2wire_int8_buf(const char* str, uint8_t* rd, size_t* len) argument 994 sldns_str2wire_int16_buf(const char* str, uint8_t* rd, size_t* len) argument 1007 sldns_str2wire_int32_buf(const char* str, uint8_t* rd, size_t* len) argument 1027 sldns_str2wire_a_buf(const char* str, uint8_t* rd, size_t* len) argument 1039 sldns_str2wire_aaaa_buf(const char* str, uint8_t* rd, size_t* len) argument 1055 sldns_str2wire_str_buf(const char* str, uint8_t* rd, size_t* len) argument 1080 sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len) argument 1167 sldns_str2wire_b64_buf(const char* str, uint8_t* rd, size_t* len) argument 1180 sldns_str2wire_b32_ext_buf(const char* str, uint8_t* rd, size_t* len) argument 1195 sldns_str2wire_hex_buf(const char* str, uint8_t* rd, size_t* len) argument 1220 sldns_str2wire_nsec_buf(const char* str, uint8_t* rd, size_t* len) argument 1283 sldns_str2wire_type_buf(const char* str, uint8_t* rd, size_t* len) argument 1295 sldns_str2wire_class_buf(const char* str, uint8_t* rd, size_t* len) argument 1309 sldns_str2wire_cert_alg_buf(const char* str, uint8_t* rd, size_t* len) argument 1329 sldns_str2wire_alg_buf(const char* str, uint8_t* rd, size_t* len) argument 1344 sldns_str2wire_time_buf(const char* str, uint8_t* rd, size_t* len) argument 1386 sldns_str2wire_period_buf(const char* str, uint8_t* rd, size_t* len) argument 1434 sldns_str2wire_loc_buf(const char* str, uint8_t* rd, size_t* len) argument 1614 sldns_str2wire_wks_buf(const char* str, uint8_t* rd, size_t* len) argument 1692 sldns_str2wire_nsap_buf(const char* str, uint8_t* rd, size_t* len) argument 1726 sldns_str2wire_atma_buf(const char* str, uint8_t* rd, size_t* len) argument 1757 sldns_str2wire_ipseckey_buf(const char* str, uint8_t* rd, size_t* len) argument 1830 sldns_str2wire_nsec3_salt_buf(const char* str, uint8_t* rd, size_t* len) argument 1856 sldns_str2wire_ilnp64_buf(const char* str, uint8_t* rd, size_t* len) argument 1878 sldns_str2wire_eui48_buf(const char* str, uint8_t* rd, size_t* len) argument 1899 sldns_str2wire_eui64_buf(const char* str, uint8_t* rd, size_t* len) argument 1922 sldns_str2wire_tag_buf(const char* str, uint8_t* rd, size_t* len) argument 1941 sldns_str2wire_long_str_buf(const char* str, uint8_t* rd, size_t* len) argument 1959 sldns_str2wire_hip_buf(const char* str, uint8_t* rd, size_t* len) argument 2009 sldns_str2wire_int16_data_buf(const char* str, uint8_t* rd, size_t* len) argument [all...] |
/freebsd-10-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 103 static int str2role(const char *str); 104 static int str2replication(const char *str); 105 static int str2status(const char *str); 165 str2role(const char *str) argument 168 if (strcmp(str, "init") == 0) 170 if (strcmp(str, "primary") == 0) 172 if (strcmp(str, "secondary") == 0) 178 str2replication(const char *str) argument 181 if (strcmp(str, "fullsync") == 0) 183 if (strcmp(str, "memsyn 191 str2status(const char *str) argument 277 const char *str; local [all...] |
/freebsd-10-stable/contrib/amd/amd/ |
H A D | ops_udf.c | 144 char *str; local 170 str = NULL; 201 if ((str = hasmntstr(&mnt, MNTTAB_OPT_USER)) != NULL) { 202 udf_args.anon_uid = a_uid(str, MNTTAB_OPT_USER); 203 XFREE(str); 209 if ((str = hasmntstr(&mnt, MNTTAB_OPT_GROUP)) != NULL) { 210 udf_args.anon_gid = a_gid(str, MNTTAB_OPT_GROUP); 211 XFREE(str); 217 if ((str = hasmntstr(&mnt, MNTTAB_OPT_GMTOFF)) != NULL) { 218 udf_args.gmtoff = a_num(str, MNTTAB_OPT_GMTOF [all...] |
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_append_filter.c | 41 char str[20]; local 57 strcpy(str, "gzip"); 61 strcpy(str, "bzip2"); 65 strcpy(str, "compress (.Z)"); 73 strcpy(str, "lzma"); 77 strcpy(str, "xz"); 81 strcpy(str, "uu"); 85 strcpy(str, "rpm"); 89 strcpy(str, "lz4"); 93 strcpy(str, "zst [all...] |
/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | printdstlistnode.c | 21 const char *str; local 48 str = inet_ntop(AF_INET6, &np->ipfd_dest.fd_ip6, 50 if (str != NULL) 51 PRINTF("%s", str); 59 str = inet_ntop(np->ipfd_dest.fd_addr.adf_family, 61 if (str != NULL) { 62 PRINTF("\tAddress: %s\n", str);
|
/freebsd-10-stable/contrib/llvm/lib/Support/Windows/ |
H A D | system_error.inc | 43 std::string str( static_cast<LPCSTR>(lpMsgBuf) ); 46 while (str.size() 47 && (str[str.size()-1] == '\n' || str[str.size()-1] == '\r')) 48 str.erase( str.size()-1 ); 49 if (str.size() && str[st [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | StringList.h | 26 StringList (const char *str); 40 AppendString (const char *str); 43 AppendString (const char *str, size_t str_len); 98 InsertStringAtIndex (size_t idx, const std::string &str); 101 InsertStringAtIndex (size_t idx, std::string &&str); 104 InsertStringAtIndex (size_t id, const char *str); 123 operator << (const char* str);
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | OptionGroupVariable.cpp | 42 ValidateNamedSummary (const char* str, void*) argument 44 if (!str || !str[0]) 47 if (DataVisualization::NamedSummaryFormats::GetSummaryFormat(ConstString(str), summary_sp) == false) 53 ValidateSummaryString (const char* str, void*) argument 55 if (!str || !str[0])
|
/freebsd-10-stable/contrib/wpa/src/utils/ |
H A D | common.c | 314 * @str: Pointer to string to convert 320 void wpa_unicode2ascii_inplace(TCHAR *str) argument 323 char *dst = (char *) str; 324 while (*str) 325 *dst++ = (char) *str++; 331 TCHAR * wpa_strdup_tchar(const char *str) argument 335 buf = os_malloc((strlen(str) + 1) * sizeof(TCHAR)); 338 wsprintf(buf, L"%S", str); 341 return os_strdup(str); 396 size_t printf_decode(u8 *buf, size_t maxlen, const char *str) argument 514 char *str; local 528 char *tstr, *str; local 552 u8 *str; local [all...] |
/freebsd-10-stable/contrib/ntp/sntp/unity/auto/ |
H A D | colour_prompt.rb | 78 def out_c(mode, colour, str) 82 $stdout.puts str if mode == :puts 83 $stdout.print str if mode == :print 86 $stdout.puts("#{change_to(colour)}#{str}\033[0m") if mode == :puts 87 $stdout.print("#{change_to(colour)}#{str}\033[0m") if mode == :print 92 def colour_puts(role,str) ColourCommandLine.new.out_c(:puts, role, str) end 93 def colour_print(role,str) ColourCommandLine.new.out_c(:print, role, str) end
|
/freebsd-10-stable/contrib/openbsm/libbsm/ |
H A D | bsm_control.c | 102 getstrfromtype_locked(const char *name, char **str) argument 108 *str = NULL; 135 *str = strtok_r(NULL, delim, &last); 136 if (*str == NULL) { 406 char *str; local 413 if (getstrfromtype_locked(DIST_CONTROL_ENTRY, &str) < 0) { 419 if (str == NULL) { 425 if (strcasecmp(str, "on") == 0 || strcasecmp(str, "yes") == 0) 472 char *str; local 540 char *str; local 627 char *str; local [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/ |
H A D | StringList.cpp | 24 StringList::StringList (const char *str) : argument 27 if (str) 28 m_strings.push_back (str); 46 StringList::AppendString (const char *str) argument 48 if (str) 49 m_strings.push_back (str); 65 StringList::AppendString (const char *str, size_t str_len) argument 67 if (str) 68 m_strings.push_back (std::string (str, str_len)); 186 StringList::InsertStringAtIndex (size_t idx, const char *str) argument 198 InsertStringAtIndex(size_t idx, const std::string &str) argument 207 InsertStringAtIndex(size_t idx, std::string &&str) argument 295 operator <<(const char* str) argument [all...] |
/freebsd-10-stable/contrib/nvi/common/ |
H A D | options_f.c | 38 char *str, 53 char *str, 87 char *str, 144 char *str, 158 char *str, 161 (void)msg_open(sp, str); 172 char *str, 183 } else if (o_set(sp, offset, OS_STRDUP, str, 0)) 201 char *str, 222 char *str, 35 f_altwerase( SCR *sp, OPTION *op, char *str, u_long *valp) argument 50 f_columns( SCR *sp, OPTION *op, char *str, u_long *valp) argument 84 f_lines( SCR *sp, OPTION *op, char *str, u_long *valp) argument 141 f_lisp( SCR *sp, OPTION *op, char *str, u_long *valp) argument 155 f_msgcat( SCR *sp, OPTION *op, char *str, u_long *valp) argument 169 f_print( SCR *sp, OPTION *op, char *str, u_long *valp) argument 198 f_readonly( SCR *sp, OPTION *op, char *str, u_long *valp) argument 219 f_recompile( SCR *sp, OPTION *op, char *str, u_long *valp) argument 240 f_reformat( SCR *sp, OPTION *op, char *str, u_long *valp) argument 254 f_ttywerase( SCR *sp, OPTION *op, char *str, u_long *valp) argument 269 f_w300( SCR *sp, OPTION *op, char *str, u_long *valp) argument 290 f_w1200( SCR *sp, OPTION *op, char *str, u_long *valp) argument 311 f_w9600( SCR *sp, OPTION *op, char *str, u_long *valp) argument 332 f_window( SCR *sp, OPTION *op, char *str, u_long *valp) argument 348 f_encoding( SCR *sp, OPTION *op, char *str, u_long *valp) argument [all...] |
/freebsd-10-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 57 static int bt_hex_byte (char const *str); 274 bt_ntoa(bdaddr_t const *ba, char *str) argument 278 if (str == NULL) 279 str = buffer; 281 sprintf(str, "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x", 284 return (str); 288 bt_aton(char const *str, bdaddr_t *ba) argument 295 for (i = 5, end = strchr(str, ':'); 296 i > 0 && *str != '\0' && end != NULL; 297 i --, str 344 bt_hex_byte(char const *str) argument [all...] |
/freebsd-10-stable/sys/dev/esp/ |
H A D | ncr53c9xvar.h | 224 #define NCR_ECBS(str) \ 227 printf str; \ 229 #define NCR_MISC(str) \ 232 printf str; \ 234 #define NCR_INTS(str) \ 237 printf str; \ 239 #define NCR_TRACE(str) \ 242 printf str; \ 244 #define NCR_CMDS(str) \ 247 printf str; \ [all...] |
/freebsd-10-stable/crypto/openssl/crypto/ |
H A D | mem.c | 86 static void *default_realloc_ex(void *str, size_t num, argument 89 return realloc_func(str, num); 316 void CRYPTO_free_locked(void *str) argument 319 free_debug_func(str, 0); 321 fprintf(stderr, "LEVITTE_DEBUG_MEM: < 0x%p\n", str); 323 free_locked_func(str); 364 char *CRYPTO_strdup(const char *str, const char *file, int line) argument 366 char *ret = CRYPTO_malloc(strlen(str) + 1, file, line); 371 strcpy(ret, str); 375 void *CRYPTO_realloc(void *str, in argument 398 CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, int line) argument 435 CRYPTO_free(void *str) argument [all...] |
/freebsd-10-stable/contrib/atf/atf-c++/ |
H A D | tests_test.cpp | 50 print_indented(const std::string& str) argument 52 std::vector< std::string > ws = atf::text::split(str, "\n"); 64 check_equal(const atf::tests::tc& tc, const std::string& str, argument 67 if (str != exp) { 71 print_indented(str); 89 expss.str(""); \ 90 ss.str("") 93 check_equal(*this, ss.str(), expss.str())
|
/freebsd-10-stable/contrib/libc++/src/ |
H A D | string.cpp | 64 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument 67 const typename S::value_type* const p = str.c_str(); 181 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument 184 const typename S::value_type* const p = str.c_str(); 253 stoi(const string& str, size_t* idx, int base) argument 255 return as_integer<int>( "stoi", str, idx, base ); 259 stoi(const wstring& str, size_t* idx, int base) argument 261 return as_integer<int>( "stoi", str, idx, base ); 265 stol(const string& str, size_t* idx, int base) argument 267 return as_integer<long>( "stol", str, id 271 stol(const wstring& str, size_t* idx, int base) argument 277 stoul(const string& str, size_t* idx, int base) argument 283 stoul(const wstring& str, size_t* idx, int base) argument 289 stoll(const string& str, size_t* idx, int base) argument 295 stoll(const wstring& str, size_t* idx, int base) argument 301 stoull(const string& str, size_t* idx, int base) argument 307 stoull(const wstring& str, size_t* idx, int base) argument 313 stof(const string& str, size_t* idx) argument 319 stof(const wstring& str, size_t* idx) argument 325 stod(const string& str, size_t* idx) argument 331 stod(const wstring& str, size_t* idx) argument 337 stold(const string& str, size_t* idx) argument 343 stold(const wstring& str, size_t* idx) argument [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/ |
H A D | print.c | 38 isc_print_sprintf(char *str, const char *format, ...) { argument 42 vsprintf(str, format, ap); 44 return (strlen(str)); 52 isc_print_snprintf(char *str, size_t size, const char *format, ...) { argument 57 ret = vsnprintf(str, size, format, ap); 68 isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument 86 char *save = str; 99 INSIST(str != NULL); 105 *str++ = *format; 179 *str [all...] |