/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:__anon28015 38 uint8_t bytes[16]; member in struct:__anon28016 43 uint8_t bytes[16]; member in struct:__anon28017
|
/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 | 640 tmsize_t bytes = m1 * m2; local 642 if (m1 && bytes / m1 != m2) 643 bytes = 0; 645 return bytes; 651 tmsize_t bytes = m1 + m2; local 655 bytes = 0; 656 else if (bytes <= m1 || bytes <= m2) 657 bytes = 0; 659 return bytes; [all...] |
/external/pdfium/xfa/fxbarcode/qrcode/ |
BC_QRCoderEncoder.cpp | 104 CFX_ArrayTemplate<uint8_t> bytes; local 105 CBC_UtilCodingConvert::LocaleToUtf8(splitResult.second, bytes); 109 AppendLengthInfo(bytes.GetSize(), qrCode->GetVersion(), tempMode, 113 Append8BitBytes(bytes, &headerAndDataBits, e); 768 void CBC_QRCoderEncoder::Append8BitBytes(CFX_ArrayTemplate<uint8_t>& bytes, 771 for (int32_t i = 0; i < bytes.GetSize(); i++) { 772 bits->AppendBits(bytes[i], 8, e); 781 CFX_ArrayTemplate<uint8_t> bytes; local 783 for (int32_t i = 0; i < bytes.GetSize(); i += 2) { [all...] |
/external/skia/src/codec/ |
SkJpegCodec.cpp | 76 // Tag (2 bytes), Datatype (2 bytes), Number of elements (4 bytes), Data (4 bytes) 181 size_t bytes = marker->data_length - kICCMarkerHeaderSize; local 182 memcpy(dst, src, bytes); 183 dst = SkTAddOffset<void>(dst, bytes); 294 * Return the row bytes of a particular image type and width [all...] |
/external/skia/src/core/ |
SkLiteDL.cpp | 36 "Expected %p to be aligned for at least %zu bytes.", dst, alignof(S)); 358 DrawText(size_t bytes, SkScalar x, SkScalar y, const SkPaint& paint) 359 : bytes(bytes), x(x), y(y), paint(paint) {} 360 size_t bytes; member in struct:__anon29583::final 364 c->drawText(pod<void>(this), bytes, x,y, paint); local 369 DrawPosText(size_t bytes, const SkPaint& paint, int n) 370 : bytes(bytes), paint(paint), n(n) {} 371 size_t bytes; member in struct:__anon29583::final 384 size_t bytes; member in struct:__anon29583::final 401 size_t bytes; member in struct:__anon29583::final 406 c->drawTextOnPath(pod<void>(this), bytes, path, &matrix, paint); local 415 size_t bytes; member in struct:__anon29583::final 419 c->drawTextRSXform(pod<void>(this), bytes, pod<SkRSXform>(this, bytes), local [all...] |
/external/skia/tests/ |
BlurTest.cpp | 176 uint8_t* bytes = dst.getAddr8(midX, midY); local 180 result[i] = bytes[i];
|
/external/squashfs-tools/squashfs-tools/ |
unsquashfs.h | 81 int bytes; member in struct:hash_table_entry
|
/external/swiftshader/src/Renderer/ |
Surface.hpp | 242 int bytes; member in struct:sw::Surface::Buffer 320 static int bytes(Format format); 446 static void memfill4(void *buffer, int pattern, int bytes);
|
/external/syslinux/com32/libutil/ |
sha256crypt.c | 37 /* This array contains the bytes used to pad the buffer to the next 61 /* Process LEN bytes of BUFFER, accumulating context into CTX. 80 number of bytes. Do a double word increment. */ 85 /* Process all bytes in the buffer with 64 bytes in each round of 175 /* Process the remaining bytes in the internal buffer and the usual 183 /* Take yet unprocessed bytes into account. */ 184 uint32_t bytes = ctx->buflen; local 187 /* Now count remaining bytes. */ 188 ctx->total[0] += bytes; [all...] |
sha512crypt.c | 44 /* This array contains the bytes used to pad the buffer to the next 92 /* Process LEN bytes of BUFFER, accumulating context into CTX. 111 number of bytes. Do a double word increment. */ 116 /* Process all bytes in the buffer with 128 bytes in each round of 206 /* Process the remaining bytes in the internal buffer and the usual 214 /* Take yet unprocessed bytes into account. */ 215 uint64_t bytes = ctx->buflen; local 218 /* Now count remaining bytes. */ 219 ctx->total[0] += bytes; [all...] |
/external/syslinux/core/fs/ntfs/ |
ntfs.c | 95 /* make it to point to the last two bytes of the RECORD's first sector */ 116 uint64_t bytes; local 136 bytes = count; /* bytes to copy */ 137 lbytes = blk_size - offset; /* bytes left to copy */ 138 if (lbytes >= bytes) { 140 memcpy(buf, data + offset, bytes); 144 dprintf("bytes: %u\n", bytes); 145 dprintf("bytes left: %u\n", lbytes) [all...] |
/external/syslinux/gpxe/src/core/ |
settings.c | 1148 * @v size Integer size, in bytes 1155 uint8_t bytes[4]; member in union:__anon32706 1163 &u.bytes[ sizeof ( u ) - size ], size ); 1172 * @v size Integer size, in bytes 1186 * @v size Integer size, in bytes 1200 * @v size Integer size, in bytes 1299 uint8_t bytes[ strlen ( value ) ]; \/* cannot exceed strlen(value) *\/ local [all...] |
/external/syslinux/memdisk/ |
mstructs.h | 36 uint8_t jump[3]; /* Max. three bytes for jump */ 63 uint16_t bytespersec; /* Bytes/sector */ 83 const uint16_t bytes; member in struct:mdi 124 uint8_t bps; /* Bytes/sector (02h = 512) */
|
/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/snapshot/ |
serializer.cc | 66 PrintF(" Spaces (bytes):\n"); 78 PrintF(" Instance types (count and bytes):\n"); 239 byte* bytes = reinterpret_cast<byte*>(&smi); local 240 for (int i = 0; i < kPointerSize; i++) sink_.Put(bytes[i], "Byte"); 305 // The non-branching GetInt will read up to 3 bytes too far, so we need 432 // maybe left-over bytes that need to be padded.
|
/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);
|