/external/jetty/src/java/org/eclipse/jetty/io/ |
AbstractBuffer.java | 77 byte[] bytes = new byte[length()]; 80 System.arraycopy(array, getIndex(), bytes, 0, bytes.length); 82 peek(getIndex(), bytes, 0, length()); local 83 return bytes; 635 byte[] bytes=array(); 636 if (bytes!=null) 637 return new String(bytes,getIndex(),length(),charset); 653 byte[] bytes=array(); 654 if (bytes!=null [all...] |
/external/kernel-headers/original/uapi/linux/ |
blktrace_api.h | 103 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/external/libjpeg-turbo/ |
jchuff.c | 303 /* Outputting bytes to the file */ 335 * bytes can be stored in a 64-bit bit buffer before it has to be emptied. 418 * theoretically store 16 bits (for a maximum of 2048 bits or 256 bytes per 422 * larger than 200 bytes. 436 bytes = buffer - _buffer; \ 438 while (bytes > 0) { \ 439 bytestocopy = min(bytes, state->free_in_buffer); \ 446 bytes -= bytestocopy; \ 461 size_t bytes, bytestocopy; int localbuf = 0; local 491 size_t bytes, bytestocopy; int localbuf = 0 local [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
platform_x11.c | 165 uint32_t bytes = xcb_get_image_data_length(reply); local 167 memcpy(data, idata, bytes); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_texture.c | 283 const uint bytes = w * h * d * bpp; local 284 lpr->data = align_malloc(bytes, 16); 287 memset(lpr->data, 0, bytes); 760 unsigned bytes, 775 buffer->base.width0 = bytes; 787 * Compute size (in bytes) need to store a texture image / mipmap level, 819 * Compute size (in bytes) need to store a texture image / mipmap level, [all...] |
/external/mesa3d/src/mesa/main/ |
pack.c | 64 * \param n number of bytes. 66 * \todo try this trick to flip bytes someday: 78 b = (GLuint) p[i]; /* words are often faster than bytes */ 152 GLint bytes, row, width_in_bytes; local 159 bytes = ((width + 7) / 8 * height); 160 buffer = (GLubyte *) malloc( bytes ); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 260 ByteArrayOutputStream bytes = new ByteArrayOutputStream();
local 268 bytes.write(b);
271 return bytes.toByteArray();
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 258 ByteArrayOutputStream bytes = new ByteArrayOutputStream();
local 266 bytes.write(b);
268 return bytes.toByteArray();
|
/external/nanopb-c/ |
pb.h | 24 /* Add support for tag numbers > 255 and fields larger than 255 bytes. */ 27 /* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ 203 * larger than 256 bytes or field tags larger than 256. 215 pb_size_t data_size; /* Data size in bytes for a single item */ 240 /* This structure is used for 'bytes' arrays. 241 * It has the number of bytes in the beginning, and after that an array. 242 * Note that actual structs used will have a different length of bytes array. 244 #define PB_BYTES_ARRAY_T(n) struct { size_t size; uint8_t bytes[n]; } 245 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) 249 uint8_t bytes[1] member in struct:_pb_bytes_array_t [all...] |
pb_decode.c | 99 /* Skip input bytes */ 878 /* Check the whole bytes */ 941 /* Release entries in repeated string or bytes array */ 995 uint8_t *bytes = (uint8_t*)dest; local 1001 bytes[0] = lebytes[3]; 1002 bytes[1] = lebytes[2]; 1003 bytes[2] = lebytes[1]; 1004 bytes[3] = lebytes[0]; 1014 uint8_t *bytes = (uint8_t*)dest; local 1020 bytes[0] = lebytes[7] [all...] |
/external/nanopb-c/tests/backwards_compatibility/ |
alltypes_legacy.h | 33 uint8_t bytes[16]; member in struct:__anon20498 38 uint8_t bytes[16]; member in struct:__anon20499 43 uint8_t bytes[16]; member in struct:__anon20500
|
/external/opencv3/3rdparty/libtiff/ |
tif_pixarlog.c | 639 tmsize_t bytes = m1 * m2; local 641 if (m1 && bytes / m1 != m2) 642 bytes = 0; 644 return bytes; 788 /* hopefully, we got all the bytes we needed */ 791 "Not enough data at scanline %lu (short " TIFF_UINT64_FORMAT " bytes)", 797 /* Swap bytes in the data if from a different endian machine. */ [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 410 FT_Byte* org_bytes = idx->bytes; 539 if ( idx->bytes ) 542 *pbytes = idx->bytes + off1 - 1; 571 if ( idx->bytes == 0 ) 588 FT_Byte* bytes; local 594 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 600 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
/external/pdfium/third_party/libtiff/ |
tif_pixarlog.c | 639 tmsize_t bytes = m1 * m2; local 641 if (m1 && bytes / m1 != m2) 642 bytes = 0; 644 return bytes; 650 tmsize_t bytes = m1 + m2; local 654 bytes = 0; 655 else if (bytes <= m1 || bytes <= m2) 656 bytes = 0; 658 return bytes; [all...] |
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCoderEncoder.cpp | 107 CFX_ByteArray bytes;
local 109 ((Make_Pair*)splitResult[i])->m_string, bytes);
112 AppendLengthInfo(bytes.GetSize(), qrCode->GetVersion(), tempMode,
115 Append8BitBytes(bytes, &headerAndDataBits, e);
769 void CBC_QRCoderEncoder::Append8BitBytes(CFX_ByteArray& bytes,
772 for (int32_t i = 0; i < bytes.GetSize(); i++) {
773 bits->AppendBits(bytes[i], 8, e);
780 CFX_ByteArray bytes;
local 782 for (int32_t i = 0; i < bytes.GetSize(); i += 2) {
[all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
TextFormatTest.java | 242 * characters. The characters are converted directly to bytes, *not* 245 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest 250 * Helper to construct a ByteString from a bunch of bytes. The inputs are 254 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest 255 byte[] bytes = new byte[bytesAsInts.length]; 257 bytes[i] = (byte) bytesAsInts[i]; 259 return ByteString.copyFrom(bytes); 293 // Strings and bytes that needing escaping. 295 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe")) 557 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\""))) [all...] |
/external/skia/tests/ |
BlurTest.cpp | 179 uint8_t* bytes = dst.getAddr8(midX, midY); local 183 result[i] = bytes[i];
|
/external/skia/tools/json/ |
SkJSONCanvas.cpp | 173 Json::Value bytes; local 174 encode_data(data, buffer.bytesWritten(), &bytes); 177 jsonFlattenable[SKJSONCANVAS_ATTRIBUTE_BYTES] = bytes; 210 Json::Value bytes; local 211 encode_data(encoded->data(), encoded->size(), &bytes); 212 (*target)[SKJSONCANVAS_ATTRIBUTE_BYTES] = bytes; 416 Json::Value bytes; local 417 encode_data(data, buffer.bytesWritten(), &bytes); 418 jsonTypeface[SKJSONCANVAS_ATTRIBUTE_BYTES] = bytes; [all...] |
/external/squashfs-tools/squashfs-tools/ |
unsquashfs.h | 81 int bytes; member in struct:hash_table_entry
|
/external/tremolo/Tremolo/ |
framing.c | 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){ 111 if(ob->size<bytes){ 112 ob->data=_ogg_realloc(ob->data,bytes); 113 ob->size=bytes; 118 ob->data=_ogg_malloc(bytes<16?16:bytes); 119 ob->size=bytes; 147 of at least [bytes] length */ 148 static ogg_reference *ogg_buffer_alloc(ogg_buffer_state *bs,long bytes){ 149 ogg_buffer *ob=_fetch_buffer(bs,bytes); 696 long bytes,ret=0; local 781 long bytes=next-now; local 787 long bytes=oy->fifo_tail->length; local [all...] |
vorbisfile.c | 95 long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); local 96 if(bytes>0)ogg_sync_wrote(vf->oy,bytes); 97 if(bytes==0 && gerrno)return -1; 98 return bytes; 123 n) search for a new page beginning for n bytes 140 /* skipped n bytes */ 587 vf->bittrack+=op.bytes*8; 642 /* bitrate tracking; add the header's bytes here, the body bytes [all...] |
/external/v8/src/profiler/ |
sampler.cc | 190 byte bytes[8]; member in struct:v8::internal::__anon24302::Pattern 223 if (!memcmp(pc - offset, pattern->bytes, pattern->bytes_count)) 226 // It is not safe to examine bytes on another page as it might not be 231 if (!memcmp(pc, pattern->bytes + offset, pattern->bytes_count - offset))
|
/external/webrtc/webrtc/modules/audio_device/ios/ |
audio_device_unittest_ios.cc | 61 // Number of bytes per PCM audio sample. 555 const size_t bytes = test::GetFileSize(file_name); local 556 PRINTD("file size: %" PRIuS " [bytes]\n", bytes); 557 PRINTD("file size: %" PRIuS " [samples]\n", bytes / kBytesPerSample); 559 static_cast<int>(bytes / (sample_rate * kBytesPerSample)); [all...] |
/external/webrtc/webrtc/p2p/base/ |
stun_unittest.cc | 211 // The actual length in bytes of the invalid messages (including STUN header) 215 0x00, 0x01, 0x00, 0x00, // length of 0 (last 2 bytes) 302 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 375 0xaa, 0xe3, 0x83, 0x83, // } Username value (18 bytes) and padding (2 bytes) 388 0x70, 0x6c, 0x65, 0x2e, // } Realm value (11 bytes) and padding (1 byte) 419 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 882 std::string bytes; local 911 std::string bytes; local 940 std::string bytes; local 970 std::string bytes; local 1360 const StunByteStringAttribute* bytes = msg.GetByteString(STUN_ATTR_USERNAME); local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl_ocsp.c | 493 ResponseBytes *bytes; local 540 bytes = resp->responseBytes; 542 if (!bytes || 543 OBJ_obj2nid(bytes->responseType) != NID_id_pkix_OCSP_basic) { 549 basic_data = ASN1_STRING_data(bytes->response); 550 basic_len = ASN1_STRING_length(bytes->response);
|