/external/jpeg/ |
jdatadst.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon21418 47 /* Allocate the output buffer --- it will be released when done with image */ 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 58 * Empty the output buffer --- called whenever buffer fills up. 60 * In typical applications, this should write the entire output buffer 62 * reset the pointer & count to the start of the buffer, and return TRUE 63 * indicating that the buffer has been dumped [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_boolhuff.h | 30 uint8_t *buffer; member in struct:__anon23092 39 void vp9_start_encode(vp9_writer *bc, uint8_t *buffer); 82 while (x >= 0 && br->buffer[x] == 0xff) { 83 br->buffer[x] = 0; 87 br->buffer[x] += 1; 90 br->buffer[br->pos++] = (lowvalue >> (24 - offset));
|
/external/qemu/distrib/jpeg-6b/ |
jdatadst.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon26669 47 /* Allocate the output buffer --- it will be released when done with image */ 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 58 * Empty the output buffer --- called whenever buffer fills up. 60 * In typical applications, this should write the entire output buffer 62 * reset the pointer & count to the start of the buffer, and return TRUE 63 * indicating that the buffer has been dumped [all...] |
/external/skia/include/core/ |
SkPathEffect.h | 110 SkPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 163 SkComposePathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 194 SkSumPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
|
/external/skia/src/gpu/ |
GrBufferAllocPool.h | 30 * At creation time a minimum per-buffer size can be specified. Additionally, 113 * Returns a block of memory to hold data. A buffer designated to hold the 114 * data is given to the caller. The buffer may or may not be locked. The 122 * buffer at the offset indicated by offset. Until that time it may be 123 * in temporary storage and/or the buffer may be locked. 126 * @param alignment alignment constraint from start of buffer 127 * @param buffer returns the buffer that will hold the data. 128 * @param offset returns the offset into buffer of the data. 133 const GrGeometryBuffer** buffer, [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction21t.java | 59 private Instruction21t(Opcode opcode, byte[] buffer, int bufferIndex) { 62 assert buffer[bufferIndex] == opcode.value; 64 regA = buffer[bufferIndex + 1]; 65 targetAddressOffset = NumberUtils.decodeShort(buffer, bufferIndex + 2); 99 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 100 return new Instruction21t(opcode, buffer, bufferIndex);
|
Instruction22c.java | 58 private Instruction22c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 59 super(dexFile, opcode, buffer, bufferIndex); 61 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); 62 this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); 102 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 103 return new Instruction22c(dexFile, opcode, buffer, bufferIndex);
|
Instruction22cs.java | 62 private Instruction22cs(Opcode opcode, byte[] buffer, int bufferIndex) { 65 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); 66 this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); 67 this.fieldOffset = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); 93 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 94 return new Instruction22cs(opcode, buffer, bufferIndex);
|
Instruction3rms.java | 71 private Instruction3rms(Opcode opcode, byte[] buffer, int bufferIndex) { 74 this.regCount = (byte)NumberUtils.decodeUnsignedByte(buffer[bufferIndex + 1]); 75 this.vtableIndex = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); 76 this.startReg = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 4); 103 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 104 return new Instruction3rms(opcode, buffer, bufferIndex);
|
Instruction52c.java | 62 private Instruction52c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 63 super(dexFile, opcode, buffer, bufferIndex); 65 this.regA = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 6); 66 this.regB = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 8); 90 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 91 return new Instruction52c(dexFile, opcode, buffer, bufferIndex);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
InstructionWithReference.java | 52 protected InstructionWithReference(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 55 this.referenceType = readReferenceType(opcode, buffer, bufferIndex); 56 int itemIndex = getReferencedItemIndex(buffer, bufferIndex); 60 protected int getReferencedItemIndex(byte[] buffer, int bufferIndex) { 61 return NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); 72 protected ReferenceType readReferenceType(Opcode opcode, byte[] buffer, int bufferIndex) {
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_hostmm.c | 86 EAS_U8 *buffer; member in struct:eas_hw_file_tag 220 if (file->buffer == NULL) 234 /* allocate a buffer */ 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); 236 if (file->buffer == NULL) 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); 280 if (file->buffer == NULL) 290 EAS_HWMemCpy(pBuffer, &file->buffer[file->filePos], count); 313 if (file->buffer == NULL) 323 /* get a character from the buffer */ [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_hostmm.c | 86 EAS_U8 *buffer; member in struct:eas_hw_file_tag 220 if (file->buffer == NULL) 234 /* allocate a buffer */ 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); 236 if (file->buffer == NULL) 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); 280 if (file->buffer == NULL) 290 EAS_HWMemCpy(pBuffer, &file->buffer[file->filePos], count); 313 if (file->buffer == NULL) 323 /* get a character from the buffer */ [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Latin1Converter.java | 38 * A converter that processes a byte buffer containing a mix of UTF8 and Latin-1/Cp1252 chars. 39 * The result is a buffer where those chars have been converted to UTF-8; 42 * <em>Explanation of the processing:</em> First the encoding of the buffer is detected looking 43 * at the first four bytes (that works only if the buffer starts with an ASCII-char, 58 * <em>Example:</em> If an Euro-symbol (?) appears in the byte buffer (0xE2, 0x82, 0xAC), 63 * @param buffer a byte buffer contain 64 * @return Returns a new buffer containing valid UTF-8 66 public static ByteBuffer convert(ByteBuffer buffer) 68 if ("UTF-8".equals(buffer.getEncoding()) [all...] |
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 98 char buffer[1024]; local 99 dump(result, "", buffer, 1024); 103 char* buffer, size_t SIZE) const 107 result.append(buffer); 151 ALOGE("Failed to find the advertised buffer count"); 250 // GRalloc buffer. The encoder needs to interpret this GRalloc handle 256 static void passMetadataBuffer(MediaBuffer **buffer, 258 *buffer = new MediaBuffer(4 + sizeof(buffer_handle_t)); 259 char *data = (char *)(*buffer)->data(); 261 ALOGE("Cannot allocate memory for metadata buffer!"); [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
mldl.h | 138 unsigned char *buffer); 141 const unsigned char *buffer); 142 inv_error_t inv_load_dmp(const unsigned char *buffer, 153 unsigned char *buffer); 168 const unsigned char *buffer); 172 unsigned char *buffer);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 48 byte buffer[] = new byte[4096]; 49 int rc = is.read(buffer, 0, buffer.length); 59 os.write(buffer, 0, rc); 60 rc = is.read(buffer, 0, buffer.length);
|
/system/extras/tests/bionic/libc/common/ |
bench_stdio.c | 42 static char buffer[1024*1024]; variable 55 int totalSize = sizeof(buffer); 57 fread(buffer, 1, chunkSize, fp); 63 int totalSize = sizeof(buffer); 65 fwrite(buffer, 1, chunkSize, fp); 74 double bandwidth = sizeof(buffer)*1000./1024./time_ms; \
|
/external/chromium_org/third_party/freetype/include/freetype/internal/ |
ftstream.h | 152 /* Integer extraction macros -- the `buffer' parameter must ALWAYS be of */ 224 #define FT_NEXT_CHAR( buffer ) \ 225 ( (signed char)*buffer++ ) 227 #define FT_NEXT_BYTE( buffer ) \ 228 ( (unsigned char)*buffer++ ) 230 #define FT_NEXT_SHORT( buffer ) \ 231 ( (short)( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) ) 233 #define FT_NEXT_USHORT( buffer ) \ 234 ( (unsigned short)( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) ) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_dpb.c | 287 if (index < 0 || !IS_EXISTING(dpb->buffer[index])) 294 dpb->list[refIdx++] = &dpb->buffer[index]; 297 if(dpb->list[j] != &dpb->buffer[index]) 317 HANTRO_NOK failure, picture does not exist in the buffer 338 SET_UNUSED(dpb->buffer[index]); 340 if (!dpb->buffer[index].toBeDisplayed) 357 HANTRO_NOK failure, picture does not exist in the buffer 374 SET_UNUSED(dpb->buffer[index]); 376 if (!dpb->buffer[index].toBeDisplayed) 395 buffer or is a non-existing picture, or invali [all...] |
/bionic/libc/bionic/ |
libgen.cpp | 54 int basename_r(const char* path, char* buffer, size_t buffer_size) { 90 if (buffer == NULL) { 100 memcpy(buffer, startp, len); 101 buffer[len] = 0; 106 int dirname_r(const char* path, char* buffer, size_t buffer_size) { 148 if (buffer == NULL) { 159 memcpy(buffer, path, len); 160 buffer[len] = 0;
|
/cts/tests/src/android/os/cts/ |
FileUtils.java | 116 byte[] buffer = new byte[4096]; 118 while ((bytesRead = inputStream.read(buffer)) >= 0) { 119 out.write(buffer, 0, bytesRead); 140 byte[] buffer = new byte[numBytes]; 143 output.write(buffer); 151 byte[] buffer = new byte[32768]; 154 while ((count = is.read(buffer)) != -1) { 155 os.write(buffer, 0, count);
|
/development/host/windows/usb/api/ |
adb_legacy_endpoint_object.h | 60 @param[in,out] buffer Pointer to the buffer for read / write.
73 void* buffer,
82 @param[in,out] buffer Pointer to the buffer for read / write.
92 void* buffer,
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 83 @param[in,out] buffer Pointer to the buffer for read / write.
96 void* buffer,
105 @param[in,out] buffer Pointer to the buffer for read / write.
115 void* buffer,
|
/development/ndk/platforms/android-3/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|