/external/emma/core/java12/com/vladium/jcd/parser/ |
H A D | ClassDefParser.java | 36 public static ClassDef parseClass (final byte [] bytes) argument 39 if (bytes == null) throw new IllegalArgumentException ("null input: bytes"); 41 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes))); 49 public static ClassDef parseClass (final byte [] bytes, final int length) argument 52 if (bytes == null) throw new IllegalArgumentException ("null input: bytes"); 54 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes, length))); 63 public static ClassDef parseClass (final InputStream bytes) argument 66 if (bytes 93 classParser(final UDataInputStream bytes) argument [all...] |
/external/flac/libFLAC/ |
H A D | ogg_decoder_aspect.c | 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) argument 108 const size_t bytes_requested = *bytes; 121 * the same number of bytes from Ogg, then pass what's decoded down to 133 * to read in enough pages to return the full number of bytes 136 *bytes = 0; 137 while (*bytes < bytes_requested && !aspect->end_of_stream) { 140 size_t n = bytes_requested - *bytes; 141 if ((size_t)aspect->working_packet.bytes <= n) { 143 n = aspect->working_packet.bytes; 145 *bytes [all...] |
H A D | ogg_encoder_aspect.c | 111 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data) argument 141 if(bytes != FLAC__STREAM_METADATA_HEADER_LENGTH + FLAC__STREAM_METADATA_STREAMINFO_LENGTH) { 170 memcpy(b, buffer, bytes); 171 FLAC__ASSERT(b + bytes - synthetic_first_packet_body == sizeof(synthetic_first_packet_body)); 173 packet.bytes = sizeof(synthetic_first_packet_body); 180 packet.bytes = bytes; 212 else if(is_metadata && current_frame == 0 && samples == 0 && bytes == 4 && 0 == memcmp(buffer, FLAC__STREAM_SYNC_STRING, sizeof(FLAC__STREAM_SYNC_STRING))) {
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | Sink.java | 38 * Puts an array of bytes into this sink. 40 * @param bytes a byte array 43 Sink putBytes(byte[] bytes); argument 46 * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written, 47 * {@code bytes[off + len - 1]} is the last. 49 * @param bytes a byte array 51 * @param len the number of bytes to write 53 * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or 56 Sink putBytes(byte[] bytes, in argument [all...] |
/external/icu4c/samples/uciter8/ |
H A D | uciter8.c | 300 static const uint8_t bytes[]={ local 315 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1); 319 uiter_setLenient8(&iter2, (const char *)bytes, -1); 324 uiter_setLenient8(&iter1, (const char*)bytes, -1);
|
/external/iproute2/include/linux/ |
H A D | gen_stats.h | 18 * @bytes: number of seen bytes 22 __u64 bytes; member in struct:gnet_stats_basic 26 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/external/libvorbis/examples/ |
H A D | decoder_example.c | 57 int bytes; local 90 bytes=fread(buffer,1,4096,stdin); 91 ogg_sync_wrote(&oy,bytes); 96 if(bytes<4096)break; 177 bytes=fread(buffer,1,4096,stdin); 178 if(bytes==0 && i<2){ 182 ogg_sync_wrote(&oy,bytes); 286 bytes=fread(buffer,1,4096,stdin); 287 ogg_sync_wrote(&oy,bytes); 288 if(bytes [all...] |
H A D | encoder_example.c | 65 /* we cheat on the WAV header; we just bypass 44 bytes (simplest WAV 66 header is 44 bytes) and assume that the data is 44.1khz, stereo, 16 bit 182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */ local 184 if(bytes==0){ 198 for(i=0;i<bytes/4;i++){
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveOpenCallback.cpp | 16 STDMETHODIMP COpenCallbackImp::SetTotal(const UInt64 *files, const UInt64 *bytes)
argument 20 return ReOpenCallback->SetTotal(files, bytes);
23 return Callback->Open_SetTotal(files, bytes);
27 STDMETHODIMP COpenCallbackImp::SetCompleted(const UInt64 *files, const UInt64 *bytes)
argument 31 return ReOpenCallback->SetCompleted(files, bytes);
34 return Callback->Open_SetCompleted(files, bytes);
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.c | 309 unsigned bytes = n * sizeof(struct tgsi_token); local 310 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); 312 memcpy(new_tokens, tokens, bytes); 323 unsigned bytes = num_tokens * sizeof(struct tgsi_token); local 324 return (struct tgsi_token *) MALLOC(bytes);
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_resource_buffer.c | 167 unsigned bytes, 182 buf->b.b.width0 = bytes; 165 i915_user_buffer_create(struct pipe_screen *screen, void *ptr, unsigned bytes, unsigned bind) argument
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource_buffer.c | 378 unsigned bytes, 393 sbuf->b.b.width0 = bytes; 376 svga_user_buffer_create(struct pipe_screen *screen, void *ptr, unsigned bytes, unsigned bind) argument
|
/external/mesa3d/src/glx/apple/ |
H A D | glxreply.c | 40 const GLint bytes = (reply_is_always_array) local 42 const GLint extra = 4 - (bytes & 3); 44 _XRead(dpy, dest, bytes);
|
/external/mesa3d/src/mesa/main/ |
H A D | texcompress.c | 468 * \param srcRowStride stride in bytes between rows of blocks in the 480 GLuint bytes, bw, bh; local 482 bytes = _mesa_get_format_bytes(format); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
H A D | PlayReadyHeader.java | 33 * The sample Id is used as the IV in CTR mode. Block offset, starting at 0 and incremented by 1 after every 16 bytes, from the beginning of the sample is used as the Counter. 35 * The sample ID for each sample (media object) is stored as an ASF payload extension system with the ID of ASF_Payload_Extension_Encryption_SampleID = {6698B84E-0AFA-4330-AEB2-1C0A98D7A44D}. The payload extension can be stored as a fixed size extension of 8 bytes. 141 public abstract void parse(ByteBuffer bytes); argument 164 public void parse(ByteBuffer bytes) { argument 166 byte[] str = new byte[bytes.slice().limit()]; 167 bytes.get(str); 212 public void parse(ByteBuffer bytes) { argument 213 this.value = bytes.duplicate(); 240 public void parse(ByteBuffer bytes) { argument 241 this.value = bytes [all...] |
/external/openssh/ |
H A D | buffer.c | 160 /* Returns the number of bytes of data in the buffer. */ 174 error("buffer_get_ret: trying to get more bytes %d than in buffer %d", 190 /* Consumes the given number of bytes from the beginning of the buffer. */ 193 buffer_consume_ret(Buffer *buffer, u_int bytes) argument 195 if (bytes > buffer->end - buffer->offset) { 196 error("buffer_consume_ret: trying to get more bytes than in buffer"); 199 buffer->offset += bytes; 204 buffer_consume(Buffer *buffer, u_int bytes) argument 206 if (buffer_consume_ret(buffer, bytes) == -1) 210 /* Consumes the given number of bytes fro 213 buffer_consume_end_ret(Buffer *buffer, u_int bytes) argument 222 buffer_consume_end(Buffer *buffer, u_int bytes) argument [all...] |
H A D | entropy.c | 57 * /dev/random), then collect RANDOM_SEED_SIZE bytes of randomness from 65 * Collect 'len' bytes of entropy into 'buf' from PRNGD/EGD daemon 90 fatal("Too many bytes (%d) to read from PRNGD", len); 164 seed_from_prngd(unsigned char *buf, size_t bytes) argument 168 if (get_random_bytes_prngd(buf, bytes, PRNGD_PORT, NULL) == 0) 173 if (get_random_bytes_prngd(buf, bytes, 0, PRNGD_SOCKET) == 0) 185 error("Couldn't obtain random bytes (error %ld)", 200 debug3("rexec_recv_rng_seed: seeding rng with %u bytes", len);
|
/external/openssl/crypto/bn/ |
H A D | bn_rand.c | 121 int ret=0,bit,bytes,mask; local 130 bytes=(bits+7)/8; 134 buf=(unsigned char *)OPENSSL_malloc(bytes); 147 if (RAND_pseudo_bytes(buf, bytes) == -1) 152 if (RAND_bytes(buf, bytes) <= 0) 164 for (i = 0; i < bytes; i++) 198 buf[bytes-1]|=1; 199 if (!BN_bin2bn(buf,bytes,rnd)) goto err; 204 OPENSSL_cleanse(buf,bytes);
|
/external/openssl/crypto/evp/ |
H A D | evp_pkey.c | 219 const unsigned char *bytes, int len) 222 type, bytes, len)) return 1; 228 const unsigned char *bytes, int len) 231 type, bytes, len)) return 1; 237 const unsigned char *bytes, int len) 240 type, bytes, len)) return 1; 217 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 226 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument 235 EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len) argument
|
/external/openssl/crypto/rand/ |
H A D | randfile.c | 108 int RAND_load_file(const char *file, long bytes) argument 110 /* If bytes >= 0, read up to 'bytes' bytes. 111 * if bytes == -1, read complete file. */ 134 if (bytes == 0) return(ret); 145 * of bytes from a random device, nor do we want to use buffered 148 bytes = (bytes == -1) ? 2048 : bytes; /* o [all...] |
/external/pixman/test/ |
H A D | rotate-test.c | 64 uint32_t *bytes = malloc (WIDTH * HEIGHT * 4); local 67 prng_randmemset (bytes, WIDTH * HEIGHT * 4, 0); 70 format, WIDTH, HEIGHT, bytes, WIDTH * 4); 73 pixman_image_set_destroy_function (image, on_destroy, bytes);
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
H A D | ByteStringMicro.java | 36 * Immutable array of bytes. 42 private final byte[] bytes; field in class:ByteStringMicro 44 private ByteStringMicro(final byte[] bytes) { argument 45 this.bytes = bytes; 54 return bytes[index]; 58 * Gets the number of bytes. 61 return bytes.length; 68 return bytes.length == 0; 80 * Copies the given bytes int 82 copyFrom(final byte[] bytes, final int offset, final int size) argument 92 copyFrom(final byte[] bytes) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysevents.cc | 342 const char *bytes; local 343 if (msg->FindString("bytes", &bytes) == B_OK) { 348 keysym.unicode = Translate2Unicode(bytes); 372 const char *bytes; local 373 if (msg->FindString("bytes", &bytes) == B_OK) { 374 keysym.unicode = Translate2Unicode(bytes);
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
H A D | SDL_macmouse.c | 56 int row, bytes; local 72 bytes = (w+7)/8; 75 SDL_memcpy(&cursor->curs.data[row], data, bytes); 76 data += bytes; 79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes); 80 mask += bytes;
|
/external/skia/include/core/ |
H A D | SkChecksum.h | 46 * @param size Size of the data block in bytes. Must be a multiple of 4. 50 static uint32_t Murmur3(const uint32_t* data, size_t bytes, uint32_t seed=0) { argument 51 SkASSERT(SkIsAlign4(bytes)); 52 const size_t words = bytes/4; 66 hash ^= bytes; 85 * @param size Size of the data block in bytes. Must be a multiple of 4.
|