/external/webkit/Source/WebCore/platform/ |
CrossThreadCopier.cpp | 49 CrossThreadCopierBase<false, false, String>::Type CrossThreadCopierBase<false, false, String>::copy(const String& str) 51 return str.crossThreadString();
|
/external/webkit/Source/WebCore/platform/network/ |
HTTPParsers.cpp | 45 static inline bool skipWhiteSpace(const String& str, unsigned& pos, bool fromHttpEquivMeta) 47 unsigned len = str.length(); 50 while (pos != len && str[pos] <= ' ') 53 while (pos != len && (str[pos] == '\t' || str[pos] == ' ')) 61 // Note: Might return pos == str.length() 62 static inline bool skipToken(const String& str, unsigned& pos, const char* token) 64 unsigned len = str.length(); 67 if (toASCIILower(str[pos]) != *token++)
|
/external/webkit/Source/WebCore/platform/qt/ |
KURLQt.cpp | 37 QString str = QString::fromRawData(reinterpret_cast<const QChar*>(m_string.characters()), m_string.length()); local 38 QByteArray ba = str.toUtf8();
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
NetworkState.java | 141 StringBuffer str = new StringBuffer ("States: "); local 142 str.append(printStates()); 144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.", 146 mReason = str.toString(); 151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s", 153 mReason = str.toString(); 167 str.append(String.format(" Transition state from %s to %s is not valid", 169 mReason = str.toString(); 173 mReason = str.toString(); 182 StringBuffer str = new StringBuffer("States ") local [all...] |
/frameworks/base/include/utils/ |
misc.h | 37 * Returns NULL if "str" is NULL. 39 char* strdupNew(const char* str); 88 void k_itoa(int value, char* str, int base);
|
/frameworks/base/tests/CoreTests/android/core/ |
CharArrayWriterTest.java | 31 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; local 35 a.write(str, 0, 26);
|
/frameworks/compile/slang/ |
slang_diagnostic_buffer.h | 51 inline const std::string &str() const { function in class:slang::DiagnosticBuffer 57 this->mSOS->str().clear();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidBufferedInputStreamTest.java | 32 String str = "AbCdEfGhIjKlM\nOpQrStUvWxYz"; local 33 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes()); 34 ByteArrayInputStream ba = new ByteArrayInputStream(str.getBytes()); 35 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes()); 36 ByteArrayInputStream da = new ByteArrayInputStream(str.getBytes()); 37 ByteArrayInputStream ea = new ByteArrayInputStream(str.getBytes()); 41 Assert.assertEquals(str, read(a)); 76 assertEquals(str, read(e, 10000));
|
OldAndroidBufferedWriterTest.java | 29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; local 34 a.write(str.toCharArray(), 0, 26);
|
OldAndroidDataOutputStreamTest.java | 29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; local 34 a.write(str.getBytes(), 0, 26);
|
OldAndroidOutputStreamWriterTest.java | 29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; local 33 a.write(str, 0, 4);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLContextSpiTest.java | 61 String str = re.getMessage(); local 62 if (!str.equals("Not initialiazed")) 63 fail("Incorrect exception message: " + str); 80 String str = re.getMessage(); local 81 if (!str.equals("Not initialiazed")) 82 fail("Incorrect exception message: " + str); 111 String str = re.getMessage(); local 112 if (!str.equals("Not initialiazed")) 113 fail("Incorrect exception message: " + str); 122 String str = re.getMessage() local 133 String str = re.getMessage(); local 144 String str = re.getMessage(); local [all...] |
/packages/apps/Browser/tools/ |
get_search_engines.py | 69 def getXmlString(self, str): 77 str = str.strip() 78 if str.upper() == 'NULL': 81 if str.startswith('L"'): 82 str = str[2:] 83 if str.startswith('@') or str.startswith('?'): 84 str = '\\' + st [all...] |
/system/extras/tests/sdcard/ |
sysutil.h | 60 // @param str points to the buffer where the kernel version should be 62 // @param size of the buffer pointed by str. 65 int kernelVersion(char *str, size_t size); 84 // @param str points to the buffer where the sched features should be 86 // @param size of the buffer pointed by str. 89 int schedFeatures(char *str, size_t size);
|
/external/valgrind/main/coregrind/ |
m_libcbase.c | 67 Long VG_(strtoll10) ( Char* str, Char** endptr ) 71 Char* str0 = str; 74 while (VG_(isspace)(*str)) str++; 77 if (*str == '-') { str++; neg = True; } 78 else if (*str == '+') { str++; } 80 while (is_dec_digit(*str, &digit)) { 83 str++ [all...] |
/external/chromium/base/i18n/ |
break_iterator_unittest.cc | 24 string16 str(UTF8ToUTF16(" foo bar! \npouet boom")); 25 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD); 65 const string16 str(WideToUTF16( 68 const string16 word1(str.substr(0, 10)); 69 const string16 word2(str.substr(11, 5)); 70 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD); 90 const string16 str( 92 const string16 very_wide_word(str.substr(0, 2)); 94 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD); 122 string16 str(UTF8ToUTF16(" foo bar! \npouet boom")) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
macutils.cc | 81 ss.str(""); 84 out->append(ss.str()); 88 std::string str; local 89 DecodeFourChar(::GetEventClass(event), &str); local 90 str.push_back(':'); 91 DecodeFourChar(::GetEventKind(event), &str); local 92 return str; 103 std::string str; local 104 DecodeFourChar(ostype, &str); 105 LOG_E(LS_ERROR, OS, result) << "Gestalt(" << str << ")"; [all...] |
/external/stlport/test/unit/ |
string_test.cpp | 248 CPPUNIT_MESSAGE(ostr.str().c_str()); 258 string const ref_long_str1("str 1"); 259 string const ref_long_str2("str 2"); 328 string str(c_str); 329 CPPUNIT_ASSERT( str == c_str ); 331 str.erase(str.begin() + 1, str.end() - 1); // Erase all but first and last. 334 for (i = 0; i < str.size(); ++i) { 337 CPPUNIT_ASSERT( str[i] == 'H' ) 457 string str; local 594 string str = strorg; local 1135 const string& str() const function in class:mypath 1278 ostr << str; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
string_test.cpp | 248 CPPUNIT_MESSAGE(ostr.str().c_str()); 258 string const ref_long_str1("str 1"); 259 string const ref_long_str2("str 2"); 328 string str(c_str); 329 CPPUNIT_ASSERT( str == c_str ); 331 str.erase(str.begin() + 1, str.end() - 1); // Erase all but first and last. 334 for (i = 0; i < str.size(); ++i) { 337 CPPUNIT_ASSERT( str[i] == 'H' ) 457 string str; local 594 string str = strorg; local 1135 const string& str() const function in class:mypath 1278 ostr << str; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
string_test.cpp | 248 CPPUNIT_MESSAGE(ostr.str().c_str()); 258 string const ref_long_str1("str 1"); 259 string const ref_long_str2("str 2"); 328 string str(c_str); 329 CPPUNIT_ASSERT( str == c_str ); 331 str.erase(str.begin() + 1, str.end() - 1); // Erase all but first and last. 334 for (i = 0; i < str.size(); ++i) { 337 CPPUNIT_ASSERT( str[i] == 'H' ) 457 string str; local 594 string str = strorg; local 1135 const string& str() const function in class:mypath 1278 ostr << str; local [all...] |
/external/iproute2/tc/ |
tc.c | 101 struct qdisc_util *get_qdisc_kind(const char *str) 108 if (!strcmp(str, "cbq")) 110 else if (!strcmp(str, "htb")) 112 else if (!strcmp(str, "ingress")) 115 fprintf(stderr, "Android does not support qdisc '%s'\n", str); 120 if (strcmp(q->id, str) == 0) 123 snprintf(buf, sizeof(buf), "%s/q_%s.so", get_tc_lib(), str); 135 snprintf(buf, sizeof(buf), "%s_qdisc_util", str); 150 q->id = strcpy(malloc(strlen(str)+1), str); [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
H264SwDecApi.c | 66 #define DEC_API_TRC(str) H264SwDecTrace(str) 68 #define DEC_API_TRC(str) 152 sprintf(pDecCont->str, "H264SwDecInit# decInst %p noOutputReordering %d", 154 DEC_API_TRC(pDecCont->str); 168 sprintf(pDecCont->str, "H264SwDecInit# OK: return %p", (void*)pDecCont); 169 DEC_API_TRC(pDecCont->str); 222 sprintf(((decContainer_t*)decInst)->str, 224 DEC_API_TRC(((decContainer_t*)decInst)->str); 291 sprintf(pDecCont->str, "H264SwDecRelease# decInst %p",decInst) [all...] |
/external/oprofile/libpp/ |
profile_spec.cpp | 34 string const fixup_image_spec(string const & str, extra_images const & extra) 36 // On error find_image_path() return str, so if an occur we will 39 return extra.find_image_path(str, error, true); 94 void profile_spec::set_image_or_lib_name(string const & str) 98 image_or_lib_image.push_back(fixup_image_spec(str, extra_found_images)); 102 void profile_spec::parse_archive_path(string const & str) 104 archive_path = op_realpath(str); 114 void profile_spec::parse_session(string const & str) 116 session = separate_token(str, ','); 120 void profile_spec::parse_session_exclude(string const & str) [all...] |
/external/chromium/testing/gmock/test/ |
gmock-cardinalities_test.cc | 94 EXPECT_EQ("never called", ss0.str()); 98 EXPECT_EQ("called once", ss1.str()); 102 EXPECT_EQ("called twice", ss2.str()); 106 EXPECT_EQ("called 3 times", ss3.str()); 124 ss.str()); 152 ss.str()); 169 ss1.str()); 174 ss2.str()); 179 ss3.str()); 207 ss.str()); [all...] |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 1965 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); local 1985 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); local 2045 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); local 2121 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); local 2176 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); local 2224 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); local 2268 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); local 2309 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); local 2524 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); local 2565 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); local 2602 String str = get(KEY_ANTIBANDING + SUPPORTED_VALUES_SUFFIX); local 2655 String str = get(KEY_SCENE_MODE + SUPPORTED_VALUES_SUFFIX); local 2692 String str = get(KEY_FLASH_MODE + SUPPORTED_VALUES_SUFFIX); local 2732 String str = get(KEY_FOCUS_MODE + SUPPORTED_VALUES_SUFFIX); local 2875 String str = get(KEY_AUTO_EXPOSURE_LOCK); local 2889 String str = get(KEY_AUTO_EXPOSURE_LOCK_SUPPORTED); local 2947 String str = get(KEY_AUTO_WHITEBALANCE_LOCK); local 2961 String str = get(KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED); local 2998 String str = get(KEY_ZOOM_SUPPORTED); local 3036 String str = get(KEY_SMOOTH_ZOOM_SUPPORTED); local 3271 String str = get(KEY_VIDEO_SNAPSHOT_SUPPORTED); local 3308 String str = get(KEY_VIDEO_STABILIZATION); local 3321 String str = get(KEY_VIDEO_STABILIZATION_SUPPORTED); local [all...] |