/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RbnfLenientScanner.java | 39 * @param str The string being tested 40 * @param prefix The text we're hoping to see at the beginning of "str" 41 * @return the number of characters in "str" that were matched 45 int prefixLength(String str, String prefix); 50 * @param str The string to search 51 * @param key The string to search "str" for 52 * @param startingAt The index into "str" where the search is to 56 * number of characters in "str" that matched (which isn't necessarily 61 int[] findText(String str, String key, int startingAt);
|
/external/icu/icu4c/source/common/ |
stringpiece.cpp | 18 StringPiece::StringPiece(const char* str) 19 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int32_t>(uprv_strlen(str))) { } 46 void StringPiece::set(const char* str) { 47 ptr_ = str; 48 if (str != NULL) 49 length_ = static_cast<int32_t>(uprv_strlen(str));
|
/external/icu/icu4c/source/samples/datefmt/ |
util.h | 20 void uprintf(const UnicodeString &str);
|
/external/icu/icu4c/source/samples/msgfmt/ |
util.h | 20 void uprintf(const UnicodeString &str);
|
/external/icu/icu4c/source/samples/translit/ |
util.h | 20 void uprintf(const UnicodeString &str);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RbnfLenientScanner.java | 37 * @param str The string being tested 38 * @param prefix The text we're hoping to see at the beginning of "str" 39 * @return the number of characters in "str" that were matched 43 int prefixLength(String str, String prefix); 48 * @param str The string to search 49 * @param key The string to search "str" for 50 * @param startingAt The index into "str" where the search is to 54 * number of characters in "str" that matched (which isn't necessarily 59 int[] findText(String str, String key, int startingAt);
|
/external/ipsec-tools/src/libipsec/ |
ipsec_strerror.c | 90 void __ipsec_set_strerror(const char *str) 93 ipsec_errlist[EIPSEC_SYSTEM_ERROR] = str;
|
/external/libchrome/crypto/ |
sha2.h | 23 // Computes the SHA-256 hash of the input string 'str' and stores the first 26 CRYPTO_EXPORT void SHA256HashString(const base::StringPiece& str, 31 CRYPTO_EXPORT std::string SHA256HashString(const base::StringPiece& str);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
default.pass.cpp | 23 assert(s.str() == nullptr); 28 assert(s.str() == nullptr);
|
/external/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/ |
string.pass.cpp | 15 // explicit basic_ostringstream(const basic_string<charT,traits,allocator>& str, 27 assert(ss.str() == " 123 456"); 30 assert(ss.str() == "234 5676"); 36 assert(ss.str() == " 123 456"); 39 assert(ss.str() == "234 5676"); 45 assert(ss.str() == L" 123 456"); 48 assert(ss.str() == L"234 5676"); 54 assert(ss.str() == L" 123 456"); 57 assert(ss.str() == L"234 5676");
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
setbuf.pass.cpp | 25 assert(sb.str() == "0123456789"); 30 assert(sb.str() == L"0123456789");
|
/external/libcxx/test/std/input.output/string.streams/stringstream.members/ |
str.pass.cpp | 15 // void str(const basic_string<charT,traits,Allocator>& str); 26 assert(ss.str() == " 123 456 "); 33 assert(ss.str() == "456 1236 "); 34 ss.str("5466 89 "); 40 assert(ss.str() == "89 3219 "); 46 assert(ss.str() == L" 123 456 "); 53 assert(ss.str() == L"456 1236 "); 54 ss.str(L"5466 89 "); 60 assert(ss.str() == L"89 3219 ") [all...] |
/external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.incr/ |
post.pass.cpp | 31 assert(i->str() == "start "); 32 assert(i2->str() == "start "); 37 assert(i->str() == ", "); 38 assert(i2->str() == "start "); 39 assert(i3->str() == "start "); 44 assert(i->str() == ", "); 45 assert(i2->str() == "start "); 46 assert(i3->str() == ", "); 51 assert(i->str() == " end"); 52 assert(i2->str() == "start ") [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string.accessors/ |
data.pass.cpp | 26 const typename S::value_type* str = s.data(); local 29 assert(T::compare(str, &s[0], s.size()) == 0); 30 assert(T::eq(str[s.size()], typename S::value_type())); 33 assert(T::eq(str[0], typename S::value_type())); 41 typename S::value_type* str = s.data(); local 44 assert(T::compare(str, &s[0], s.size()) == 0); 45 assert(T::eq(str[s.size()], typename S::value_type())); 48 assert(T::eq(str[0], typename S::value_type()));
|
/external/libcxx/utils/google-benchmark/cmake/ |
gnu_posix_regex.cpp | 4 std::string str = "test0159"; local 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
posix_regex.cpp | 4 std::string str = "test0159"; local 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
std_regex.cpp | 4 const std::string str = "test0159"; local 8 return std::regex_search(str, re) ? 0 : -1;
|
/external/libxaac/decoder/drc_src/ |
impd_drc_api_defs.h | 40 #define IA_STR(str) #str
|
/external/libxaac/decoder/ |
ixheaacd_api_defs.h | 30 #define IA_STR(str) #str
|
/external/llvm/test/tools/sancov/Inputs/ |
test.cpp | 12 std::string bar(std::string str) { printf("bar\n"); return str; } 17 bar("str");
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
v4l2_validator.h | 16 int valid_string(char* str, unsigned int max_length);
|
/external/mesa3d/src/mesa/program/ |
arbprogparse.h | 36 const GLvoid *str, GLsizei len, 41 const GLvoid *str, GLsizei len,
|
/external/pdfium/core/fxge/win32/ |
cpsoutput.h | 21 bool WriteBlock(const void* str, size_t len) override; 22 bool WriteString(const ByteStringView& str) override;
|
/external/perfetto/protos/perfetto/trace/ |
test_event.proto | 25 optional string str = 1;
|
/external/perfetto/src/base/ |
string_splitter.cc | 26 StringSplitter::StringSplitter(std::string str, char delimiter) 27 : str_(std::move(str)), delimiter_(delimiter) { 28 // It's legal to access str[str.size()] in C++11 (it always returns \0), 33 StringSplitter::StringSplitter(char* str, size_t size, char delimiter) 35 Initialize(str, size); 43 void StringSplitter::Initialize(char* str, size_t size) { 44 PERFETTO_DCHECK(!size || str); 45 next_ = str; 46 end_ = str + size [all...] |