Searched defs:numChars (Results 1 - 23 of 23) sorted by relevance

/external/lzma/CPP/Common/
H A DStringConvert.cpp17 int numChars = MultiByteToWideChar(codePage, 0, srcString, local
20 if (numChars == 0)
22 resultString.ReleaseBuffer(numChars);
35 int numChars = WideCharToMultiByte(codePage, 0, s, s.Length(), local
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
[all...]
H A DMyString.cpp29 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); local
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); local
48 if (numChars == 0 || numChars > kBufferSize)
50 s[numChars] = 0;
52 ::MultiByteToWideChar(CP_ACP, 0, s, numChars,
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dverttext.cpp76 int numChars = paint.getTextWidths(gText, gLen, adv, NULL); local
77 for (int i = 0; i < numChars; ++i) {
/external/skia/gm/
H A Dverttext.cpp76 int numChars = paint.getTextWidths(gText, gLen, adv, NULL); local
77 for (int i = 0; i < numChars; ++i) {
/external/chromium_org/third_party/icu/source/common/
H A Ddictionarydata.cpp50 int32_t numChars = 1; local
58 lengths[count++] = numChars;
69 if (numChars >= maxLength) {
77 ++numChars;
80 return numChars;
114 int32_t numChars = 1; local
122 lengths[count++] = numChars;
133 if (numChars >= maxLength) {
141 ++numChars;
144 return numChars;
[all...]
H A Ddictbe.cpp986 int numChars = 0; local
995 charPositions[++numChars] = index;
1010 charPositions[++numChars] = index = normalizer.getIndex();
1025 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1);
1027 for(int i = 1; i <= numChars; i++) {
1034 AutoBuffer<int, defaultInputLength> prev(numChars + 1);
1035 for(int i = 0; i <= numChars; i++){
1041 AutoBuffer<int32_t, maxWordSize> values(numChars);
1042 AutoBuffer<int32_t, maxWordSize> lengths(numChars);
1046 for (int32_t i = 0; i < numChars;
[all...]
/external/icu/icu4c/source/common/
H A Ddictionarydata.cpp50 int32_t numChars = 1; local
58 lengths[count++] = numChars;
69 if (numChars >= maxLength) {
77 ++numChars;
80 return numChars;
114 int32_t numChars = 1; local
122 lengths[count++] = numChars;
133 if (numChars >= maxLength) {
141 ++numChars;
144 return numChars;
[all...]
H A Ddictbe.cpp989 int numChars = 0; local
998 charPositions[++numChars] = index;
1013 charPositions[++numChars] = index = normalizer.getIndex();
1028 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1);
1030 for(int i = 1; i <= numChars; i++) {
1037 AutoBuffer<int, defaultInputLength> prev(numChars + 1);
1038 for(int i = 0; i <= numChars; i++){
1044 AutoBuffer<int32_t, maxWordSize> values(numChars);
1045 AutoBuffer<int32_t, maxWordSize> lengths(numChars);
1049 for (int32_t i = 0; i < numChars;
[all...]
/external/lzma/CPP/Windows/
H A DRegistry.cpp326 UInt32 numChars = 0; local
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); local
355 for (int i = 0; i < numChars; i++)
/external/chromium_org/third_party/skia/src/core/
H A DSkBBoxRecord.cpp209 size_t numChars = paint.countText(text, byteLength); local
210 if (numChars == 0) {
225 for (size_t i = 0; i < numChars; ++i) {
/external/lzma/C/Util/7z/
H A D7zMain.c113 int numChars = WideCharToMultiByte(fileMode ? local
122 if (numChars == 0 || numChars >= size)
124 buf->data[numChars] = 0;
/external/skia/src/core/
H A DSkBBoxRecord.cpp202 size_t numChars = paint.countText(text, byteLength); local
203 if (numChars == 0) {
218 for (size_t i = 0; i < numChars; ++i) {
/external/chromium_org/third_party/icu/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp359 int32_t numChars=1; local
365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
373 if(numChars>=textLimit) {
384 ++numChars;
400 return numChars;
553 int32_t numChars=1; local
559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
567 if(numChars>=textLimit) {
574 ++numChars;
577 return numChars;
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwgl.c373 DWORD numChars, DWORD listBase)
401 for(i = 0; i < (int)numChars; i++) {
372 wglUseFontBitmaps_FX(HDC fontDevice, DWORD firstChar, DWORD numChars, DWORD listBase) argument
/external/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp359 int32_t numChars=1; local
365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
373 if(numChars>=textLimit) {
384 ++numChars;
400 return numChars;
553 int32_t numChars=1; local
559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
567 if(numChars>=textLimit) {
574 ++numChars;
577 return numChars;
[all...]
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c373 DWORD numChars, DWORD listBase)
401 for(i = 0; i < (int)numChars; i++) {
372 wglUseFontBitmaps_FX(HDC fontDevice, DWORD firstChar, DWORD numChars, DWORD listBase) argument
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1707 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); local
1710 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars);
/external/lzma/CPP/7zip/UI/Common/
H A DArchiveCommandLine.cpp346 UInt32 numChars = dataSize / sizeof(wchar_t); local
348 for (UInt32 i = 1; i < numChars; i++)
/external/clang/tools/c-index-test/
H A Dc-index-test.c3669 unsigned numChars = 0; local
3684 if (numChars == 0)
3687 line[numChars] = '\0';
3688 numChars = 0;
3703 line[numChars++] = c;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.debug.core_3.6.0.v20100519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
H A Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 2580 milliseconds