HomeSort by relevance Sort by last modified time
    Searched refs:cstr (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/mdnsresponder/Clients/
ClientCommon.c 46 const char *GetNextLabel(const char *cstr, char label[64])
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[-1] - '0'; // then interpret as three-digit decima
    [all...]
ClientCommon.h 41 extern const char *GetNextLabel(const char *cstr, char label[64]);
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
stringprintf.cc 151 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[5], cstr[6], cstr[7], cstr[8], cstr[9]
    [all...]
common_unittest.cc 248 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/
DWARFDebugMacinfoEntry.cpp 22 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);
DWARFDebugMacinfoEntry.h 52 const char* cstr; member in union:DWARFDebugMacinfoEntry::__anon29114
NameToDIE.cpp 72 const char *cstr = m_map.GetCStringAtIndex(i); local
73 s->Printf("%p: {0x%8.8x} \"%s\"\n", cstr, m_map.GetValueAtIndexUnchecked(i), cstr);
  /external/lldb/source/Core/
ConstString.cpp 82 GetConstCString (const char *cstr)
84 if (cstr)
85 return GetConstCStringWithLength (cstr, strlen (cstr));
90 GetConstCStringWithLength (const char *cstr, size_t cstr_len)
92 if (cstr)
95 llvm::StringRef string_ref (cstr, cstr_len);
135 GetConstTrimmedCStringWithLength (const char *cstr, size_t cstr_len)
137 if (cstr)
139 const size_t trimmed_len = std::min<size_t> (strlen (cstr), cstr_len)
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
    [all...]
Event.cpp 111 EventDataBytes::EventDataBytes (const char *cstr) :
114 SetBytesFromCString (cstr);
180 EventDataBytes::SetBytesFromCString (const char *cstr)
182 if (cstr && cstr[0])
183 m_bytes.assign (cstr);
  /external/chromium_org/third_party/skia/third_party/harfbuzz/src/
harfbuzz-thai.c 36 char *cstr = 0; local
55 cstr = HB_TextCodec_ConvertFromUnicode(thaiCodec, string, len, 0);
56 if (!cstr)
60 numbreaks = th_brk(cstr, break_positions, 128);
63 numbreaks = th_brk(cstr, break_positions, numbreaks);
77 HB_TextCodec_FreeResult(cstr);
  /prebuilts/misc/common/swig/include/2.0.11/tcl/
tclstrings.swg 10 char *cstr = Tcl_GetStringFromObj(obj, &len);
11 if (cstr) {
12 if (cptr) *cptr = cstr;
jstring.i 8 const char *cstr = Tcl_GetStringFromObj(obj, &len);
9 if (!cstr || (strcmp(cstr,"NULL") == 0)) {
  /external/lldb/include/lldb/Core/
ConstString.h 72 /// @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...]
  /sdk/find_java/src/source/
find_java_exe.cpp 50 printf("findJavaInEnvPath: [%d] %s\n", v, javaPath.cstr());
54 printf("findJavaInRegistry [%d] %s\n", v, javaPath.cstr());
58 printf("findJavaInProgramFiles [%d] %s\n", v, javaPath.cstr());
125 javaPath.cstr());
145 javaPath.set(javawPath.cstr());
151 printf("%s", javaPath.cstr());
  /sdk/find_lock/
find_lock_exe.cpp 52 fprintf(stderr, "Error: '%s' is not a valid directory.\n", dirPath.cstr());
74 printf("%s", result.cstr());
  /external/lldb/source/API/
SBFunction.cpp 61 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...]
  /prebuilts/misc/common/swig/include/2.0.11/python/
pystrings.swg 14 char *cstr; Py_ssize_t len;
24 PyBytes_AsStringAndSize(obj, &cstr, &len);
27 PyString_AsStringAndSize(obj, &cstr, &len);
46 *cptr = %new_copy_array(cstr, len + 1, char);
50 *cptr = cstr;
  /external/lldb/source/Host/freebsd/
Host.cpp 159 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 = data.GetCStr (&offset)
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
common_unittest.cc 242 const char* cstr = "hello"; local
243 Closure* closure = NewCallback(&SetABFunction, 789, cstr);
245 EXPECT_NE(cstr, b_);
248 EXPECT_EQ(cstr, b_);
252 const char* cstr = "hello"; local
254 &ClosureTest::SetABMethod, 789, cstr);
256 EXPECT_NE(cstr, b_);
259 EXPECT_EQ(cstr, b_);
311 const char* cstr = "hello"; local
312 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr);
327 const char* cstr = "hello"; local
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/perl5/
perlstrings.swg 16 char *cstr = SvPV(obj, len);
21 *cptr = %new_copy_array(cstr, size, char);
23 *cptr = cstr;
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
rubystrings.swg 10 char *cstr = StringValuePtr(obj);
15 *cptr = %new_copy_array(cstr, size, char);
17 *cptr = cstr;
jstring.i 13 char *cstr = rb_string_value_ptr(&(obj));
15 *val = JvNewStringLatin1(cstr, len);
  /external/lldb/scripts/Python/interface/
SBEvent.i 121 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
  /external/lldb/source/Utility/
StringExtractorGDBRemote.h 29 StringExtractorGDBRemote(const char *cstr) :
30 StringExtractor (cstr)
  /external/lldb/source/Host/macosx/cfcpp/
CFCMutableArray.h 32 bool AppendCStringAsCFString (const char *cstr,

Completed in 405 milliseconds

1 2 3 4 5 6