/external/v8/test/simdjs/ |
harness-finish.js | 9 function printResult (str) { 10 print (str); 13 function printError (str) { 14 print (str); 17 function printScore (str) { 18 print (str);
|
/external/webrtc/webrtc/base/ |
crc32.h | 28 inline uint32_t ComputeCrc32(const std::string& str) { 29 return ComputeCrc32(str.c_str(), str.size());
|
/hardware/qcom/gps/msmcobalt/utils/platform_lib_abstractions/loc_pla/src/ |
platform_lib_log_util.cpp | 30 char * get_timestamp(char *str, unsigned long buf_size) 39 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); 40 return str;
|
/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);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
thumb2_str-bad.s | 8 str r0, [pc, 4] 9 str r0, d 10 str pc, [r0]
|
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 23 // Input to a test is a zero-terminated string str with given length 24 // Accesses to the bytes to the left and to the right of str 26 void StrLenOOBTestTemplate(char *str, size_t length, bool is_global) { 28 EXPECT_EQ(strlen(str), length); 30 EXPECT_EQ(length - 1, strlen(str + 1)); 31 EXPECT_EQ(0U, strlen(str + length)); 36 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(1)); 37 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(5)); 39 EXPECT_DEATH(Ident(strlen(str + length + 1)), RightOOBReadMessage(0)); 41 str[length] = 'a' 83 char *str = MallocAndMemsetString(size); local 102 char *str = MallocAndMemsetString(size); local 191 char *str = MallocAndMemsetString(size); local 207 char *str = MallocAndMemsetString(size); local 430 char *str = Ident((char*)malloc(size)); local [all...] |
/external/nanopb-c/tests/site_scons/ |
site_init.py | 18 infile = open(str(source[1])) 25 args = [str(source[0])] 30 print 'Command line: ' + str(args) 33 stdout = open(str(target[0]), 'w'), 39 print '\033[31m[FAIL]\033[0m Program ' + args[0] + ' returned ' + str(result) 51 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0]))) 62 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0])) [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/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/libcxx/test/std/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...] |
/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...] |
/external/ltrace/ |
read_config_file.c | 70 char **str, 76 char **str, struct param **extra_param, 81 char **str, struct param **extra_param, 85 char **str, struct arg_type_info **retp, int *ownp); 136 eat_spaces(char **str) { 137 while (**str == ' ') { 138 (*str)++; 143 xstrndup(char *str, size_t len) { 149 strncpy(ret, str, len); 155 parse_ident(struct locus *loc, char **str) 1112 char *str = buf; local [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
tINT16_ARRAY.py | 105 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 106 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 108 % (self.param_name, str(index), err)) 110 % (self.param_name, str(index), out)) 112 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 114 % (self.param_name, str(index), err)) 115 assert out == str(indexed_array_value), log.F("BLACKBOARD : Incorrect value for %s[%s], expected: %s, found: %s" 116 % (self.param_name, str(index), str(indexed_array_value), out) [all...] |
tUINT32_ARRAY.py | 106 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 107 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 109 % (self.param_name, str(index), err)) 111 % (self.param_name, str(index), out)) 113 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 115 % (self.param_name, str(index), err)) 116 assert out == str(indexed_array_value), log.F("BLACKBOARD : Incorrect value for %s[%s], expected: %s, found: %s" 117 % (self.param_name, str(index), str(indexed_array_value), out) [all...] |