/external/libffi/src/x86/ |
ffi64.c | 46 extern void ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags, 79 of this code is to classify each 8bytes of incoming argument by the register 174 /* If the struct is larger than 16 bytes, pass it on the stack. */ 280 size_t bytes; local 315 for (bytes = 0, i = 0, avn = cif->nargs; i < avn; i++) 326 bytes = ALIGN(bytes, align); 327 bytes += cif->arg_types[i]->size; 338 cif->bytes = bytes; [all...] |
/external/liblzf/ |
lzf.c | 226 ssize_t rc, cs, us, bytes, over = 0; local 271 bytes = cs == -1 ? us : cs; 277 if (l > bytes) 279 over = l - bytes; 280 memmove (header, &p[bytes], over); 284 rd = bytes - l;
|
/external/libogg/include/ogg/ |
ogg.h | 54 unsigned char *body_data; /* bytes from packet bodies */ 92 long bytes; member in struct:__anon10713 125 extern void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); 144 extern void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); 173 extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
|
/external/libpng/contrib/gregbook/ |
wpng.c | 704 ulg bytes; local 717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); 718 if (bytes != image_bytes) { 719 fprintf(stderr, PROGNAME ": expected %lu bytes, got %lu bytes\n", 720 image_bytes, bytes); 733 ulg bytes; local 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 745 if (bytes != rowbytes) { 747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes [all...] |
/external/libvorbis/lib/ |
info.c | 48 static void _v_writestring(oggpack_buffer *o,const char *s, int bytes){ 50 while(bytes--){ 55 static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){ 56 while(bytes--){ 355 oggpack_readinit(&opb,op->packet,op->bytes); 383 oggpack_readinit(&opb,op->packet,op->bytes); 462 int bytes = strlen(ENCODE_VENDOR_STRING); local 469 oggpack_write(opb,bytes,32); 470 _v_writestring(opb,ENCODE_VENDOR_STRING, bytes); 558 op->bytes=oggpack_bytes(&opb) [all...] |
psytune.c | 293 /* we cheat on the WAV header; we just bypass 44 bytes and never 305 long bytes=fread(buffer2,1,framesize*2,stdin); local 306 if(bytes<framesize*2) 307 memset(buffer2+bytes,0,framesize*2-bytes); 309 if(bytes!=0){
|
/external/llvm/lib/Target/MBlaze/Disassembler/ |
MBlazeDisassembler.cpp | 505 uint8_t bytes[4]; local 510 // We want to read exactly 4 bytes of data. 511 if (region.readBytes(address, 4, (uint8_t*)bytes, &read) == -1 || read < 4) 515 insn = (bytes[0]<<24) | (bytes[1]<<16) | (bytes[2]<< 8) | (bytes[3]<<0); 704 // We always consume 4 bytes of data on success
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 35 * Input class for the pipelined parser. Buffer all bytes read from the socket 87 byte[] bytes; field in class:Pipeline.Buffer 93 public Buffer(byte[] bytes, int length) { 96 this.bytes = bytes; 100 int retval = bytes[ptr++] & 0xFF; 131 public void write(byte[] bytes, int start, int length) throws IOException { 134 Buffer buff = new Buffer(bytes, length); 142 public void write(byte[] bytes) throws IOException { 145 Buffer buff = new Buffer(bytes, bytes.length) [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 54 // Initially, we're storing the UTF-8 bytes in a byte array. 59 private byte[] bytes; field in class:Utf8Constant 78 this.bytes = null; 84 * Initializes the UTF-8 data with an array of bytes. 86 public void setBytes(byte[] bytes) 88 this.bytes = bytes; 94 * Returns the UTF-8 data as an array of bytes. 107 return bytes; 116 this.bytes = null [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
TextFormatTest.java | 207 * characters. The characters are converted directly to bytes, *not* 210 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest 215 * Helper to construct a ByteString from a bunch of bytes. The inputs are 219 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest 220 byte[] bytes = new byte[bytesAsInts.length]; 222 bytes[i] = (byte) bytesAsInts[i]; 224 return ByteString.copyFrom(bytes); 258 // Strings and bytes that needing escaping. 260 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe")) 465 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\""))) [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream_unittest.cc | 145 uint8 bytes[10]; // Encoded bytes. member in struct:google::protobuf::io::__anon12903::VarintCase 146 int size; // Encoded size, in bytes. 180 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 195 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 215 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); 246 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 264 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 297 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); 314 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)) 370 uint8 bytes[12]; member in struct:google::protobuf::io::__anon12903::VarintErrorCase 461 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon12903::Fixed32Case 466 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon12903::Fixed64Case [all...] |
zero_copy_stream_impl.cc | 242 int bytes; local 244 bytes = write(file_, buffer_base + total_written, size - total_written); 245 } while (bytes < 0 && errno == EINTR); 247 if (bytes <= 0) { 258 if (bytes < 0) { 263 total_written += bytes; 387 // Hit the end of the stream. Figure out how many more bytes we still have
|
/external/qemu/audio/ |
wavaudio.c | 66 int64_t bytes = local 69 if (bytes > INT_MAX) { 73 samples = bytes >> hw->info.shift; 154 dolog ("Could not allocate buffer (%d bytes)\n", 298 dolog("unsupported bytes per sample (%d) in '%s'\n", 354 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); local 356 if (bytes > INT_MAX) { 360 samples = bytes >> hw->info.shift;
|
/external/skia/include/core/ |
SkTDArray.h | 101 * return the number of bytes in the array: count * sizeof(T) 103 size_t bytes() const { return fCount * sizeof(T); } function in class:SkTDArray
|
/external/skia/legacy/include/core/ |
SkTDArray.h | 101 * return the number of bytes in the array: count * sizeof(T) 103 size_t bytes() const { return fCount * sizeof(T); } function in class:SkTDArray
|
/external/skia/src/gpu/ |
GrBufferAllocPool.cpp | 137 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; local 138 bytesInUse += bytes; 139 GrAssert(bytes || unusedBlockAllowed); 220 void GrBufferAllocPool::putBack(size_t bytes) { 229 while (bytes) { 234 if (bytes >= bytesUsed) { 235 bytes -= bytesUsed; 244 block.fBytesFree += bytes; 245 fBytesInUse -= bytes; 246 bytes = 0 [all...] |
GrGpu.cpp | 474 size_t bytes = geoSrc.fVertexCount * GrDrawState::VertexSize(geoSrc.fVertexLayout); local 475 fVertexPool->putBack(bytes); 482 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local 483 fIndexPool->putBack(bytes); 520 size_t bytes = geoSrc.fVertexCount * GrDrawState::VertexSize(geoSrc.fVertexLayout); local 521 fVertexPool->putBack(bytes); 529 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local 530 fIndexPool->putBack(bytes);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayOutput.java | 66 * >= 8 (if used); the number of bytes of hex output to use 115 * may be larger than the number of bytes written 128 * bytes at the end). 269 public void write(ByteArray bytes) { 270 int blen = bytes.size(); 281 bytes.getBytes(data, writeAt); 286 public void write(byte[] bytes, int offset, int length) { 292 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) { 293 throw new IndexOutOfBoundsException("bytes.length " + 294 bytes.length + "; " [all...] |
/external/valgrind/main/VEX/useful/ |
smchash.c | 25 UChar* bytes; member in struct:__anon16596 52 gb->bytes = malloc( gb->nbytes + nToAlloc); 53 gb->actual = gb->bytes + (gb->ga & 3); 54 assert(gb->bytes); 83 free(gb->bytes);
|
/external/valgrind/main/coregrind/ |
launcher-darwin.c | 146 ssize_t bytes; local 152 bytes = read(fd, buf, sizeof(buf)); 154 if (bytes != sizeof(buf)) {
|
/external/webkit/Source/WebCore/html/ |
FTPDirectoryDocument.cpp | 167 int64_t bytes = size.toUInt64(&valid); local 171 if (bytes < 1000000) 172 return String::format("%.2f KB", static_cast<float>(bytes)/1000); 174 if (bytes < 1000000000) 175 return String::format("%.2f MB", static_cast<float>(bytes)/1000000); 177 return String::format("%.2f GB", static_cast<float>(bytes)/1000000000);
|
/external/webkit/Source/WebCore/loader/ |
DocumentThreadableLoader.cpp | 386 const char* bytes = static_cast<const char*>(data.data()); local 388 didReceiveData(0, bytes, len);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.h | 51 void* bytes() { return m_pixels; } function in class:WebCore::SharedBitmap 52 const void* bytes() const { return m_pixels; } function in class:WebCore::SharedBitmap
|
/external/webkit/Source/WebCore/platform/network/ |
FormData.cpp | 288 Vector<char> bytes; local 289 flatten(bytes); 290 return Latin1Encoding().decode(reinterpret_cast<const char*>(bytes.data()), bytes.size());
|
/external/wpa_supplicant_8/src/crypto/ |
random.c | 118 * length (32) and return 16 bytes from instead of only half. 157 u8 *bytes = buf; local 178 *bytes++ ^= tmp[i]; 190 "for generating strong random bytes"); 197 *bytes++ ^= tmp[i]; 251 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from " 264 wpa_printf(MSG_INFO, "random: Only %u/%u bytes of strong " 323 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from /dev/random",
|