/external/e2fsprogs/intl/ |
hash-string.h | 32 const char *str = str_param; local 36 while (*str != '\0') 39 hval += (unsigned char) *str++;
|
/external/qemu/ |
qjson.c | 78 QString *str; member in struct:ToJsonIterState 81 static void to_json(const QObject *obj, QString *str, int pretty, int indent); 90 qstring_append(s->str, ", "); 93 qstring_append(s->str, "\n"); 95 qstring_append(s->str, " "); 99 to_json(QOBJECT(qkey), s->str, s->pretty, s->indent); 102 qstring_append(s->str, ": "); 103 to_json(obj, s->str, s->pretty, s->indent); 113 qstring_append(s->str, ", "); 116 qstring_append(s->str, "\n") 280 QString *str = qstring_new(); local 289 QString *str = qstring_new(); local [all...] |
/external/smack/src/com/kenai/jbosh/ |
AttrAck.java | 38 * @param str string representation of the attribute 43 static AttrAck createFromString(final String str) 45 if (str == null) { 48 return new AttrAck(str);
|
AttrHold.java | 39 * @param str string representation of the attribute 44 static AttrHold createFromString(final String str) 46 if (str == null) { 49 return new AttrHold(str);
|
AttrInactivity.java | 39 * @param str string representation of the attribute 44 static AttrInactivity createFromString(final String str) 46 if (str == null) { 49 return new AttrInactivity(str);
|
AttrMaxPause.java | 41 * @param str string representation of the attribute 46 static AttrMaxPause createFromString(final String str) 48 if (str == null) { 51 return new AttrMaxPause(str);
|
AttrPause.java | 41 * @param str string representation of the attribute 46 static AttrPause createFromString(final String str) 48 if (str == null) { 51 return new AttrPause(str);
|
AttrRequests.java | 39 * @param str string representation of the attribute 44 static AttrRequests createFromString(final String str) 46 if (str == null) { 49 return new AttrRequests(str);
|
AttrWait.java | 39 * @param str string representation of the attribute 44 static AttrWait createFromString(final String str) 46 if (str == null) { 49 return new AttrWait(str);
|
/external/stlport/test/unit/ |
bound_test.cpp | 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 54 const unsigned strCt = sizeof(str)/sizeof(str[0]); 56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str); 74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 76 const unsigned strCt = sizeof(str)/sizeof(str[0]); 77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) [all...] |
/ndk/build/awk/ |
gen-cygwin-deps-converter.awk | 160 function sed_quote_path (str) 169 gsub("\\^","\\^",str) 170 gsub("\\.","\\.",str) 171 gsub("\\[","\\[",str) 172 gsub("\\]","\\]",str) 173 gsub("\\$","\\$",str) 174 gsub("\\(","\\(",str) 175 gsub("\\)","\\)",str) 176 gsub("\\+","\\+",str) 177 gsub("\\{","\\{",str) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/ |
member_swap.pass.cpp | 26 assert(buf.str() == "testing"); 27 assert(buf1.str() == ""); 33 assert(buf.str() == "testing"); 34 assert(buf1.str() == ""); 40 assert(buf.str() == "testing"); 41 assert(buf1.str() == ""); 47 assert(buf.str() == L"testing"); 48 assert(buf1.str() == L""); 54 assert(buf.str() == L"testing"); 55 assert(buf1.str() == L"") [all...] |
nonmember_swap.pass.cpp | 28 assert(buf.str() == "testing"); 29 assert(buf1.str() == ""); 35 assert(buf.str() == "testing"); 36 assert(buf1.str() == ""); 42 assert(buf.str() == "testing"); 43 assert(buf1.str() == ""); 49 assert(buf.str() == L"testing"); 50 assert(buf1.str() == L""); 56 assert(buf.str() == L"testing"); 57 assert(buf1.str() == L"") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
get_pointer.pass.cpp | 38 const char str[] = "0x0"; local 42 f.get(input_iterator<const char*>(str), 43 input_iterator<const char*>(str+sizeof(str)), 45 assert(iter.base() == str+sizeof(str)-1); 50 const char str[] = "0x73"; local 54 f.get(input_iterator<const char*>(str), 55 input_iterator<const char*>(str+sizeof(str)), [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
bound_test.cpp | 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 54 const unsigned strCt = sizeof(str)/sizeof(str[0]); 56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str); 74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 76 const unsigned strCt = sizeof(str)/sizeof(str[0]); 77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) [all...] |
/ndk/tests/device/test-stlport/unit/ |
bound_test.cpp | 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 54 const unsigned strCt = sizeof(str)/sizeof(str[0]); 56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str); 74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local 76 const unsigned strCt = sizeof(str)/sizeof(str[0]); 77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IntEditor.java | 24 protected Object parseValue(String str) { 25 return str == null ? null : Integer.parseInt(str);
|
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 19 // Input to a test is a zero-terminated string str with given length 20 // Accesses to the bytes to the left and to the right of str 22 void StrLenOOBTestTemplate(char *str, size_t length, bool is_global) { 24 EXPECT_EQ(strlen(str), length); 26 EXPECT_EQ(length - 1, strlen(str + 1)); 27 EXPECT_EQ(0U, strlen(str + length)); 32 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(1)); 33 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(5)); 35 EXPECT_DEATH(Ident(strlen(str + length + 1)), RightOOBReadMessage(0)); 37 str[length] = 'a' 67 char *str = MallocAndMemsetString(size); local 86 char *str = MallocAndMemsetString(size); local 175 char *str = MallocAndMemsetString(size); local 191 char *str = MallocAndMemsetString(size); local 413 char *str = Ident((char*)malloc(size)); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 10 sys.__stdout__.write(" ".join(map(str, stuff)) + "\n") 118 def set_str(self, str): 119 assert len(str) == 0 or str[-1] == '\n' 120 if type(str) is UnicodeType: 127 uniphooey = str 128 str = [] 129 push = str.append 132 str = "".join(str) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 10 sys.__stdout__.write(" ".join(map(str, stuff)) + "\n") 118 def set_str(self, str): 119 assert len(str) == 0 or str[-1] == '\n' 120 if type(str) is UnicodeType: 127 uniphooey = str 128 str = [] 129 push = str.append 132 str = "".join(str) [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_type.cc | 303 AutofillFieldType AutofillType::StringToFieldType(const std::string& str) { 304 if (str == "NO_SERVER_DATA") 306 if (str == "UNKNOWN_TYPE") 308 if (str == "EMPTY_TYPE") 310 if (str == "NAME_FIRST") 312 if (str == "NAME_MIDDLE") 314 if (str == "NAME_LAST") 316 if (str == "NAME_MIDDLE_INITIAL") 318 if (str == "NAME_FULL") 320 if (str == "NAME_SUFFIX" [all...] |
/cts/suite/audio_quality/lib/src/ |
StringUtil.cpp | 24 std::vector<android::String8>* StringUtil::split(const android::String8& str, char delimiter) 28 for (unsigned int i = 0; i < str.length(); i++) { 29 if (str[i] == delimiter) { 31 tokens->push_back(substr(str, lastTokenEnd, i - lastTokenEnd)); 36 if (lastTokenEnd < str.length()) { 37 tokens->push_back(substr(str, lastTokenEnd, str.length() - lastTokenEnd)); 42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) 44 size_t l = str.length(); 53 android::String8 result(str.string() + pos, n) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
AsciiTest.java | 54 String str = String.valueOf(c); local 55 assertTrue(str, c == Ascii.toLowerCase(c)); 56 assertTrue(str, c == Ascii.toUpperCase(c)); 57 assertFalse(str, Ascii.isLowerCase(c)); 58 assertFalse(str, Ascii.isUpperCase(c)); 64 String str = String.valueOf(c); local 65 assertTrue(str, c == Ascii.toLowerCase(c)); 66 assertFalse(str, c == Ascii.toUpperCase(c)); 67 assertTrue(str, Ascii.isLowerCase(c)); 68 assertFalse(str, Ascii.isUpperCase(c)) 74 String str = String.valueOf(c); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long_long.pass.cpp | 49 char str[50]; local 50 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 51 std::string ex(str, iter.base()); 57 char str[50]; local 58 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 59 std::string ex(str, iter.base()); 65 char str[50]; local 66 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 67 std::string ex(str, iter.base()); 73 char str[50] local 81 char str[50]; local 90 char str[50]; local 99 char str[50]; local 109 char str[50]; local 118 char str[50]; local 128 char str[50]; local 139 char str[50]; local 151 char str[50]; local 162 char str[50]; local 172 char str[50]; local 183 char str[50]; local 196 char str[50]; local 209 char str[50]; local 222 char str[50]; local 236 char str[50]; local 249 char str[50]; local 262 char str[50]; local 275 char str[50]; local 288 char str[50]; local 301 char str[50]; local 314 char str[50]; local 326 char str[50]; local 338 char str[50]; local [all...] |
put_unsigned_long_long.pass.cpp | 49 char str[50]; local 50 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 51 std::string ex(str, iter.base()); 57 char str[50]; local 58 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 59 std::string ex(str, iter.base()); 65 char str[50]; local 66 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); 67 std::string ex(str, iter.base()); 73 char str[50] local 81 char str[50]; local 90 char str[50]; local 99 char str[50]; local 109 char str[50]; local 118 char str[50]; local 128 char str[50]; local 139 char str[50]; local 151 char str[50]; local 162 char str[50]; local 172 char str[50]; local 183 char str[50]; local 196 char str[50]; local 209 char str[50]; local 222 char str[50]; local 236 char str[50]; local 249 char str[50]; local 262 char str[50]; local 275 char str[50]; local 288 char str[50]; local 301 char str[50]; local 314 char str[50]; local 326 char str[50]; local 338 char str[50]; local [all...] |