/system/media/audio_utils/spdif/ |
SPDIFEncoder.cpp | 104 size_t bytesToWrite = numShorts * sizeof(uint16_t); 105 if ((mByteCursor + bytesToWrite) > mBurstBufferSizeBytes) { 110 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); 111 mByteCursor += bytesToWrite; 124 size_t bytesToWrite = numBytes; 125 if ((mByteCursor + bytesToWrite) > mBurstBufferSizeBytes) { 131 for (size_t i = 0; i < bytesToWrite; i++) { 247 size_t bytesToWrite = bytesLeft; 249 if (bytesToWrite > mPayloadBytesPending) { 250 bytesToWrite = mPayloadBytesPending [all...] |
/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/google-breakpad/src/common/ |
convert_UTF.c | 240 unsigned short bytesToWrite = 0; 274 if (ch < (UTF32)0x80) { bytesToWrite = 1; 275 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; 276 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; 277 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; 278 } else { bytesToWrite = 3; 282 target += bytesToWrite; 285 target -= bytesToWrite; result = targetExhausted; break; 287 switch (bytesToWrite) { /* note: everything falls through. */ 291 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); [all...] |
/external/llvm/lib/Support/ |
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...] |
raw_ostream.cpp | 316 size_t BytesToWrite = Size - (Size % NumBytes); 317 write_impl(Ptr, BytesToWrite); 318 size_t BytesRemaining = Size - BytesToWrite; 321 return write(Ptr + BytesToWrite, BytesRemaining); 323 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
filehc.h | 50 FILEHC_EXPORT WINBOOL WINAPI FIOWriteFile(PFIO_CONTEXT pContext,LPCVOID lpBuffer,DWORD BytesToWrite,FH_OVERLAPPED *lpo); 51 FILEHC_EXPORT WINBOOL WINAPI FIOWriteFileEx(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToWrite,DWORD BytesAvailable,FH_OVERLAPPED *lpo,WINBOOL fFinalWrite,WINBOOL fIncludeTerminator);
|
msrdc.h | 120 STDMETHOD_(HRESULT,Write)(THIS_ ULONGLONG offsetFileStart,ULONG bytesToWrite,BYTE *buffer) PURE; 130 #define IRdcFileWriter_Write(This,offsetFileStart,bytesToWrite,buffer) (This)->lpVtbl->Write(This,offsetFileStart,bytesToWrite,buffer)
|
httpext.h | 140 DWORD BytesToWrite;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SerializedFrame.java | 66 private final void ensureFit(int bytesToWrite) { 67 if (mOffset + bytesToWrite > mBuffer.length) { 69 mBuffer = new byte[Math.max(mOffset + bytesToWrite, mBuffer.length * 2)];
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
BufferPerformanceBench.java | 296 int bytesToWrite = Math.min(remaining, chunkSize); 297 buffer.write(bytes, offset, bytesToWrite); 298 remaining -= bytesToWrite; 299 offset += bytesToWrite;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMnsObexClient.java | 288 int maxChunkSize, bytesToWrite, bytesWritten = 0; 345 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); 346 outputStream.write(eventBytes, bytesWritten, bytesToWrite); 347 bytesWritten += bytesToWrite;
|
BluetoothMapObexServer.java | [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;
|
/external/libnfc-nxp/src/ |
phFriNfc_MifareULMap.c | [all...] |
phFriNfc_MifareStdMap.c | [all...] |
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 425 unsigned short bytesToWrite = 0; 427 bytesToWrite = 1; 429 bytesToWrite = 2; 431 bytesToWrite = 3; 433 bytesToWrite = 4; 444 ResultBuf += bytesToWrite; 445 switch (bytesToWrite) { // note: everything falls through. 449 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); 452 ResultBuf += bytesToWrite; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
portcls.h | [all...] |
ntifs.h | [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/ |
exoplayer_dev-hls_20150123.jar | |