/ndk/sources/cxx-stl/stlport/stlport/stl/ |
H A D | _string_fwd.h | 40 typedef basic_string<char, char_traits<char>, allocator<char> > string; typedef 48 //This function limits header dependency between exception and string 50 const char* _STLP_CALL __get_c_string(const string& __str);
|
H A D | msl_string.h | 22 # define string __msl_string macro 33 # include_next <string> 35 # include _STLP_NATIVE_HEADER(string) 43 # undef string macro
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
H A D | strnlen.c | 23 #include <string.h> 29 strnlen (const char *string, size_t maxlen) argument 31 const char *end = memchr (string, '\0', maxlen); 32 return end ? (size_t) (end - string) : maxlen;
|
H A D | xstrndup.c | 1 /* Duplicate a bounded initial segment of a string, with out-of-memory 23 #include <string.h> 30 xstrndup (const char *string, size_t n) argument 32 char *s = strndup (string, n);
|
H A D | xmalloc.c | 29 #include <string.h> 115 xstrdup (char const *string) argument 117 return xmemdup (string, strlen (string) + 1);
|
H A D | stdio-write.c | 126 fputs (const char *string, FILE *stream) argument 129 CALL_WITH_SIGPIPE_EMULATION (int, fputs (string, stream), ret == EOF) 133 puts (const char *string) argument 137 CALL_WITH_SIGPIPE_EMULATION (int, puts (string), ret == EOF)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.members/ |
H A D | compare_string_type.pass.cpp | 24 typedef SM::string_type string; typedef 27 assert(sm.compare(string()) == 0); 32 assert(sm.compare(string()) > 0); 33 assert(sm.compare(string("123")) == 0); 38 typedef SM::string_type string; typedef 41 assert(sm.compare(string()) == 0); 46 assert(sm.compare(string()) > 0); 47 assert(sm.compare(string(L"123")) == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
H A D | compare.pass.cpp | 223 typedef std::basic_string<CharT> string; typedef 224 typedef std::sub_match<typename string::const_iterator> sub_match; 263 assert((x[0] == sm2) == (string(1, x[0]) == y)); 264 assert((x[0] != sm2) == (string(1, x[0]) != y)); 265 assert((x[0] < sm2) == (string(1, x[0]) < y)); 266 assert((x[0] > sm2) == (string(1, x[0]) > y)); 267 assert((x[0] <= sm2) == (string(1, x[0]) <= y)); 268 assert((x[0] >= sm2) == (string(1, x[0]) >= y)); 269 assert((sm1 == y[0]) == (x == string(1, y[0]))); 270 assert((sm1 != y[0]) == (x != string( [all...] |
H A D | stream.pass.cpp | 26 typedef std::basic_string<CharT> string; typedef 27 typedef std::sub_match<typename string::const_iterator> SM; 40 test(std::string("123"));
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
H A D | bug-regex13.c | 32 #include <string.h> 38 const char *string; member in struct:__anon220 98 start = re_search (®buf, tests[i].string, strlen (tests[i].string), 99 0, strlen (tests[i].string), NULL);
|
H A D | bug-regex27.c | 24 #include <string.h> 29 const char *string; member in struct:tests 55 int rv = regexec (&r, tests[i].string, 0, NULL, 0);
|
H A D | bug-regex11.c | 37 const char *string; member in struct:__anon218 119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0))
|
H A D | bug-regex12.c | 37 const char *string; member in struct:__anon219 70 if (! regexec (&re, tests[i].string, tests[i].nmatch,
|
H A D | bug-regex28.c | 24 #include <string.h> 29 const char *string; member in struct:tests 65 size_t len = strlen (tests[i].string); 66 int rv = re_search (&r, tests[i].string, len, 0, len, NULL);
|
H A D | tst-boost.c | 32 #include <string.h> 85 char *pattern, *string; local 150 string = p + strspn (p, " \t"); 151 if (*string == '\0') 153 if (*string == '"') 155 string++; 156 p = strchr (string, '"'); 163 p = string + strcspn (string, " \t"); 164 if (*string [all...] |
H A D | tst-pcre.c | 32 #include <string.h> 42 char *pattern = NULL, *string = NULL; local 153 string = realloc (string, len - 3); 154 if (string == NULL) 156 printf ("%lu: Cannot record search string: %m\n", linenum); 163 memcpy (string, line + 4, len - 3); 177 if (regexec (&re, string, 20, rm, 0)) 190 printf ("%lu: No preceeding pattern or search string\n", linenum); 200 linenum, pattern, string, r [all...] |
H A D | tst-regex2.c | 10 #include <string.h> 28 char *string; local 63 string = buf; 109 err = regexec (&rbuf, string, 71, pmatch, 0); 120 || string + pmatch[0].rm_so >= strchr (string, 'R') 121 || strncmp (string + pmatch[0].rm_so, 147 match = re_search (&rpbuf, string, len, 0, len, 156 || string + match >= strchr (string, ' [all...] |
/ndk/sources/third_party/googletest/googletest/samples/ |
H A D | sample2.h | 37 #include <string.h> 40 // A simple string class. 47 // Clones a 0-terminated C string, allocating memory using new. 54 // The default c'tor constructs a NULL string. 57 // Constructs a MyString by cloning a 0-terminated C string. 63 MyString(const MyString& string) : c_string_(NULL) { argument 64 Set(string.c_string_); 73 // Gets the 0-terminated C string this MyString object represents. 80 // Sets the 0-terminated C string this MyString object represents.
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-filepath.h | 43 #include "gtest/internal/gtest-string.h" 64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 77 const std::string& string() const { return pathname_; } function in class:testing::internal::FilePath 114 // the name, otherwise return the name string unmodified. 200 std::string pathname_;
|
/ndk/tests/device/test-gnustl-full/unit/ |
H A D | copy_test.cpp | 42 char string[23] = "A string to be copied."; local 44 copy(string, string + 23, result); 45 CPPUNIT_ASSERT(!strncmp(string, result, 23));
|
/ndk/tests/device/test-stlport/unit/ |
H A D | copy_test.cpp | 42 char string[23] = "A string to be copied."; local 44 copy(string, string + 23, result); 45 CPPUNIT_ASSERT(!strncmp(string, result, 23));
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
H A D | rvalue1.cpp | 31 void foofun(String string) argument
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
H A D | rvalue1.cpp | 31 void foofun(String string) argument
|
/ndk/sources/host-tools/make-3.81/ |
H A D | vmsfunctions.c | 161 static struct dsc$descriptor_s string = local
|
/ndk/sources/host-tools/ndk-stack/regex/ |
H A D | regexec.c | 47 #include <string.h> 139 regexec(const regex_t *preg, const char *string, size_t nmatch, argument 157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); 159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
|