Searched refs:cstr (Results 1 - 25 of 79) sorted by relevance

1234

/external/mdnsresponder/Clients/
H A DClientCommon.c46 const char *GetNextLabel(const char *cstr, char label[64]) argument
49 while (*cstr && *cstr != '.') // While we have characters in the label...
51 char c = *cstr++;
52 if (c == '\\' && *cstr) // If we have a backslash, and it's not the last character of the string
54 c = *cstr++;
55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1]))
57 int v0 = cstr[
[all...]
H A DClientCommon.h41 extern const char *GetNextLabel(const char *cstr, char label[64]);
/external/protobuf/src/google/protobuf/stubs/
H A Dstringprintf.cc151 const char* cstr[kStringPrintfVectorMaxArgs]; local
153 cstr[i] = v[i].c_str();
155 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
156 cstr[i] = &string_printf_empty_block[0];
166 cstr[0], cstr[1], cstr[2], cstr[3], cstr[4],
167 cstr[
[all...]
H A Dcommon_unittest.cc248 const char* cstr = "hello"; local
249 Closure* closure = NewCallback(&SetABFunction, 789, cstr);
251 EXPECT_NE(cstr, b_);
254 EXPECT_EQ(cstr, b_);
258 const char* cstr = "hello"; local
260 &ClosureTest::SetABMethod, 789, cstr);
262 EXPECT_NE(cstr, b_);
265 EXPECT_EQ(cstr, b_);
317 const char* cstr = "hello"; local
318 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr);
333 const char* cstr = "hello"; local
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacinfoEntry.cpp22 m_op2.cstr = NULL;
41 return m_op2.cstr;
56 s->Printf(" line:%u #define %s\n", (uint32_t)m_line, m_op2.cstr);
60 s->Printf(" line:%u #undef %s\n", (uint32_t)m_line, m_op2.cstr);
64 s->Printf(" line:%u str: '%s'\n", (uint32_t)m_line, m_op2.cstr);
100 m_op2.cstr = mac_info_data.GetCStr(offset_ptr);
117 m_op2.cstr = NULL;
122 m_op2.cstr = mac_info_data.GetCStr(offset_ptr);
H A DDWARFDebugMacinfoEntry.h52 const char* cstr; member in union:DWARFDebugMacinfoEntry::__anon9988
H A DNameToDIE.cpp72 const char *cstr = m_map.GetCStringAtIndex(i); local
73 s->Printf("%p: {0x%8.8x} \"%s\"\n", cstr, m_map.GetValueAtIndexUnchecked(i), cstr);
H A DDWARFFormValue.h33 const char* cstr; member in union:DWARFFormValue::ValueTypeTag::__anon9989
55 bool IsInlinedCStr() const { return (m_value.data != NULL) && m_value.data == (uint8_t*)m_value.value.cstr; }
/external/lldb/source/Core/
H A DConstString.cpp82 GetConstCString (const char *cstr) argument
84 if (cstr)
85 return GetConstCStringWithLength (cstr, strlen (cstr));
90 GetConstCStringWithLength (const char *cstr, size_t cstr_len) argument
92 if (cstr)
95 llvm::StringRef string_ref (cstr, cstr_len);
135 GetConstTrimmedCStringWithLength (const char *cstr, size_t cstr_len) argument
137 if (cstr)
139 const size_t trimmed_len = std::min<size_t> (strlen (cstr), cstr_le
210 ConstString(const char *cstr) argument
215 ConstString(const char *cstr, size_t cstr_len) argument
245 const char *cstr = str.GetCString(); local
247 s << cstr; local
284 const char *cstr = AsCString (fail_value); local
293 const char *cstr = GetCString (); local
301 SetCString(const char *cstr) argument
326 SetCStringWithLength(const char *cstr, size_t cstr_len) argument
332 SetTrimmedCStringWithLength(const char *cstr, size_t cstr_len) argument
[all...]
H A DEvent.cpp111 EventDataBytes::EventDataBytes (const char *cstr) : argument
114 SetBytesFromCString (cstr);
180 EventDataBytes::SetBytesFromCString (const char *cstr) argument
182 if (cstr && cstr[0])
183 m_bytes.assign (cstr);
/external/google-breakpad/src/tools/mac/upload_system_symbols/
H A Darch_reader.go54 cstr := C.GetNXArchInfoName(C.cpu_type_t(header.Cpu), C.cpu_subtype_t(header.SubCpu))
55 if cstr == nil {
58 return C.GoString(cstr)
/external/lldb/source/API/
H A DSBFunction.cpp61 const char *cstr = NULL; local
63 cstr = m_opaque_ptr->GetMangled().GetName().AsCString();
68 if (cstr)
69 log->Printf ("SBFunction(%p)::GetName () => \"%s\"", m_opaque_ptr, cstr);
73 return cstr;
79 const char *cstr = NULL; local
81 cstr = m_opaque_ptr->GetMangled().GetMangledName().AsCString();
85 if (cstr)
86 log->Printf ("SBFunction(%p)::GetMangledName () => \"%s\"", m_opaque_ptr, cstr);
90 return cstr;
[all...]
/external/lldb/include/lldb/Core/
H A DConstString.h72 /// @param[in] cstr
75 explicit ConstString (const char *cstr);
86 /// @param[in] cstr
94 /// The max length of \a cstr. If the string length of \a cstr
96 /// truncated. If the string length of \a cstr is greater than
98 /// from \a cstr.
100 explicit ConstString (const char *cstr, size_t max_cstr_len);
367 /// Set the string value in the object by uniquing the \a cstr
374 /// @param[in] cstr
[all...]
H A DEvent.h66 EventDataBytes (const char *cstr);
95 SetBytesFromCString (const char *cstr);
H A DStream.h201 /// Output a NULL terminated C string \a cstr to the stream \a s.
203 /// @param[in] cstr
211 operator<< (const char *cstr);
391 /// Print a C string \a cstr to the stream.
393 /// @param[in] cstr
397 PutCString (const char *cstr);
535 /// @param[in] cstr
542 QuotedCString (const char *cstr, const char *format = "\"%s\"");
/external/lldb/source/Host/freebsd/
H A DHost.cpp159 char cstr[PATH_MAX]; local
160 size_t cstr_len = sizeof(cstr);
161 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0)
163 s.assign (cstr, cstr_len);
174 char cstr[PATH_MAX]; local
175 size_t cstr_len = sizeof(cstr);
176 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0)
178 s.assign (cstr, cstr_len);
198 const char *cstr; local
200 cstr
[all...]
/external/lldb/source/Utility/
H A DStringExtractorGDBRemote.h29 StringExtractorGDBRemote(const char *cstr) : argument
30 StringExtractor (cstr)
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCMutableArray.h32 bool AppendCStringAsCFString (const char *cstr,
H A DCFCString.cpp42 CFCString::CFCString (const char *cstr, CFStringEncoding cstr_encoding) : argument
45 if (cstr && cstr[0])
47 reset(::CFStringCreateWithCString(kCFAllocatorDefault, cstr, cstr_encoding));
H A DCFCMutableDictionary.h58 bool AddValueCString(CFStringRef key, const char *cstr, bool can_create = false);
59 bool SetValueCString(CFStringRef key, const char *cstr, bool can_create = false);
/external/lldb/tools/debugserver/source/MacOSX/
H A DCFString.cpp46 CFString::CFString (const char *cstr, CFStringEncoding cstr_encoding) : argument
49 if (cstr && cstr[0])
51 reset(::CFStringCreateWithCString(kCFAllocatorDefault, cstr, cstr_encoding));
/external/lldb/scripts/Python/interface/
H A DSBEvent.i121 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h46 const char* cstr; member in union:llvm::DWARFFormValue::ValueType::__anon10152
70 return Value.data != nullptr && Value.data == (const uint8_t*)Value.cstr;
/external/skia/src/core/
H A DSkData.cpp172 SkData* SkData::NewWithCString(const char cstr[]) { argument
174 if (NULL == cstr) {
175 cstr = "";
178 size = strlen(cstr) + 1;
180 return NewWithCopy(cstr, size);
/external/icu/icu4c/source/common/
H A Duenum.c94 const char *cstr = en->next(en, &len, status); local
95 if (cstr != NULL) {
100 u_charsToUChars(cstr, ustr, len+1);

Completed in 581 milliseconds

1234