/external/openssl/crypto/rand/ |
rand_os2.c | 137 char *buffer = OPENSSL_malloc(256 * 1024); local 139 if (DosQuerySysState(0x1F, 0, 0, 0, buffer, 256 * 1024) == 0) { 140 /* First 4 bytes in buffer is a pointer to the thread count 143 RAND_add(buffer, 256 * 1024, **(ULONG **)buffer); 146 OPENSSL_free(buffer);
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
MoreZeroFrame.java | 148 StringBuffer buffer = new StringBuffer(super.toString()).append("Var: ..."); local 152 buffer = buffer.append('[') 157 buffer.append(", Stack: (empty)"); 159 return buffer.toString();
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 62 private char[] buffer = new char[2]; field in class:ManifestRewriter.SplitLineReader 81 return buffer[bufferIndex++]; 93 buffer[bufferSize++] = '\n'; 105 buffer[bufferSize++] = (char)c2; 117 buffer[bufferSize++] = (char)c3;
|
/external/skia/src/core/ |
SkBitmapProcShader.cpp | 36 SkBitmapProcShader::SkBitmapProcShader(SkFlattenableReadBuffer& buffer) 37 : INHERITED(buffer) { 38 buffer.readBitmap(&fRawBitmap); 40 fState.fTileModeX = buffer.readUInt(); 41 fState.fTileModeY = buffer.readUInt(); 61 void SkBitmapProcShader::flatten(SkFlattenableWriteBuffer& buffer) const { 62 this->INHERITED::flatten(buffer); 64 buffer.writeBitmap(fRawBitmap); 65 buffer.writeUInt(fState.fTileModeX); 66 buffer.writeUInt(fState.fTileModeY) 168 uint32_t buffer[BUF_MAX + TEST_BUFFER_EXTRA]; local 220 uint32_t buffer[BUF_MAX]; local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction41c.java | 65 private Instruction41c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 66 super(dexFile, opcode, buffer, bufferIndex); 74 this.regA = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 6); 93 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 94 return new Instruction41c(dexFile, opcode, buffer, bufferIndex);
|
/external/srec/portable/src/ |
plog.c | 112 * used, it needs to flush the buffer. 271 LCHAR buffer[BUFFER_SIZE] = L(""); local 323 psprintf(buffer + LSTRLEN(buffer), L("%s|"), timeStr); 324 passert(LSTRLEN(buffer) < BUFFER_SIZE); 329 rc = psprintf(buffer + LSTRLEN(buffer), L("trd=%u|"), PtrdGetCurrentThreadId()); 330 passert(LSTRLEN(buffer) < BUFFER_SIZE); 371 rc = psprintf(buffer + LSTRLEN(buffer), L("Module=%s|"), text) [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
AMPEG2TSAssembler.cpp | 74 sp<ABuffer> buffer = *queue->begin(); local 78 mNextExpectedSeqNo = (uint32_t)buffer->int32Data(); 79 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) { 85 // hexdump(buffer->data(), buffer->size()); 87 if ((buffer->size() % 188) > 0) { 97 msg->setBuffer("access-unit", buffer);
|
/frameworks/base/drm/java/android/drm/ |
DrmOutputStream.java | 82 public void write(byte[] buffer, int offset, int count) throws IOException { 83 Arrays.checkOffsetAndCount(buffer.length, offset, count); 86 if (count == buffer.length) { 87 exactBuffer = buffer; 90 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareInterface.cpp | 140 char buffer[SIZE]; local 142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); 143 result.append(buffer); 144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); 145 result.append(buffer);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
mmapped_buffer.h | 52 uint8_t *const buffer = static_cast<uint8_t *>(mmappedBuffer) + offset; local 53 if (!buffer) { 54 AKLOGE("DICT: buffer is null"); 58 return new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize, mmapFd, 86 AK_FORCE_INLINE MmappedBuffer(uint8_t *const buffer, const int bufferSize, 89 : mBuffer(buffer), mBufferSize(bufferSize), mMmappedBuffer(mmappedBuffer),
|
/system/core/libcutils/ |
uevent.c | 32 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length) 35 return uevent_kernel_multicast_uid_recv(socket, buffer, length, &user); 47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, 50 struct iovec iov = { buffer, length }; 91 bzero(buffer, length);
|
/system/core/toolbox/ |
insmod.c | 18 void *buffer = NULL; local 31 buffer = malloc(size); 32 if (!buffer) 35 /* slurp it into our buffer */ 36 ret = read(fd, buffer, size); 45 return buffer; 92 /* free the file buffer */
|
/external/chromium_org/content/renderer/media/ |
buffered_resource_loader_unittest.cc | 235 void ReadLoader(int64 position, int size, uint8* buffer) { 236 loader_->Read(position, size, buffer, 241 // Verifies that data in buffer[0...size] is equal to data_[pos...pos+size]. 242 void VerifyBuffer(uint8* buffer, int pos, int size) { 243 EXPECT_EQ(0, memcmp(buffer, data_ + pos, size)); 273 // Makes sure the |loader_| buffer window is in a reasonable range. 399 uint8 buffer[10]; local 405 ReadLoader(10, 10, buffer); 406 VerifyBuffer(buffer, 10, 10); 411 ReadLoader(20, 5, buffer); 451 uint8 buffer[20]; local 500 uint8 buffer[10]; local 529 uint8 buffer[10]; local 547 uint8 buffer[10]; local 571 uint8 buffer[10]; local 592 uint8 buffer[10]; local 613 uint8 buffer[10]; local 662 uint8 buffer[10]; local 690 uint8 buffer[256]; local 735 uint8 buffer[256]; local 768 uint8 buffer[256]; local 816 uint8 buffer[256]; local 871 uint8 buffer[256]; local 932 uint8 buffer[256]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_filters.c | 127 char buffer[1024]; local 131 util_snprintf(buffer, 1023, convolution_asm, num_consts, num_consts / 2 + 1); 133 shader = shader_create_from_text(ctx->pipe, buffer, 200, 151 char buffer[1024]; local 157 util_snprintf(buffer, 1023, lookup_single_asm, "xxxx"); 160 util_snprintf(buffer, 1023, lookup_single_asm, "yyyy"); 163 util_snprintf(buffer, 1023, lookup_single_asm, "zzzz"); 166 util_snprintf(buffer, 1023, lookup_single_asm, "wwww"); 172 shader = shader_create_from_text(ctx->pipe, buffer, 200, 290 VGfloat *buffer; local 485 VGfloat *buffer, *kernel; local 590 VGfloat buffer[4]; local 645 VGfloat buffer[4]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_filters.c | 127 char buffer[1024]; local 131 util_snprintf(buffer, 1023, convolution_asm, num_consts, num_consts / 2 + 1); 133 shader = shader_create_from_text(ctx->pipe, buffer, 200, 151 char buffer[1024]; local 157 util_snprintf(buffer, 1023, lookup_single_asm, "xxxx"); 160 util_snprintf(buffer, 1023, lookup_single_asm, "yyyy"); 163 util_snprintf(buffer, 1023, lookup_single_asm, "zzzz"); 166 util_snprintf(buffer, 1023, lookup_single_asm, "wwww"); 172 shader = shader_create_from_text(ctx->pipe, buffer, 200, 290 VGfloat *buffer; local 485 VGfloat *buffer, *kernel; local 590 VGfloat buffer[4]; local 645 VGfloat buffer[4]; local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
coded_stream.h | 43 // buffer library in order to encode and decode protocol buffers. Clients 82 // coded_input->ReadRaw(buffer, size); 164 explicit CodedInputStream(const uint8* buffer, int size); 182 // underlying buffer, and *size to the size of that buffer, but does not 184 // a non-empty buffer or return false. If the caller consumes any of 191 // attempt to Refresh() if the buffer is currently empty. 195 // Read raw bytes, copying them into the given buffer. 196 bool ReadRaw(void* buffer, int size); 205 bool ReadString(string* buffer, int size) [all...] |
/external/openssh/openbsd-compat/ |
bsd-snprintf.c | 180 static int dopr(char *buffer, size_t maxlen, const char *format, 182 static int fmtstr(char *buffer, size_t *currlen, size_t maxlen, 184 static int fmtint(char *buffer, size_t *currlen, size_t maxlen, 186 static int fmtfp(char *buffer, size_t *currlen, size_t maxlen, 190 dopr(char *buffer, size_t maxlen, const char *format, va_list args_in) 220 DOPR_OUTCH(buffer, currlen, maxlen, ch); 319 if (fmtint(buffer, &currlen, maxlen, 333 if (fmtint(buffer, &currlen, maxlen, value, 347 if (fmtint(buffer, &currlen, maxlen, value, 363 if (fmtint(buffer, &currlen, maxlen, value [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
fast-dtoa.cc | 55 // Input: * buffer containing the digits of too_high / 10^kappa 56 // * the buffer's length 59 // * rest = (too_high - buffer * 10^kappa).f() * unit 62 // Output: returns true if the buffer is guaranteed to contain the closest 64 // Modifies the generated digits in the buffer to approach (round towards) w. 65 static bool RoundWeed(Vector<char> buffer, 81 // Basically the buffer currently contains a number in the unsafe interval 100 // buffer --------------------------------------------------+-------+-------- 111 // Note that the value of buffer could lie anywhere inside the range too_low 122 // If the number inside the buffer lies inside the unsafe interval but no [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 63 dri2_do_create_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, unsigned int format) 70 BufferPrivatePtr private = buffer->driverPrivate; 81 switch (buffer->attachment) { 83 if (buffer->attachment != DRI2BufferFakeFrontLeft || 112 if (buffer->attachment == DRI2BufferDepth) { 165 buffer->name = whandle.handle; 166 buffer->pitch = whandle.stride; 167 buffer->cpp = 4; 168 buffer->driverPrivate = private; 169 buffer->flags = 0; /* not tiled * 202 DRI2Buffer2Ptr buffer; local [all...] |
/external/chromium_org/v8/src/ |
fast-dtoa.cc | 56 // Input: * buffer containing the digits of too_high / 10^kappa 57 // * the buffer's length 60 // * rest = (too_high - buffer * 10^kappa).f() * unit 63 // Output: returns true if the buffer is guaranteed to contain the closest 65 // Modifies the generated digits in the buffer to approach (round towards) w. 66 static bool RoundWeed(Vector<char> buffer, 82 // Basically the buffer currently contains a number in the unsafe interval 101 // buffer --------------------------------------------------+-------+-------- 112 // Note that the value of buffer could lie anywhere inside the range too_low 123 // If the number inside the buffer lies inside the unsafe interval but no [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 63 dri2_do_create_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, unsigned int format) 70 BufferPrivatePtr private = buffer->driverPrivate; 81 switch (buffer->attachment) { 83 if (buffer->attachment != DRI2BufferFakeFrontLeft || 112 if (buffer->attachment == DRI2BufferDepth) { 165 buffer->name = whandle.handle; 166 buffer->pitch = whandle.stride; 167 buffer->cpp = 4; 168 buffer->driverPrivate = private; 169 buffer->flags = 0; /* not tiled * 202 DRI2Buffer2Ptr buffer; local [all...] |
/external/ppp/pppd/plugins/radius/ |
avpair.c | 146 * Purpose: takes attribute/value pairs from buffer and builds a 165 char buffer[512]; local 194 *buffer= '\0'; /* Initial length. */ 200 strcat (buffer, hex); 203 attribute, attrlen, buffer); 470 * Purpose: Copy a data field from the buffer. Advance the buffer 510 * Purpose: parses the buffer to extract the attribute-value pairs. 522 int rc_avpair_parse (char *buffer, VALUE_PAIR **first_pair) 535 while (*buffer != '\n' && *buffer != '\0' 695 char buffer[32]; local 776 char buffer[1024], *q; local [all...] |
/external/v8/src/ |
fast-dtoa.cc | 56 // Input: * buffer containing the digits of too_high / 10^kappa 57 // * the buffer's length 60 // * rest = (too_high - buffer * 10^kappa).f() * unit 63 // Output: returns true if the buffer is guaranteed to contain the closest 65 // Modifies the generated digits in the buffer to approach (round towards) w. 66 static bool RoundWeed(Vector<char> buffer, 82 // Basically the buffer currently contains a number in the unsafe interval 101 // buffer --------------------------------------------------+-------+-------- 112 // Note that the value of buffer could lie anywhere inside the range too_low 123 // If the number inside the buffer lies inside the unsafe interval but no [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionInputBuffer.java | 56 private byte[] buffer; field in class:AbstractSessionInputBuffer 73 throw new IllegalArgumentException("Buffer size may not be negative or zero"); 79 this.buffer = new byte[buffersize]; 91 // compact the buffer if necessary 95 System.arraycopy(this.buffer, this.bufferpos, this.buffer, 0, len); 102 int len = this.buffer.length - off; 103 l = this.instream.read(this.buffer, off, len); 125 return this.buffer[this.bufferpos++] & 0xff; 143 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk) [all...] |
/external/chromium_org/third_party/freetype/src/psaux/ |
psconv.c | 241 FT_Byte* buffer, 255 buffer[r++] = *p; 308 buffer[r++] = b; 314 buffer[r++] = b; 323 buffer[r++] = b; 336 FT_Byte* buffer, 372 buffer[w++] = (FT_Byte)pad; 378 buffer[w++] = (FT_Byte)( pad << 4 ); 404 *buffer = (FT_Byte)(*buffer + c) [all...] |