OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesToWrite
(Results
1 - 4
of
4
) sorted by null
/external/clang/lib/Basic/
ConvertUTF.c
229
unsigned short
bytesToWrite
= 0;
263
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
264
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
265
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
266
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
267
} else {
bytesToWrite
= 3;
271
target +=
bytesToWrite
;
274
target -=
bytesToWrite
; result = targetExhausted; break;
276
switch (
bytesToWrite
) { /* note: everything falls through. */
280
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
;
/system/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 93 milliseconds