/external/chromium/base/ |
string_util.cc | 168 template<typename STR> 169 bool RemoveCharsT(const STR& input, 170 const typename STR::value_type remove_chars[], 171 STR* output) { 178 while (found != STR::npos) { 180 output->replace(found, 1, STR()); 207 template<typename STR> 208 TrimPositions TrimStringT(const STR& input, 209 const typename STR::value_type trim_chars[], 211 STR* output) [all...] |
/external/icu4c/test/cintltst/ |
cnmdptst.c | 34 #define CHECK(status,str) if (U_FAILURE(status)) { log_err("FAIL: %s\n", str); return; } 66 UChar *str=NULL; local 101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 102 unum_format(fmt, 0, str, lneed+1, NULL, &status); 108 if (u_strcmp(str, unum) != 0) 110 log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(str) ); 114 free(str); 126 UChar *str=NULL; local 139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ) 194 UChar *str=NULL; local 342 UChar *str=NULL; local 413 UChar *str; local 460 UChar *str=NULL, *res=NULL; local 530 UChar *str=NULL, *res=NULL; local [all...] |
/external/chromium/testing/gtest/src/ |
gtest-port.cc | 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of str 136 // (including str itself). 137 bool RE::PartialMatch(const char* str, const RE& re) { 141 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0; 176 // Returns true iff ch appears anywhere in str (excluding the 178 bool IsInSet(char ch, const char* str) { 179 return ch != '\0' && strchr(str, ch) != NULL [all...] |
gtest-typed-test.cc | 40 // Skips to the first non-space char in str. Returns an empty string if str 42 static const char* SkipSpaces(const char* str) { 43 while (IsSpace(*str)) 44 str++; 45 return str;
|
/external/gtest/src/ |
gtest-port.cc | 86 // Returns true iff regular expression re matches the entire str. 87 bool RE::FullMatch(const char* str, const RE& re) { 91 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 94 // Returns true iff regular expression re matches a substring of str 95 // (including str itself). 96 bool RE::PartialMatch(const char* str, const RE& re) { 100 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0; 134 // Returns true iff ch appears anywhere in str (excluding the 136 bool IsInSet(char ch, const char* str) { 137 return ch != '\0' && strchr(str, ch) != NULL 583 << " has value \\"" << str << "\\".\\n"; local 600 << " has value " << str << ", which overflows.\\n"; local [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-port.cc | 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of str 136 // (including str itself). 137 bool RE::PartialMatch(const char* str, const RE& re) { 141 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0; 176 // Returns true iff ch appears anywhere in str (excluding the 178 bool IsInSet(char ch, const char* str) { 179 return ch != '\0' && strchr(str, ch) != NULL [all...] |
/external/protobuf/gtest/src/ |
gtest-port.cc | 117 // Returns true iff regular expression re matches the entire str. 118 bool RE::FullMatch(const char* str, const RE& re) { 122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 125 // Returns true iff regular expression re matches a substring of str 126 // (including str itself). 127 bool RE::PartialMatch(const char* str, const RE& re) { 131 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0; 165 // Returns true iff ch appears anywhere in str (excluding the 167 bool IsInSet(char ch, const char* str) { 168 return ch != '\0' && strchr(str, ch) != NULL [all...] |
/bionic/linker/ |
linker_environ.c | 33 /* Returns 1 if 'str' points to a valid environment variable definition. 39 _is_valid_definition(const char* str) 49 if (str == NULL) 54 if (str[pos] == '\0') 56 if (str[pos] == '=' && first_equal_pos < 0)
|
/dalvik/docs/ |
prettify.css | 3 .str { color: #080; } 17 .str { color: #060; }
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
AnnoArrayField.java | 18 String[] str() default {};
|
/dalvik/vm/compiler/template/armv5te/ |
TEMPLATE_INVOKE_METHOD_NO_OPT.S | 21 str rPC, [rFP, #(offStackSaveArea_currentPc - sizeofStackSaveArea)] 22 str rPC, [r1, #(offStackSaveArea_savedPc - sizeofStackSaveArea)] 27 str rFP, [r1, #(offStackSaveArea_prevFrame - sizeofStackSaveArea)] 28 str r3, [r1, #(offStackSaveArea_returnAddr - sizeofStackSaveArea)] 29 str r0, [r1, #(offStackSaveArea_method - sizeofStackSaveArea)] 43 str r0, [rSELF, #offThread_method] @ self->method = methodToCall 44 str r3, [rSELF, #offThread_methodClassDex] @ self->methodClassDex = ... 46 str rFP, [rSELF, #offThread_curFrame] @ curFrame = newFp
|
TEMPLATE_PERIODIC_PROFILING.S | 18 str r2, [r0] 19 str r3, [r1]
|
header.S | 89 str rPC, [rFP, #(-sizeofStackSaveArea + offStackSaveArea_currentPc)]
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.java | 142 * Writes the characters from the String <code>str</code> to this 145 * @param str 150 public void write(String str) { 152 buf.append(str); 158 * <code>offset</code> from the String <code>str</code> to this 161 * @param str 172 public void write(String str, int offset, int count) { 173 String sub = str.substring(offset, offset + count);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncConcat.java | 50 sb.append(m_arg0.execute(xctxt).str()); 51 sb.append(m_arg1.execute(xctxt).str()); 54 sb.append(m_arg2.execute(xctxt).str()); 60 sb.append(m_args[i].execute(xctxt).str());
|
/external/astl/include/ |
char_traits.h | 67 static size_t length(const char* str) { return std::strlen(str); } 69 static const char* find(const char* str, size_t n, const char& c) 70 { return static_cast<const char*>(std::memchr(str, c, n)); }
|
stdio_filebuf.h | 51 virtual std::streamsize xsputn(const char_type* str, std::streamsize num);
|
/external/bzip2/ |
format.pl | 43 my ($prev, $curr, $str); 50 $str = '';
|
/external/chromium/android/jni/ |
jni_utils.h | 26 jstring ConvertUTF8ToJavaString(JNIEnv* env, std::string str);
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-string.h | 171 String(const String& str) : c_str_(NULL) { 172 *this = str; 244 inline ::std::ostream& operator <<(::std::ostream& os, const String& str) { 247 return os << String::ShowCString(str.c_str());
|
/external/chromium/third_party/libjingle/source/talk/base/ |
helpers.h | 51 bool CreateRandomString(size_t length, std::string* str);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
UndefinedAssignmentChecker.cpp | 46 const char *str = "Assigned value is garbage or undefined"; local 49 BT.reset(new BuiltinBug(str)); 59 str = "The left expression of the compound assignment is an " 78 BugReport *R = new BugReport(*BT, str, N);
|
/external/clang/test/CodeGen/ |
staticinit.c | 13 static char* str = "forty-two"; local
|
/external/clang/test/Preprocessor/ |
output_paste_avoid.c | 26 E: test(str) 27 // Should expand to L "str" not L"str" 28 // CHECK: E: L "str"
|
/external/elfutils/libdw/ |
dwarf_getmacros.c | 58 const char *str = NULL; local 77 str = (char *) readp; 98 if (str == NULL) 101 mac.param2.s = str;
|