/external/clearsilver/ruby/ext/hdf/ |
neo_cs.c | 91 STRING *str= (STRING *)ctx; local 93 return nerr_pass(string_append(str, buf)); 100 STRING str; local 105 string_init(&str); 106 err = cs_render (cs, &str, render_cb); 109 rv = rb_str_new2(str.buf); 110 string_clear (&str);
|
/external/icu4c/io/ |
ustream.cpp | 41 operator<<(STD_OSTREAM& stream, const UnicodeString& str) 43 if(str.length() > 0) { 51 const UChar *us = str.getBuffer(); 52 const UChar *uLimit = us + str.length(); 74 operator>>(STD_ISTREAM& stream, UnicodeString& str) 149 str.truncate(0); 152 str.append(ch32);
|
sscanf.c | 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer + u_strlen(buffer); 115 if(u_locbund_init(&inStr.str.fBundle, "en_US_POSIX") == 0) { 121 u_locbund_close(&inStr.str.fBundle);
|
/external/iproute2/tc/ |
tc_util.c | 42 int get_qdisc_handle(__u32 *h, const char *str) 48 if (strcmp(str, "none") == 0) 50 maj = strtoul(str, &p, 16); 51 if (p == str) 61 int get_tc_classid(__u32 *h, const char *str) 67 if (strcmp(str, "root") == 0) 70 if (strcmp(str, "none") == 0) 72 maj = strtoul(str, &p, 16); 73 if (p == str) { 82 str = p+1 [all...] |
/external/qemu/android/utils/ |
misc.c | 49 string_translate_char( char* str, char from, char to ) 51 char* p = str; 134 quote_bytes( const char* str, int len ) 139 stralloc_add_quote_bytes( s, str, len ); 146 quote_str( const char* str ) 148 int len = strlen(str); 149 return quote_bytes( str, len );
|
/hardware/ril/mock-ril/src/cpp/ |
node_util.cpp | 84 v8::Local<v8::String> str = val->ToString(); local 86 if (encoding == UTF8) return str->Utf8Length(); 88 return str->Length(); 115 v8::Local<v8::String> str = val->ToString(); local 118 str->WriteUtf8(buf, buflen); 123 str->WriteAscii(buf, 0, buflen); 133 str->Write(twobytebuf, 0, buflen);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKey.java | 220 String str = "\n"; local 221 str += " keyCode: " + String.valueOf(mKeyCode) + "\n"; 222 str += " keyMask: " + String.valueOf(mKeyMask) + "\n"; 223 str += " keyLabel: " + (mKeyLabel == null ? "null" : mKeyLabel) + "\n"; 224 str += " popupResId: " + String.valueOf(mPopupSkbId) + "\n"; 225 str += " Position: " + String.valueOf(mLeftF) + ", " 228 return str;
|
/external/bluetooth/glib/glib/ |
gutf8.c | 125 * @str: pointer to the beginning of a UTF-8 encoded string 126 * @p: pointer to some position within @str 128 * Given a position @p with a UTF-8 encoded string @str, find the start 130 * UTF-8 characters are present in @str before @p. 139 g_utf8_find_prev_char (const char *str, 142 for (--p; p >= str; --p) 284 * @str: a UTF-8 encoded string 285 * @offset: a character offset within @str 296 * This function doesn't abort when reaching the end of @str. Therefore 307 g_utf8_offset_to_pointer (const gchar *str, [all...] |
/external/elfutils/libelf/ |
nlist.c | 33 const char *str; member in struct:hashentry 38 #define HASHFCT(str, len) INTUSE(elf_hash) (str) 39 #define COMPARE(p1, p2) strcmp ((p1)->str, (p2)->str) 139 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); 140 if (mem.str == NULL) 144 if (mem.str[0] == '\0') 154 (void) nlist_fshash_overwrite (table, mem.str, 0, &mem); 167 search.str = nl->n_name [all...] |
/external/libxml2/ |
xmlstring.c | 171 * @str: the second xmlChar * 179 xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) { 180 if (pref == NULL) return(xmlStrEqual(name, str)); 182 if (str == NULL) return(0); 185 if (*pref++ != *str) return(0); 186 } while ((*str++) && (*pref)); 187 if (*str++ != ':') return(0); 189 if (*name++ != *str) return(0); 190 } while (*str++); 312 * @str: the xmlChar * arra [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 48 final CharSequence str = "123456"; local 51 final Editable content = Editable.Factory.getInstance().newEditable(str); 79 final CharSequence str = "123456"; local 82 final Editable content = Editable.Factory.getInstance().newEditable(str); 88 assertEquals(str.charAt(0), content.charAt(0)); 94 assertEquals(str.charAt(1), content.charAt(1)); 100 assertEquals(str.charAt(3), content.charAt(3)); 109 CharSequence str = "123456"; local 110 Spannable content = Editable.Factory.getInstance().newEditable(str); 112 int len = str.length(); // for one line less than 10 162 CharSequence str = "123456"; local 283 MockSpannable str = new MockSpannable(); local 335 CharSequence str = "123456"; local 366 CharSequence str = "123456"; local [all...] |
/build/tools/apicheck/src/com/android/apicheck/ |
SourcePositionInfo.java | 44 * Given this position and str which occurs at that position, as well as str an index into str, 47 * @throw StringIndexOutOfBoundsException if index > str.length() 49 public static SourcePositionInfo add(SourcePositionInfo that, String str, int index) 57 char c = str.charAt(i); 66 public static SourcePositionInfo findBeginning(SourcePositionInfo that, String str) 73 for (int i=str.length()-1; i>=0; i--) { 74 char c = str.charAt(i);
|
/external/chromium/third_party/icu/source/io/ |
sscanf.c | 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer + u_strlen(buffer); 115 if(u_locbund_init(&inStr.str.fBundle, "en_US_POSIX") == 0) { 121 u_locbund_close(&inStr.str.fBundle);
|
/external/tinyxml/ |
tinystr.cpp | 53 TiXmlString& TiXmlString::assign(const char* str, size_type len) 60 memcpy(tmp.start(), str, len); 65 memmove(start(), str, len); local 72 TiXmlString& TiXmlString::append(const char* str, size_type len) 79 memmove(finish(), str, len); local
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
string-base64.js | 119 var str = ""; variable 122 str += String.fromCharCode( (25 * Math.random()) + 97 ); 128 base64 = toBase64(str); 132 str += str;
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
string-base64.js | 119 var str = ""; variable 122 str += String.fromCharCode( (25 * Math.random()) + 97 ); 128 base64 = toBase64(str); 132 str += str;
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_dev_attr.c | 183 static int wps_process_manufacturer(struct wps_device_data *dev, const u8 *str, 186 if (str == NULL) { 191 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); 197 os_memcpy(dev->manufacturer, str, str_len); 204 static int wps_process_model_name(struct wps_device_data *dev, const u8 *str, 207 if (str == NULL) { 212 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); 218 os_memcpy(dev->model_name, str, str_len); 225 static int wps_process_model_number(struct wps_device_data *dev, const u8 *str, 228 if (str == NULL) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
Connection.java | 270 public abstract void proceedAfterWildChar(String str); 295 StringBuilder str = new StringBuilder(128); local 298 str.append("addr: " + getAddress()) 305 str.append(" incoming: " + isIncoming()) 308 return str.toString();
|
/frameworks/base/core/java/android/hardware/ |
Camera.java | 1417 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); local 1457 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); local 1533 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); local 1588 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); local 1634 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); local 1678 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); local 1719 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); local 1923 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); local 1964 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); local 2001 String str = get(KEY_ANTIBANDING + SUPPORTED_VALUES_SUFFIX); local 2054 String str = get(KEY_SCENE_MODE + SUPPORTED_VALUES_SUFFIX); local 2091 String str = get(KEY_FLASH_MODE + SUPPORTED_VALUES_SUFFIX); local 2131 String str = get(KEY_FOCUS_MODE + SUPPORTED_VALUES_SUFFIX); local 2258 String str = get(KEY_ZOOM_SUPPORTED); local 2296 String str = get(KEY_SMOOTH_ZOOM_SUPPORTED); local [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/asm/ |
pvmp3_dct_16_gcc.s | 56 str r2,[sp,#0x14] 65 str r3,[sp] 87 str r4,[sp,#4] 95 str lr,[sp,#0x10] 112 str r9,[sp,#0xc] 115 str r9,[sp,#0x18] 120 str r9,[sp,#8] 140 str r8,[r0] 143 str r8,[r0,#0x20] 148 str r3,[r0,#0x10 [all...] |
/external/skia/src/views/ |
SkEvent.cpp | 83 void SkEvent::getType(SkString* str) const 85 if (str) 91 str->set(chars, len); 94 str->set(fType); 98 bool SkEvent::isType(const SkString& str) const 100 return this->isType(str.c_str(), str.size()); 283 #define EVENT_LOGN(s, n) do { SkString str(s); str.append(" "); str.appendS32(n); event_log(str.c_str()); } while (0 [all...] |
/external/stlport/test/unit/ |
num_facets_test.cpp | 52 //cout << "In " << loc.name() << " 1234.56 is written: " << fostr.str() << endl; 53 CPPUNIT_ASSERT( fostr.str() == ref ); 62 fostr.str(""); 64 CPPUNIT_ASSERT( fostr.str() == ref ); 67 fostr.str(""); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 79 fostr.str(""); 81 CPPUNIT_ASSERT( fostr.str() == ref ); 84 fostr.str(""); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
num_facets_test.cpp | 52 //cout << "In " << loc.name() << " 1234.56 is written: " << fostr.str() << endl; 53 CPPUNIT_ASSERT( fostr.str() == ref ); 62 fostr.str(""); 64 CPPUNIT_ASSERT( fostr.str() == ref ); 67 fostr.str(""); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 79 fostr.str(""); 81 CPPUNIT_ASSERT( fostr.str() == ref ); 84 fostr.str(""); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
num_facets_test.cpp | 52 //cout << "In " << loc.name() << " 1234.56 is written: " << fostr.str() << endl; 53 CPPUNIT_ASSERT( fostr.str() == ref ); 62 fostr.str(""); 64 CPPUNIT_ASSERT( fostr.str() == ref ); 67 fostr.str(""); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 79 fostr.str(""); 81 CPPUNIT_ASSERT( fostr.str() == ref ); 84 fostr.str(""); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
spellingtable.cpp | 34 if ('\0' == (static_cast<const RawSpelling*>(p1))->str[0]) 37 if ('\0' == (static_cast<const RawSpelling*>(p2))->str[0]) 40 return strcmp((static_cast<const RawSpelling*>(p1))->str, 41 (static_cast<const RawSpelling*>(p2))->str); 151 raw_spellings_[hash_pos].str[spelling_size_ - 1] = '\0'; 153 if (strncmp(raw_spellings_[hash_pos].str, spelling_str, 162 if (strncmp(raw_spellings_[hash_pos].str, 168 if ('\0' == raw_spellings_[hash_pos].str[0]) { 170 strncpy(raw_spellings_[hash_pos].str, spelling_str, spelling_size_ - 1); 171 raw_spellings_[hash_pos].str[spelling_size_ - 1] = '\0' [all...] |