/external/libchrome/sandbox/linux/suid/ |
sandbox.c | 122 ssize_t bytes; local 124 bytes = read(sv[0], &msg, 1); 125 } while (bytes == -1 && errno == EINTR); 127 if (bytes == 0) 129 if (bytes != 1) 148 bytes = write(sv[0], &reply, 1); 149 } while (bytes == -1 && errno == EINTR); 151 if (bytes != 1)
|
/external/libdrm/omap/ |
omap_drm.h | 68 uint32_t bytes; /* (for non-tiled formats) */ member in union:omap_gem_size
|
/external/libevent/ |
arc4random.c | 70 /* Add platform entropy 32 bytes (256 bits) at a time. */ 73 /* Re-seed from the platform RNG after generating this many bytes. */ 261 int bytes, n, i, nybbles; local 262 for (bytes = 0; bytes<ADD_ENTROPY; ) { 285 bytes += nybbles/2; 392 * we drop at least 2*256 bytes, with 12*256 as a conservative 472 /* arc4_addrandom() ignores all but the first 256 bytes of
|
bufferevent_async.c | 398 DWORD bytes, flags; local 402 WSAGetOverlappedResult(fd, &eo->overlapped, &bytes, FALSE, &flags);
|
event_tagging.c | 111 * have at least 5 bytes free. 112 * @return the number of bytes written into data. 174 int bytes = 0; local 185 data[bytes++] = lower; 189 evbuffer_add(evbuf, data, bytes); 191 return (bytes); 244 * tag number: one byte; length: var bytes; payload: var bytes
|
/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:__anon16693 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/mesa3d/src/gallium/drivers/i915/ |
i915_debug.c | 905 unsigned long bytes = (unsigned long) (end - start) * 4; local 917 debug_printf( "\n\nBATCH: (%d)\n", (int)bytes / 4); 920 stream.offset < bytes) 925 assert(stream.offset <= bytes &&
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_point.c | 323 unsigned bytes; local 360 &bytes);
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_transfer.c | 279 unsigned bytes = MIN2(size, 1 << 17); local 288 PUSH_DATA (push, bytes); 294 srcoff += bytes; 295 dstoff += bytes; 296 size -= bytes;
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 111 ///getEncodingBytes - Get then size in bytes of this instructions encoding. 134 unsigned bytes = getEncodingBytes(MI); local 135 for (unsigned i = 0; i < bytes; i++) {
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_debug.c | 820 GLuint bytes = (end - start) * 4; local 823 printf("\n\nBATCH: (%d)\n", bytes / 4); 830 stream.offset < bytes && 836 assert(stream.offset <= bytes &&
|
/external/mesa3d/src/mesa/main/ |
uniform_query.cpp | 294 unsigned bytes = sizeof(src[0]) * elements; local 295 if (bufSize < 0 || bytes > (unsigned) bufSize) { 298 " but %u bytes are required)", bufSize, bytes ); 314 memcpy(paramsOut, src, bytes);
|
/external/mesa3d/src/mesa/swrast/ |
s_blend.c | 76 GLint bytes; local 86 bytes = 4 * n * sizeof(GLubyte); 88 bytes = 4 * n * sizeof(GLushort); 90 bytes = 4 * n * sizeof(GLfloat); 92 memcpy(src, dst, bytes); [all...] |
/external/nanopb-c/ |
pb_encode.c | 176 * for pointer-type string and bytes fields, the array entries are 428 const uint8_t *bytes = value; local 430 lebytes[0] = bytes[3]; 431 lebytes[1] = bytes[2]; 432 lebytes[2] = bytes[1]; 433 lebytes[3] = bytes[0]; 443 const uint8_t *bytes = value; local 445 lebytes[0] = bytes[7]; 446 lebytes[1] = bytes[6]; 447 lebytes[2] = bytes[5] 617 const pb_bytes_array_t *bytes = (const pb_bytes_array_t*)src; local [all...] |
/external/nfacct/ |
nfacct.c | 173 "{ pkts = %.20llu, bytes = %.20llu } = %s;", 250 static int _nfacct_cmd_add(char *name, int pkts, int bytes) 281 nla_put_u64(msg, NFACCT_BYTES, htobe64(bytes)); 584 uint64_t pkts, bytes; local 595 ret = sscanf(buffer, "{ pkts = %llu, bytes = %llu } = %s", 596 &pkts, &bytes, name); 601 if ((ret = _nfacct_cmd_add(name, pkts, bytes)) != 0)
|
/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/opencv3/3rdparty/libwebp/mux/ |
muxread.c | 55 // Fill the chunk with the given data (includes chunk header bytes), after some 74 chunk_data.bytes = data + CHUNK_HEADER_SIZE; 81 const uint8_t* bytes = chunk->data_.bytes; local 83 const uint8_t* const last = bytes + size; 96 const WebPData temp = { bytes, hdr_size }; 107 bytes += subchunk_size; 110 while (bytes != last) { 112 if (ChunkVerifyAndAssign(&subchunk, bytes, size, size, 131 bytes += subchunk_size [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
integral.hpp | 161 uchar4 bytes; local 162 bytes.x = (in & 0x000000ff) >> 0; 163 bytes.y = (in & 0x0000ff00) >> 8; 164 bytes.z = (in & 0x00ff0000) >> 16; 165 bytes.w = (in & 0xff000000) >> 24; 166 return bytes; 402 // save, because step is actually can't be less 512 bytes
|
/external/opencv3/modules/hal/include/opencv2/hal/ |
intrin_cpp.hpp | 117 size_t bytes = std::min(sizeof(_Tp2)*n2, sizeof(_Tp)*n); local 119 memcpy(&c.s[0], &s[0], bytes);
|
/external/pdfium/third_party/freetype/src/pshinter/ |
pshrec.h | 98 FT_Byte* bytes; member in struct:PS_MaskRec_
|
/external/pdfium/xfa/src/fxbarcode/datamatrix/ |
BC_DataMatrixDecodedBitStreamParser.cpp | 52 CFX_ByteArray& bytes,
54 CBC_CommonBitSource bits(&bytes);
97 tempCp->Init(bytes, result,
460 CFX_ByteArray* bytes = new CFX_ByteArray();
local 461 bytes->SetSize(count);
466 delete bytes;
471 delete bytes;
474 bytes->SetAt(i, Unrandomize255State(iTemp5, codewordPosition++));
476 BC_FX_ByteString_Append(result, *bytes);
477 delete bytes;
[all...] |