OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesToWrite
(Results
1 - 5
of
5
) sorted by null
/external/antlr/antlr-3.4/runtime/C/src/
antlr3convertutf.c
213
unsigned short
bytesToWrite
= 0;
247
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
248
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
249
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
250
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
251
} else {
bytesToWrite
= 3;
255
target +=
bytesToWrite
;
258
target -=
bytesToWrite
; result = targetExhausted; break;
260
switch (
bytesToWrite
) { /* note: everything falls through. */
264
case 1: *--target = (UTF8)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/external/llvm/lib/Support/
ConvertUTF.c
228
unsigned short
bytesToWrite
= 0;
262
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
263
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
264
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
265
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
266
} else {
bytesToWrite
= 3;
270
target +=
bytesToWrite
;
273
target -=
bytesToWrite
; result = targetExhausted; break;
275
switch (
bytesToWrite
) { /* note: everything falls through. */
279
case 1: *--target = (UTF8)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/external/webkit/Source/JavaScriptCore/wtf/unicode/
UTF8.cpp
137
unsigned short
bytesToWrite
= 0;
171
bytesToWrite
= 1;
173
bytesToWrite
= 2;
175
bytesToWrite
= 3;
177
bytesToWrite
= 4;
179
bytesToWrite
= 3;
183
target +=
bytesToWrite
;
186
target -=
bytesToWrite
;
190
switch (
bytesToWrite
) { // note: everything falls through.
194
case 1: *--target = (char)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java
283
int
bytesToWrite
= Math.min(maxBufferSize, mAudioBuffer.length - offset);
284
cb.audioAvailable(mAudioBuffer, offset,
bytesToWrite
);
285
offset +=
bytesToWrite
;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SerializedFrame.java
70
private final void ensureFit(int
bytesToWrite
) {
71
if (mOffset +
bytesToWrite
> mBuffer.length) {
73
mBuffer = new byte[Math.max(mOffset +
bytesToWrite
, mBuffer.length * 2)];
Completed in 102 milliseconds