/bionic/libc/arch-x86/string/ |
sse2-index-atom.S | 31 #define strchr index define 32 #include "sse2-strchr-atom.S"
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_returnfuncptrs.py | 11 # The get_strchr function returns a *pointer* to the C strchr function. 15 strchr = get_strchr() 16 self.assertEqual(strchr("abcdef", "b"), "bcdef") 17 self.assertEqual(strchr("abcdef", "x"), None) 18 self.assertRaises(ArgumentError, strchr, "abcdef", 3) 19 self.assertRaises(TypeError, strchr, "abcdef") 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 30 self.assertTrue(strchr("abcdef", "b"), "bcdef") 31 self.assertEqual(strchr("abcdef", "x"), None) 32 self.assertRaises(ArgumentError, strchr, "abcdef", 3 [all...] |
test_stringptr.py | 45 strchr = lib.my_strchr 46 strchr.restype = c_char_p 50 strchr.argtypes = c_char_p, c_char 51 self.assertEqual(strchr("abcdef", "c"), "cdef") 52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef") 56 strchr.argtypes = POINTER(c_char), c_char 58 self.assertEqual(strchr(buf, "c"), "cdef") 59 self.assertEqual(strchr("abcdef", "c"), "cdef") 62 # to strchr is no longer valid after the function returns! 65 strchr.restype = POINTER(c_char [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_returnfuncptrs.py | 11 # The get_strchr function returns a *pointer* to the C strchr function. 15 strchr = get_strchr() 16 self.assertEqual(strchr("abcdef", "b"), "bcdef") 17 self.assertEqual(strchr("abcdef", "x"), None) 18 self.assertRaises(ArgumentError, strchr, "abcdef", 3) 19 self.assertRaises(TypeError, strchr, "abcdef") 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 30 self.assertTrue(strchr("abcdef", "b"), "bcdef") 31 self.assertEqual(strchr("abcdef", "x"), None) 32 self.assertRaises(ArgumentError, strchr, "abcdef", 3 [all...] |
test_stringptr.py | 45 strchr = lib.my_strchr 46 strchr.restype = c_char_p 50 strchr.argtypes = c_char_p, c_char 51 self.assertEqual(strchr("abcdef", "c"), "cdef") 52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef") 56 strchr.argtypes = POINTER(c_char), c_char 58 self.assertEqual(strchr(buf, "c"), "cdef") 59 self.assertEqual(strchr("abcdef", "c"), "cdef") 62 # to strchr is no longer valid after the function returns! 65 strchr.restype = POINTER(c_char [all...] |
/bionic/libc/bionic/ |
strchr.cpp | 32 extern "C" char* strchr(const char* p, int ch) { function
|
/system/core/libcutils/ |
cpu_info.c | 48 chp = strchr(chp, ':'); 61 whitespace = strchr(chp, ' '); 64 whitespace = strchr(chp, '\t'); 67 whitespace = strchr(chp, '\r'); 70 whitespace = strchr(chp, '\n');
|
/external/clang/include/clang/Basic/ |
Builtins.h | 95 return strchr(GetRecord(ID).Attributes, 'c') != 0; 100 return strchr(GetRecord(ID).Attributes, 'n') != 0; 105 return strchr(GetRecord(ID).Attributes, 'r') != 0; 110 return strchr(GetRecord(ID).Attributes, 'j') != 0; 116 return strchr(GetRecord(ID).Attributes, 'u') != 0; 122 return strchr(GetRecord(ID).Attributes, 'F') != 0; 129 return strchr(GetRecord(ID).Attributes, 'f') != 0; 136 return strchr(GetRecord(ID).Attributes, 'i') != 0; 141 return strchr(GetRecord(ID).Attributes, 't') != 0; 169 return strchr(GetRecord(ID).Attributes, 'e') != 0 [all...] |
/external/valgrind/main/memcheck/tests/ |
strchr.stderr.exp | 3 by 0x........: main (strchr.c:15) 7 by 0x........: main (strchr.c:15) 11 by 0x........: main (strchr.c:16) 15 by 0x........: main (strchr.c:16)
|
strchr.c | 4 // The issue here is the same one in memcmptest -- 'strchr' and 'index' are 15 a = strchr (s, '1');
|
/external/valgrind/unittest/ |
memory_unittest.cc | 51 // There were bugs in TSan and Dr. Memory with strchr wrappers. 55 EXPECT_TRUE(strchr(foo, 10) != 0); 56 EXPECT_TRUE(strchr(foo, 127) != 0); 57 EXPECT_TRUE(strchr(foo, 128) != 0); 58 EXPECT_TRUE(strchr(foo, 250) != 0); 59 EXPECT_TRUE(strchr(foo, -50) != 0); 60 EXPECT_TRUE(strchr(foo, -60) == 0); 61 EXPECT_TRUE(strchr(foo, 0) != 0); 62 EXPECT_TRUE(strchr(foo, 0) == foo + strlen(foo));
|
/bionic/libc/stdlib/ |
putenv.c | 42 if ((equal = strchr(p, '=')) == NULL) {
|
/external/libyuv/files/unit_test/ |
version_test.cc | 27 const char *ver = strchr(LIBYUV_SVNREVISION, ':');
|
/external/oprofile/libpopt/ |
findme.c | 22 if (strchr(argv0, '/')) 35 if ((chptr = strchr(start, ':')))
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 52 char *p, *end = strchr (str, '\0') + 1; 127 if (strchr (letters, *src)) 153 if (!in_class && strchr (letters, *src)) 157 if (!in_class && *src == '[' && strchr (":.=", src[1])) 159 else if (in_class && *src == ']' && strchr (":.=", src[-1])) 301 p = strchr (matches, ','); 370 if (!strchr (pattern, 'a') && !strchr (string, 'a') 371 && !strchr (pattern, 'A') && !strchr (string, 'A') [all...] |
/external/bison/lib/ |
mbschr.c | 51 return strchr (string, c);
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGUse.cpp | 26 const char* start = strchr(f_xlink_href.c_str(), '#') + 1;
|
SkSVGPath.cpp | 23 const char* firstZ = strchr(f_d.c_str(), 'z');
|
/external/skia/src/svg/ |
SkSVGUse.cpp | 26 const char* start = strchr(f_xlink_href.c_str(), '#') + 1;
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkg_icu.cpp | 38 const char *listNameEnd=strchr(listname, 0); 75 listNameEnd=strchr(listname, 0); 91 end=strchr(line, '#'); 96 end=strchr(line, 0); 106 if(*start==0 || NULL!=strchr(U_PKG_RESERVED_CHARS, *start)) {
|
/external/icu4c/tools/toolutil/ |
pkg_icu.cpp | 38 const char *listNameEnd=strchr(listname, 0); 77 listNameEnd=strchr(listname, 0); 93 end=strchr(line, '#'); 98 end=strchr(line, 0); 108 if(*start==0 || NULL!=strchr(U_PKG_RESERVED_CHARS, *start)) {
|
/ndk/sources/host-tools/make-3.81/ |
vmsify.c | 151 if (strchr (s, '\\') == 0) 246 s1 = strchr (s+1, '['); 247 s2 = strchr (s+1, ']'); 252 if (strchr (name, '/') == 0) 279 s = strchr (name, '['); 283 s1 = strchr (s+1, '['); 287 && (strchr (s+1, ']') == 0)) 321 s1 = strchr (s, ']'); 373 s = strchr (fptr, '/'); 417 s = strchr (s1, ':') [all...] |
/external/clang/lib/Basic/ |
Builtins.cpp | 51 strchr(BuiltinInfo.Attributes, 'f'); 76 if (!LangOpts.NoBuiltin || !strchr(TSRecords[i].Attributes, 'f')) 84 if (!strchr(BuiltinInfo[i].Attributes, 'f')) 89 if (!strchr(TSRecords[i].Attributes, 'f')) 110 assert(strchr(Printf, ':') && "printf specifier must end with a ':'"); 129 assert(strchr(Scanf, ':') && "printf specifier must end with a ':'");
|
/external/e2fsprogs/resize/ |
test_extent.c | 43 cp = strchr(buf, '\n'); 53 cp = strchr(buf, ' '); 59 cp = strchr(cp, ' ');
|
/external/compiler-rt/lib/asan/ |
asan_interceptors.h | 23 DECLARE_REAL(char*, strchr, const char *str, int c)
|