/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Logger.java | 54 * @param numChars The number of characters in the query. 56 void logSearch(int startMethod, int numChars); 67 * @param numChars The number of characters in the query typed when the user left. 69 void logExit(SuggestionCursor suggestionCursor, int numChars);
|
EventLogLogger.java | 71 int numChars = suggestionCursor.getUserQuery().length(); 72 EventLogTags.writeQsbClick(id, suggestions, null, numChars, 77 public void logSearch(int startMethod, int numChars) { 78 EventLogTags.writeQsbSearch(null, startMethod, numChars); 87 public void logExit(SuggestionCursor suggestionCursor, int numChars) { 89 EventLogTags.writeQsbExit(suggestions, numChars);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockLogger.java | 36 public void logSearch(int startMethod, int numChars) { 42 public void logExit(SuggestionCursor suggestionCursor, int numChars) {
|
/external/lzma/CPP/Common/ |
MyString.cpp | 29 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0);
30 if (numChars == 0 || numChars > kBufferSize)
32 s[numChars] = 0;
34 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1);
47 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0);
48 if (numChars == 0 || numChars > kBufferSize)
50 s[numChars] = 0;
52 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); [all...] |
StringConvert.cpp | 17 int numChars = MultiByteToWideChar(codePage, 0, srcString,
20 if (numChars == 0)
22 resultString.ReleaseBuffer(numChars);
35 int numChars = WideCharToMultiByte(codePage, 0, s, s.Length(),
39 if (numChars == 0)
41 dest.ReleaseBuffer(numChars);
72 int numChars = mbstowcs(resultString.GetBuffer(srcString.Length()), srcString, srcString.Length() + 1);
73 if (numChars < 0) throw "Your environment does not support UNICODE";
74 resultString.ReleaseBuffer(numChars);
89 int numChars = wcstombs(resultString.GetBuffer(numRequiredBytes), srcString, numRequiredBytes); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 61 int numChars = 5 + (int) (Math.random() * 10); 62 mTotalChars += numChars; 63 textview.setText(createString(numChars));
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextCodecUTF16.cpp | 78 size_t numChars = numBytes / 2; 80 StringBuffer<UChar> buffer(numChars); 92 numChars -= 1; 96 for (size_t i = 0; i < numChars; ++i) { 102 for (size_t i = 0; i < numChars; ++i) {
|
/external/icu4c/common/ |
dictionarydata.cpp | 45 int32_t numChars = 1; 53 lengths[count++] = numChars; 64 if (numChars >= maxLength) { 72 ++numChars; 75 return numChars; 109 int32_t numChars = 1; 117 lengths[count++] = numChars; 128 if (numChars >= maxLength) { 136 ++numChars; 139 return numChars; [all...] |
dictbe.cpp | 783 int numChars = 0; 792 charPositions[++numChars] = index; 807 charPositions[++numChars] = index = normalizer.getIndex(); 822 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1); 824 for(int i = 1; i <= numChars; i++) { 831 AutoBuffer<int, defaultInputLength> prev(numChars + 1); 832 for(int i = 0; i <= numChars; i++){ 838 AutoBuffer<int32_t, maxWordSize> values(numChars); 839 AutoBuffer<int32_t, maxWordSize> lengths(numChars); 843 for (int32_t i = 0; i < numChars; ++i) [all...] |
/system/core/include/utils/ |
String8.h | 52 explicit String8(const char* o, size_t numChars); 56 explicit String8(const char16_t* o, size_t numChars); 58 explicit String8(const char32_t* o, size_t numChars); 78 status_t setTo(const char* other, size_t numChars); 79 status_t setTo(const char16_t* other, size_t numChars); 85 status_t append(const char* other, size_t numChars); 134 void toLower(size_t start, size_t numChars); 136 void toUpper(size_t start, size_t numChars); 148 void setPathName(const char* name, size_t numChars); 226 status_t real_append(const char* other, size_t numChars); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
dictbe.cpp | 565 int numChars = 0; 574 charPositions[++numChars] = index; 588 charPositions[++numChars] = index = normalizer.getIndex(); 601 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1); 603 for(int i=1; i<=numChars; i++){ 609 AutoBuffer<int, defaultInputLength> prev(numChars + 1); 610 for(int i=0; i<=numChars; i++){ 615 AutoBuffer<uint16_t, maxWordSize> values(numChars); 616 AutoBuffer<int32_t, maxWordSize> lengths(numChars); 620 for (int i = 0; i < numChars; ++i) [all...] |
/external/skia/gm/ |
verttext.cpp | 73 int numChars = paint.getTextWidths(gText, gLen, adv, NULL); 74 for (int i = 0; i < numChars; ++i) {
|
/frameworks/base/core/jni/ |
android_view_KeyCharacterMap.cpp | 145 jsize numChars = env->GetArrayLength(charsArray); 151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); 175 jsize numChars = env->GetArrayLength(charsArray); 179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) {
|
/frameworks/base/media/tests/omxjpegdecoder/ |
omx_jpeg_decoder.cpp | 53 int numChars = fwrite(data, sizeof(char), 1024, pFile); 54 int numBytes = numChars * sizeof(char); 74 int numChars = fwrite(data, sizeof(char), 1024, fp); 75 int numBytes = numChars * sizeof(char);
|
/external/icu4c/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 359 int32_t numChars=1; 365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. 373 if(numChars>=textLimit) { 384 ++numChars; 400 return numChars; 553 int32_t numChars=1; 559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. 567 if(numChars>=textLimit) { 574 ++numChars; 577 return numChars; [all...] |
/external/lzma/CPP/Windows/ |
Registry.cpp | 326 UInt32 numChars = 0;
329 numChars += strings[i].Length() + 1;
331 buffer.SetCapacity(numChars);
339 return SetValue(valueName, buffer, numChars * sizeof(wchar_t));
353 int numChars = dataSize / sizeof(wchar_t);
355 for (int i = 0; i < numChars; i++)
|
/external/chromium_org/third_party/skia/src/core/ |
SkBBoxRecord.cpp | 182 size_t numChars = paint.countText(text, byteLength); 183 if (numChars == 0) { 198 for (size_t i = 0; i < numChars; ++i) {
|
/external/skia/src/core/ |
SkBBoxRecord.cpp | 182 size_t numChars = paint.countText(text, byteLength); 183 if (numChars == 0) { 198 for (size_t i = 0; i < numChars; ++i) {
|
/external/lzma/C/Util/7z/ |
7zMain.c | 113 int numChars = WideCharToMultiByte(fileMode ?
122 if (numChars == 0 || numChars >= size)
124 buf->data[numChars] = 0;
|
/frameworks/native/libs/input/ |
KeyCharacterMap.cpp | 75 static String8 toString(const char16_t* chars, size_t numChars) { 77 for (size_t i = 0; i < numChars; i++) { 267 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, 277 for (size_t i = 0; i < numChars; i++) { 292 keyCode, toString(chars, numChars).string(), metaState, result); 297 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, 301 for (size_t i = 0; i < numChars; i++) { 307 deviceId, toString(chars, numChars).string(), ch); 320 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size())); [all...] |
/frameworks/native/include/input/ |
KeyCharacterMap.h | 115 size_t numChars, int32_t metaState) const; 120 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
SDL_QuartzEvents.m | 336 unsigned int i, numChars; 350 numChars = [ chars length ]; 351 if (numChars > 0) 354 numChars = 0; 357 if (numChars == 0) { 366 else if (numChars >= 1) { 375 for (i = 1; i < numChars; i++) { [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
cryptomath.py | 211 def getBase64Nonce(numChars=22): #defaults to an 132 bit nonce 212 bytes = getRandomBytes(numChars) 214 return stringToBase64(bytesStr)[:numChars]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
wgl.c | 373 DWORD numChars, DWORD listBase) 401 for(i = 0; i < (int)numChars; i++) {
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wgl.c | 373 DWORD numChars, DWORD listBase) 401 for(i = 0; i < (int)numChars; i++) {
|