Searched refs:cstr (Results 26 - 50 of 79) sorted by relevance

1234

/external/lldb/source/Core/
H A DDebugger.cpp1548 const char *cstr = NULL; local
1953 cstr = thread->GetName();
1954 var_success = cstr && cstr[0];
1956 s.PutCString(cstr);
1960 cstr = thread->GetQueueName();
1961 var_success = cstr && cstr[0];
1963 s.PutCString(cstr);
1970 cstr
[all...]
H A DDataEncoder.cpp330 DataEncoder::PutCString (uint32_t offset, const char *cstr) argument
332 if (cstr)
333 return PutData (offset, cstr, strlen(cstr) + 1);
H A DUUID.cpp221 UUID::SetFromCString (const char *cstr, uint32_t num_uuid_bytes) argument
223 if (cstr == NULL)
226 const char *p = cstr;
237 return p - cstr;
H A DStream.cpp131 Stream::PutCString (const char *cstr) argument
133 size_t cstr_len = strlen(cstr);
137 return Write (cstr, cstr_len);
145 Stream::QuotedCString (const char *cstr, const char *format) argument
147 Printf (format, cstr);
H A DDataExtractor.cpp1085 const char *cstr = (const char *)PeekData (*offset_ptr, 1); local
1086 if (cstr)
1088 const char *cstr_end = cstr;
1098 *offset_ptr += (cstr_end - cstr + 1);
1099 return cstr;
1124 const char *cstr = (const char *)PeekData (*offset_ptr, len); local
1125 if (cstr)
1127 if (memchr (cstr, '\0', len) == NULL)
1132 return cstr;
1617 const char *cstr local
[all...]
H A DSourceManager.cpp479 const uint8_t *cstr = m_data_sp->GetBytes() + start_line_offset; local
480 bytes_written = s->Write(cstr, count);
481 if (!is_newline_char(cstr[count-1]))
/external/lldb/include/lldb/API/
H A DSBEvent.h31 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/external/lldb/include/lldb/Core/
H A DUUID.h64 // Decode as many UUID bytes (up to 16) as possible from the C string "cstr"
69 /// string \a cstr.
71 /// @param[in] cstr
90 DecodeUUIDBytesFromCString (const char *cstr, ValueType &uuid_bytes, const char **end, uint32_t num_uuid_bytes = 16);
H A DUniqueCStringMap.h45 Entry (const char *cstr) : argument
46 cstring(cstr),
51 Entry (const char *cstr, const T&v) : argument
52 cstring(cstr),
H A DDataEncoder.h315 PutCString (uint32_t offset_ptr, const char *cstr);
H A DMappedHash.h200 GetKeyForStringType (const char *cstr) const = 0;
210 AddEntry (const char *cstr, const ValueType &value) argument
213 entry.hash = MappedHash::HashString (eHashFunctionDJB, cstr);
214 entry.key = GetKeyForStringType (cstr);
/external/lldb/source/API/
H A DSBValue.cpp400 const char *cstr = NULL; local
405 cstr = value_sp->GetValueAsCString ();
409 if (cstr)
410 log->Printf ("SBValue(%p)::GetValue() => \"%s\"", value_sp.get(), cstr);
415 return cstr;
449 const char *cstr = NULL; local
454 cstr = value_sp->GetObjectDescription ();
458 if (cstr)
459 log->Printf ("SBValue(%p)::GetObjectDescription() => \"%s\"", value_sp.get(), cstr);
463 return cstr;
511 const char *cstr = NULL; local
533 const char *cstr = NULL; local
[all...]
H A DSBEvent.cpp34 SBEvent::SBEvent (uint32_t event_type, const char *cstr, uint32_t cstr_len) : argument
35 m_event_sp (new Event (event_type, new EventDataBytes (cstr, cstr_len))),
/external/skia/experimental/SkV8Example/
H A DJsContext.cpp101 const char* cstr = to_cstring(str); local
102 printf("%s\n", cstr);
H A DGlobal.cpp170 const char* cstr = to_cstring(str); local
171 printf("%s\n", cstr);
/external/skia/include/core/
H A DSkData.h92 * equal to strlen(cstr) + 1. If cstr is NULL, it will be treated the same
95 static SkData* NewWithCString(const char cstr[]);
/external/v8/samples/
H A Dlineprocessor.cc248 const char* cstr = ToCString(str); local
249 printf("%s\n", cstr);
344 const char* cstr = ToCString(str); local
345 printf("%s", cstr);
H A Dshell.cc156 const char* cstr = ToCString(str); local
157 printf("%s", cstr);
349 const char* cstr = ToCString(str); local
350 printf("%s\n", cstr);
/external/lldb/source/Target/
H A DProcess.cpp235 const char *cstr; local
280 cstr = platform->GetUserName (m_uid);
281 s.Printf (" uid = %-5u (%s)\n", m_uid, cstr ? cstr : "");
285 cstr = platform->GetGroupName (m_gid);
286 s.Printf (" gid = %-5u (%s)\n", m_gid, cstr ? cstr : "");
290 cstr = platform->GetUserName (m_euid);
291 s.Printf (" euid = %-5u (%s)\n", m_euid, cstr ? cstr
326 const char *cstr; local
1449 SetExitStatus(int status, const char *cstr) argument
[all...]
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCMutableDictionary.cpp473 CFCMutableDictionary::AddValueCString(CFStringRef key, const char *cstr, bool can_create) argument
478 CFCString cf_str(cstr, kCFStringEncodingUTF8);
490 CFCMutableDictionary::SetValueCString(CFStringRef key, const char *cstr, bool can_create) argument
495 CFCString cf_str(cstr, kCFStringEncodingUTF8);
/external/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c2029 const char *cstr; local
2042 cstr = "10E6";
2043 u_uastrcpy(str, cstr);
2049 log_data_err("%s:%d: unum_parse failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr);
2051 log_data_err("%s:%d: unum_parse failed, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr);
2053 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr);
2067 log_err("%s:%d: FAIL: unum_parse should have returned 10, not 10000000 on %s after UNUM_PARSE_NO_EXPONENT\n", __FILE__, __LINE__, cstr);
2069 log_verbose("%s:%d: unum_parse gave %d for %s - good.\n", __FILE__, __LINE__, num, cstr);
2083 cstr = "10E6";
2084 u_uastrcpy(str, cstr);
[all...]
/external/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp424 const char *cstr = data.GetCStr(offset, AlignToNext(n_namesz, 4)); local
425 if (cstr == NULL)
433 n_name = cstr;
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.cpp134 case DW_FORM_string: m_value.value.cstr = data.GetCStr(offset_ptr);
135 // Set the string value to also be the data for inlined cstr form values only
138 m_value.data = (uint8_t*)m_value.value.cstr; break;
384 return m_value.value.cstr;
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp216 Value.cstr = data.getCStr(offset_ptr);
391 OS.write_escaped(Value.cstr);
499 return Value.cstr;
/external/mdnsresponder/mDNSCore/
H A DDNSCommon.c481 mDNSexport mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr) argument
489 while (*cstr && ptr < lim) *ptr++ = (mDNSu8)*cstr++; // Copy the data
492 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input
505 const char *cstr = cstring; local
508 while (*cstr && ptr < lim) // While more characters, and space to put them...
511 if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); return(mDNSNULL); }
512 while (*cstr && *cstr != '.' && ptr < lim) // While we have characters in the label...
514 mDNSu8 c = (mDNSu8)*cstr
583 MakeDomainLabelFromLiteralString(domainlabel *const label, const char *cstr) argument
599 MakeDomainNameFromDNSNameString(domainname *const name, const char *cstr) argument
[all...]

Completed in 1519 milliseconds

1234