| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | ConstString.cpp | 81 if (cstr != nullptr) in GetConstCString() 82 return GetConstCStringWithLength(cstr, strlen(cstr)); in GetConstCString() 87 if (cstr != nullptr) in GetConstCStringWithLength() 146 if (cstr != nullptr) { in GetConstTrimmedCStringWithLength() 226 const char *cstr = str.GetCString(); in operator <<() local 227 if (cstr != nullptr) in operator <<() 228 s << cstr; in operator <<() 281 if (cstr != nullptr) in Dump() 282 s->PutCString(cstr); in Dump() 287 const char *cstr = GetCString(); in DumpDebug() local [all …]
|
| H A D | StringExtractor.cpp | 124 const char *cstr = start + m_index; in GetU32() local 127 if (end && end != cstr) { in GetU32() 139 const char *cstr = start + m_index; in GetS32() local 140 int32_t result = static_cast<int32_t>(::strtol(cstr, &end, base)); in GetS32() 142 if (end && end != cstr) { in GetS32() 154 const char *cstr = start + m_index; in GetU64() local 155 uint64_t result = ::strtoull(cstr, &end, base); in GetU64() 157 if (end && end != cstr) { in GetU64() 169 const char *cstr = start + m_index; in GetS64() local 170 int64_t result = ::strtoll(cstr, &end, base); in GetS64() [all …]
|
| H A D | Event.cpp | 110 EventDataBytes::EventDataBytes(const char *cstr) : m_bytes() { in EventDataBytes() argument 111 SetBytesFromCString(cstr); in EventDataBytes() 158 void EventDataBytes::SetBytesFromCString(const char *cstr) { in SetBytesFromCString() argument 159 if (cstr != nullptr && cstr[0]) in SetBytesFromCString() 160 m_bytes.assign(cstr); in SetBytesFromCString()
|
| H A D | DataEncoder.cpp | 249 uint32_t DataEncoder::PutCString(uint32_t offset, const char *cstr) { in PutCString() argument 250 if (cstr != nullptr) in PutCString() 251 return PutData(offset, cstr, strlen(cstr) + 1); in PutCString()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | utf_width.c | 215 svn_utf_cstring_utf8_width(const char *cstr) in svn_utf_cstring_utf8_width() argument 219 if (*cstr == '\0') in svn_utf_cstring_utf8_width() 223 if (!svn_utf__cstring_is_valid(cstr)) in svn_utf_cstring_utf8_width() 229 while (*cstr) in svn_utf_cstring_utf8_width() 237 if ((*cstr & 0x80) == 0) in svn_utf_cstring_utf8_width() 242 else if ((*cstr & 0xe0) == 0xc0) in svn_utf_cstring_utf8_width() 247 else if ((*cstr & 0xf0) == 0xe0) in svn_utf_cstring_utf8_width() 252 else if ((*cstr & 0xf8) == 0xf0) in svn_utf_cstring_utf8_width() 264 ucs = (apr_uint32_t)(*cstr & lead_mask); in svn_utf_cstring_utf8_width() 270 ucs |= (cstr[i] & 0x3f); in svn_utf_cstring_utf8_width() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBFunction.cpp | 44 const char *cstr = NULL; in GetName() local 46 cstr = m_opaque_ptr->GetName().AsCString(); in GetName() 50 if (cstr) in GetName() 57 return cstr; in GetName() 61 const char *cstr = NULL; in GetDisplayName() local 63 cstr = m_opaque_ptr->GetMangled() in GetDisplayName() 69 if (cstr) in GetDisplayName() 76 return cstr; in GetDisplayName() 80 const char *cstr = NULL; in GetMangledName() local 85 if (cstr) in GetMangledName() [all …]
|
| H A D | SBValue.cpp | 375 if (cstr) in GetValue() 383 return cstr; in GetValue() 447 if (cstr) in GetObjectDescription() 454 return cstr; in GetObjectDescription() 472 if (cstr) in GetTypeValidatorResult() 479 return cstr; in GetTypeValidatorResult() 529 if (cstr) in GetSummary() 536 return cstr; in GetSummary() 551 if (cstr) in GetSummary() 558 return cstr; in GetSummary() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugMacinfoEntry.cpp | 19 m_op2.cstr = NULL; in DWARFDebugMacinfoEntry() 33 return m_op2.cstr; in GetCString() 42 s->Printf(" line:%u #define %s\n", (uint32_t)m_line, m_op2.cstr); in Dump() 46 s->Printf(" line:%u #undef %s\n", (uint32_t)m_line, m_op2.cstr); in Dump() 50 s->Printf(" line:%u str: '%s'\n", (uint32_t)m_line, m_op2.cstr); in Dump() 81 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract() 98 m_op2.cstr = NULL; in Extract() 103 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract()
|
| H A D | NameToDIE.cpp | 57 ConstString cstr = m_map.GetCStringAtIndex(i); in Dump() local 59 s->Printf("%p: {0x%8.8x/0x%8.8x} \"%s\"\n", (const void *)cstr.GetCString(), in Dump() 60 die_ref.cu_offset, die_ref.die_offset, cstr.GetCString()); in Dump()
|
| /freebsd-12.1/usr.bin/sort/ |
| H A D | bwstring.c | 222 memcpy(ret->data.cstr, s->data.cstr, (s->len)); in bwsdup() 338 memcpy(dst->data.cstr, src->data.cstr, nums); in bwscpy() 367 memcpy(dst->data.cstr, src->data.cstr, nums); in bwsncpy() 402 memcpy(dst->data.cstr, src->data.cstr + offset, in bwsnocpy() 427 bws->data.cstr[len] = '\n'; in bwsfwrite() 859 s = s0->data.cstr; in bwstod() 915 s = s0->data.cstr; in bws_month_score() 955 src = str->data.cstr; in ignore_leading_blanks() 1012 src = str->data.cstr; in ignore_nonprinting() 1065 src = str->data.cstr; in dictionary_order() [all …]
|
| /freebsd-12.1/crypto/heimdal/lib/hx509/ |
| H A D | error.c | 164 const char *cstr; in hx509_get_error_string() local 167 cstr = com_right(context->et_list, error_code); in hx509_get_error_string() 168 if (cstr) in hx509_get_error_string() 169 return strdup(cstr); in hx509_get_error_string() 170 cstr = strerror(error_code); in hx509_get_error_string() 171 if (cstr) in hx509_get_error_string() 172 return strdup(cstr); in hx509_get_error_string()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrFormats.td | 50 string cstr, InstrItinClass itin, IType type> 58 let Constraints = cstr; 199 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01> 203 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01> 208 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT01> 213 string cstr = "", InstrItinClass itin = tc_ENDLOOP> 214 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeENDLOOP>, 219 string cstr = ""> 220 : InstHexagon<outs, ins, asmstr, pattern, cstr, PSEUDO, TypePSEUDO>, 225 string cstr=""> [all …]
|
| H A D | HexagonInstrFormatsV65.td | 25 list<dag> pattern = [], string cstr = "", 27 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>; 30 list<dag> pattern = [], string cstr = "", 32 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_GATHER>;
|
| /freebsd-12.1/crypto/heimdal/lib/krb5/ |
| H A D | error_string.c | 245 const char *cstr = NULL; in krb5_get_error_message() local 280 cstr = com_right_r(context->et_list, code, buf, sizeof(buf)); in krb5_get_error_message() 285 if (cstr) in krb5_get_error_message() 286 return strdup(cstr); in krb5_get_error_message() 288 cstr = error_message(code); in krb5_get_error_message() 289 if (cstr) in krb5_get_error_message() 290 return strdup(cstr); in krb5_get_error_message()
|
| H A D | acl.c | 40 const char *cstr; member 91 tmp->u.cstr = va_arg(ap, const char*); in acl_parse_format() 94 tmp->u.cstr = va_arg(ap, const char*); in acl_parse_format() 124 return !strcmp(field->u.cstr, string); in acl_match_field() 126 return !fnmatch(field->u.cstr, string, 0); in acl_match_field()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/openbsd/ |
| H A D | Host.cpp | 67 const char *cstr; in GetOpenBSDProcessArgs() local 69 cstr = data.GetCStr(&offset); in GetOpenBSDProcessArgs() 70 if (cstr) { in GetOpenBSDProcessArgs() 71 process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native); in GetOpenBSDProcessArgs() 90 cstr = data.GetCStr(&offset); in GetOpenBSDProcessArgs() 91 if (cstr) in GetOpenBSDProcessArgs() 92 proc_args.AppendArgument(llvm::StringRef(cstr)); in GetOpenBSDProcessArgs()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/freebsd/ |
| H A D | Host.cpp | 63 const char *cstr; in GetFreeBSDProcessArgs() local 65 cstr = data.GetCStr(&offset); in GetFreeBSDProcessArgs() 66 if (!cstr) in GetFreeBSDProcessArgs() 76 process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native); in GetFreeBSDProcessArgs() 94 cstr = data.GetCStr(&offset); in GetFreeBSDProcessArgs() 95 if (!cstr) in GetFreeBSDProcessArgs() 98 proc_args.AppendArgument(llvm::StringRef(cstr)); in GetFreeBSDProcessArgs()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/netbsd/ |
| H A D | Host.cpp | 63 const char *cstr; in GetNetBSDProcessArgs() local 65 cstr = data.GetCStr(&offset); in GetNetBSDProcessArgs() 66 if (!cstr) in GetNetBSDProcessArgs() 69 process_info.GetExecutableFile().SetFile(cstr, in GetNetBSDProcessArgs() 88 cstr = data.GetCStr(&offset); in GetNetBSDProcessArgs() 89 if (!cstr) in GetNetBSDProcessArgs() 92 proc_args.AppendArgument(llvm::StringRef(cstr)); in GetNetBSDProcessArgs()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 72 explicit ConstString(const char *cstr); 96 explicit ConstString(const char *cstr, size_t max_cstr_len); 370 void SetCString(const char *cstr); 433 void SetCStringWithLength(const char *cstr, size_t cstr_len); 441 void SetTrimmedCStringWithLength(const char *cstr, size_t fixed_cstr_len);
|
| H A D | StringExtractor.h | 72 const char *cstr = Peek(); variable 73 if (cstr) 74 return cstr[0];
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMInstrFormats.td | 331 let Constraints = cstr; 450 string opc, string asm, string cstr, 678 opc, asm, cstr, pattern> { 767 opc, asm, cstr, pattern> { 1096 asm, cstr, pattern>; 1565 cstr, itin> { 2100 cstr, pattern> { 2124 dt, asm, cstr, pattern> { 2158 cstr, pattern> { 2531 dt, asm, cstr, pattern> { [all …]
|
| /freebsd-12.1/contrib/unbound/smallapp/ |
| H A D | unbound-host.c | 265 pretty_rdata(char* q, char* cstr, char* tstr, int t, const char* sec, in pretty_rdata() argument 269 if(strcmp(cstr, "IN") != 0) in pretty_rdata() 270 printf(" in class %s", cstr); in pretty_rdata() 293 char cstr[16]; in pretty_output() local 296 pretty_class(cstr, 16, c); in pretty_output() 324 if(strcmp(cstr, "IN") != 0) in pretty_output() 325 printf(" in class %s", cstr); in pretty_output() 357 cstr, tstr, t, secstatus, result->data[i], in pretty_output()
|
| /freebsd-12.1/contrib/atf/atf-c/detail/ |
| H A D | dynstr_test.c | 284 const char *cstr; in ATF_TC_BODY() local 289 cstr = atf_dynstr_cstring(&str); in ATF_TC_BODY() 292 ATF_REQUIRE_EQ(cstr, cstr2); in ATF_TC_BODY() 308 const char *cstr; in ATF_TC_BODY() local 312 cstr = atf_dynstr_cstring(&str); in ATF_TC_BODY() 313 ATF_REQUIRE(cstr != NULL); in ATF_TC_BODY() 314 ATF_REQUIRE(strcmp(cstr, "Test string 1") == 0); in ATF_TC_BODY() 318 cstr = atf_dynstr_cstring(&str); in ATF_TC_BODY() 319 ATF_REQUIRE(cstr != NULL); in ATF_TC_BODY() 320 ATF_REQUIRE(strcmp(cstr, "Test string 2") == 0); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/ |
| H A D | CFString.cpp | 37 CFString::CFString(const char *cstr, CFStringEncoding cstr_encoding) in CFString() argument 39 if (cstr && cstr[0]) { in CFString() 41 ::CFStringCreateWithCString(kCFAllocatorDefault, cstr, cstr_encoding)); in CFString()
|
| /freebsd-12.1/contrib/ntp/lib/isc/ |
| H A D | base32.c | 297 base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) { in base32_decodestring() argument 302 int c = *cstr++; in base32_decodestring() 314 isc_base32_decodestring(const char *cstr, isc_buffer_t *target) { in isc_base32_decodestring() argument 315 return (base32_decodestring(cstr, base32, target)); in isc_base32_decodestring() 319 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target) { in isc_base32hex_decodestring() argument 320 return (base32_decodestring(cstr, base32hex, target)); in isc_base32hex_decodestring()
|