/external/webkit/Source/WebKit/android/wds/client/ |
ClientUtils.h | 40 #define log_errno(str) ALOGE("%s: %s", str, strerror(errno))
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
uuid.h | 20 int uuid_str2bin(const char *str, u8 *bin); 21 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
DurationTest.java | 26 private void verifyDuration(String str, 31 duration.parse(str); 33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign); 34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks); 35 assertEquals("Duration days is not equal for " + str, days, duration.days); 36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours); 37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes); 38 assertEquals("Duration seconds is not equal for " + str, seconds, duration.seconds);
|
/frameworks/wilhelm/src/ |
trace.c | 49 const char *str = slesutResultToString(result); local 50 if (NULL != str) { 51 SL_LOGW("Leaving %s (%s)", function, str); 112 const char *str = slesutResultToString(result); local 114 if (NULL != str) { 116 &underscore[1], str); 122 if (NULL != str) { 123 SL_LOGW("Leaving %s (%s)", function, str);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultHandshakeStatusTest.java | 33 String[] str = {"NOT_HANDSHAKING", "FINISHED", "NEED_TASK", "NEED_WRAP", "NEED_UNWRAP"}; local 35 if (enS.length == str.length) { 38 assertEquals("Incorrect Status", enS[i].toString(), str[i]); 49 String[] str = {"FINISHED", "NEED_TASK", "NEED_UNWRAP", "NEED_WRAP", "NOT_HANDSHAKING"}; local 55 for (int i = 0; i < str.length; i++) { 57 enS = SSLEngineResult.HandshakeStatus.valueOf(str[i]); 58 assertEquals("Incorrect Status", enS.toString(), str[i]); 60 fail("Unexpected exception " + e + " was thrown for " + str[i]);
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
NullWriter.java | 70 * @param str The string to write
72 public void write(String str) {
78 * @param str The string to write
82 public void write(String str, int st, int end) {
|
/external/astl/src/ |
streambuf.cpp | 42 streamsize streambuf::xsputn(const char_type* str, streamsize num) { 50 traits_type::copy(this->pptr(), str, len); 52 str += len; 61 int_type c = this->overflow(traits_type::to_int_type(*str)); 64 ++str;
|
/external/icu4c/samples/translit/answers/ |
unaccent.cpp | 27 UnicodeString str(c); 31 t->normalizer.setText(str, status); 44 UnicodeString str("a"); 49 str.setCharAt(0, d); 50 text.handleReplaceBetween(index.start, index.start+1, str);
|
main_1.cpp | 24 UnicodeString str, str2; local 48 str.remove(); 49 defFmt->format(cal->getTime(status), str, status); 52 uprintf(escape(str)); 56 str.remove(); 57 fmt->format(cal->getTime(status), str, status); 60 uprintf(escape(str));
|
/external/icu4c/samples/translit/ |
unaccent.cpp | 29 UnicodeString str(c); 33 t->normalizer.setText(str, status); 46 UnicodeString str("a"); 51 str.setCharAt(0, d); 52 text.handleReplaceBetween(index.start, index.start+1, str);
|
/external/regex-re2/util/ |
rune.cc | 49 chartorune(Rune *rune, const char *str) 58 c = *(unsigned char*)str; 68 c1 = *(unsigned char*)(str+1) ^ Tx; 85 c2 = *(unsigned char*)(str+2) ^ Tx; 100 c3 = *(unsigned char*)(str+3) ^ Tx; 125 runetochar(char *str, const Rune *rune) 136 str[0] = c; 145 str[0] = T2 | (c >> 1*Bitx); 146 str[1] = Tx | (c & Maskx); 164 str[0] = T3 | (c >> 2*Bitx) 184 char str[10]; local [all...] |
/external/valgrind/main/coregrind/ |
link_tool_exe_darwin.in | 88 my ($str) = @_; 89 if ($str =~ /.\.a$/ || $str =~ /.\.o$/) { 115 my $str = $ARGV[$n]; 116 if ($str eq "-o" && $outname eq "") { 129 my $str = $ARGV[$n]; 130 if ($str eq "-arch" && $archstr eq "") { 157 my $str = $ARGV[$n]; 158 if (is_dota_or_doto($str)) { 159 $cmd = "$cmd $str"; [all...] |
/external/webkit/Source/WebCore/platform/text/brew/ |
TextBoundariesBrew.cpp | 51 String str(buffer, len); 55 while (currentPosition >= 0 && isLetter(str[currentPosition])) { 56 UChar c = str[currentPosition]; 65 while (isLetter(str[currentPosition])) { 66 foundWord.append(str[currentPosition]);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringReader.java | 24 private String str; field in class:Support_StringReader 33 * Construct a StringReader on the String <code>str</code>. The size of 35 * Object to synchronize access through is set to <code>str</code>. 37 * @param str 40 public Support_StringReader(String str) { 41 super(str); 42 this.str = str; 43 this.count = str.length(); 56 str = null [all...] |
/external/chromium/base/ |
string_split.h | 18 // Splits |str| into a vector of strings delimited by |s|. Append the results 20 // |str| begins with or ends with |s|, then an empty string is inserted. 26 BASE_API void SplitString(const std::wstring& str, 30 BASE_API void SplitString(const string16& str, 33 // |str| should not be in a multi-byte encoding like Shift-JIS or GBK in which 37 BASE_API void SplitString(const std::string& str, 53 BASE_API void SplitStringUsingSubstr(const string16& str, 56 BASE_API void SplitStringUsingSubstr(const std::string& str, 62 BASE_API void SplitStringDontTrim(const string16& str, 65 // |str| should not be in a multi-byte encoding like Shift-JIS or GBK in whic [all...] |
/external/speex/libspeex/ |
os_support.h | 111 static inline void _speex_fatal(const char *str, const char *file, int line) 113 fprintf (stderr, "Fatal (internal) error in %s, line %d: %s\n", file, line, str); 119 static inline void speex_warning(const char *str) 122 fprintf (stderr, "warning: %s\n", str); 128 static inline void speex_warning_int(const char *str, int val) 131 fprintf (stderr, "warning: %s %d\n", str, val); 137 static inline void speex_notify(const char *str) 140 fprintf (stderr, "notification: %s\n", str); 154 #define speex_fatal(str) _speex_fatal(str, __FILE__, __LINE__) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_StringReader.java | 24 private String str; field in class:Support_StringReader 33 * Construct a StringReader on the String <code>str</code>. The size of 35 * Object to synchronize access through is set to <code>str</code>. 37 * @param str 40 public Support_StringReader(String str) { 41 super(str); 42 this.str = str; 43 this.count = str.length(); 56 str = null [all...] |
/external/dbus/dbus/ |
dbus-marshal-basic.c | 208 set_2_octets (DBusString *str, 218 data = _dbus_string_get_data_len (str, offset, 2); 224 set_4_octets (DBusString *str, 234 data = _dbus_string_get_data_len (str, offset, 4); 240 set_8_octets (DBusString *str, 250 data = _dbus_string_get_data_len (str, offset, 8); 259 * @param str the string to write the marshalled int to 266 _dbus_marshal_set_uint32 (DBusString *str, 271 set_4_octets (str, pos, value, byte_order); 284 * @param str the string to write the marshalled string t 1669 DBusString str; local [all...] |
dbus-string-private.h | 44 unsigned char *str; /**< String data, plus nul termination */ member in struct:__anon6057 51 unsigned int align_offset : 3; /**< str - align_offset is the actual malloc block */ 82 * @param str the string 84 #define DBUS_STRING_PREAMBLE(str) DBusRealString *real = (DBusRealString*) str; \ 94 * @param str the string 96 #define DBUS_LOCKED_STRING_PREAMBLE(str) DBusRealString *real = (DBusRealString*) str; \ 103 * @param str the string. 105 #define DBUS_CONST_STRING_PREAMBLE(str) const DBusRealString *real = (DBusRealString*) str; [all...] |
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 22 static void toString(const SkRect& r, SkString* str) { 23 str->printf("[%g,%g %g:%g]", 28 static void toString(const SkIRect& r, SkString* str) { 29 str->printf("[%d,%d %d:%d]", r.fLeft, r.fTop, r.width(), r.height()); 32 static void dumpVerbs(const SkPath& path, SkString* str) { 38 str->appendf(" M%g,%g", pts[0].fX, pts[0].fY); 41 str->appendf(" L%g,%g", pts[0].fX, pts[0].fY); 44 str->appendf(" Q%g,%g,%g,%g", pts[1].fX, pts[1].fY, 48 str->appendf(" C%g,%g,%g,%g,%g,%g", pts[1].fX, pts[1].fY, 52 str->append("X") 221 SkString str; local 228 SkString str; local 241 SkString str; local 249 SkString str; local 257 SkString str; local 277 SkString str; local 283 SkString str; local 290 SkString str; local 325 SkString str; local 333 SkString str; local 341 SkString str; local 351 SkString str; local 361 SkString str; local [all...] |
/external/openssl/crypto/des/ |
str2key.c | 62 void DES_string_to_key(const char *str, DES_cblock *key) 69 length=strlen(str); 72 (*key)[i%8]^=(str[i]<<1); 76 j=str[i]; 97 DES_cbc_cksum((const unsigned char*)str,key,length,&ks,key); 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) 110 length=strlen(str); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 124 (*key2)[i%8]^=(str[i]<<1); 126 (*key1)[i%8]^=(str[i]<<1) [all...] |
/external/webkit/Source/WebCore/platform/ |
Length.cpp | 99 RefPtr<StringImpl> str = StringImpl::adopt(spacified); local 101 str = str->simplifyWhiteSpace(); 103 len = countCharacter(str->characters(), str->length(), ' ') + 1; 110 while ((pos2 = str->find(' ', pos)) != notFound) { 111 r[i++] = parseLength(str->characters() + pos, pos2 - pos); 114 r[i] = parseLength(str->characters() + pos, str->length() - pos); 123 RefPtr<StringImpl> str = string.impl()->simplifyWhiteSpace() local [all...] |
/external/icu4c/samples/datefmt/answers/ |
main_2.cpp | 21 UnicodeString str; local 23 if (zone->getID(str) != id) { 28 uprintf(str); 41 UnicodeString str; local 76 str.remove(); 77 fmt->format(date, str, status); 81 uprintf(escape(str));
|
main_3.cpp | 21 UnicodeString str; local 23 if (zone->getID(str) != id) { 28 uprintf(str); 41 UnicodeString str; local 82 str.remove(); 83 fmt->format(date, str, status); 87 uprintf(escape(str));
|
/external/icu4c/samples/datefmt/ |
main.cpp | 21 UnicodeString str; local 23 if (zone->getID(str) != id) { 28 uprintf(str); 41 UnicodeString str; local 82 str.remove(); 83 fmt->format(date, str, status); 87 uprintf(escape(str));
|