Searched defs:bytes (Results 1 - 25 of 1230) sorted by path

1234567891011>>

/external/aac/libAACdec/src/
H A Daacdecoder.cpp231 \size Size of the buffer pointed on by buffer in bytes
255 \size Pointer to a buffer receiving the length of the requested anc data element in bytes
500 int bytes = (*count) >> 3; local
586 bytes--;
591 while (bytes > 0) {
593 bytes--;
599 *count = bytes<<3;
683 { /* Skip the remaining extension bytes */
/external/aac/libMpegTPEnc/src/
H A Dtpenc_latm.cpp110 then the value itself, with a size of 0-3 bytes
406 tmp = ( (p_lci->bitsFrame+7) >> 3 ) - 20; /* transmission frame length in bytes */
772 int *bytes)
806 *bytes = (FDKgetValidBits(hBs) + 7)>>3;
807 //FDKfetchBuffer(hBs, buffer, (UINT*)bytes);
820 *bytes = 0;
770 transportEnc_LatmGetFrame(HANDLE_LATM_STREAM hAss, HANDLE_FDK_BITSTREAM hBs, int *bytes) argument
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandom2Test.java114 byte[] bytes = new byte[313];
115 new SecureRandom().nextBytes(bytes);
201 protected void engineNextBytes(byte[] bytes) { argument
202 for (int i = 0; i < bytes.length; i++) {
203 bytes[i] = (byte) 0xFF;
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java38 protected void engineNextBytes(byte[] bytes) { argument
40 for (int i = 0; i < bytes.length; i++) {
41 bytes[i] = (byte) (i + 0xF1);
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java81 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
82 if (bytes == null) {
85 return Base64.encodeBase64(bytes);
88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
89 if (bytes == null) {
92 return Base64.decodeBase64(bytes);
H A DQCodec.java137 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
138 if (bytes == null) {
141 byte[] data = QuotedPrintableCodec.encodeQuotedPrintable(PRINTABLE_CHARS, bytes);
152 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
153 if (bytes == null) {
157 for (int i = 0; i < bytes.length; i++) {
158 if (bytes[i] == UNDERSCORE) {
164 byte[] tmp = new byte[bytes.length];
165 for (int i = 0; i < bytes.length; i++) {
166 byte b = bytes[
[all...]
H A DQuotedPrintableCodec.java128 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
137 * @param bytes
138 * array of bytes to be encoded
139 * @return array of bytes containing quoted-printable data
141 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { argument
142 if (bytes == null) {
149 for (int i = 0; i < bytes.length; i++) {
150 int b = bytes[i];
164 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
172 * @param bytes
178 decodeQuotedPrintable(byte[] bytes) argument
215 encode(byte[] bytes) argument
234 decode(byte[] bytes) argument
[all...]
H A DRFC1522Codec.java144 * Encodes an array of bytes using the defined encoding scheme
146 * @param bytes Data to be encoded
153 protected abstract byte[] doEncoding(byte[] bytes) throws EncoderException; argument
156 * Decodes an array of bytes using the defined encoding scheme
158 * @param bytes Data to be decoded
165 protected abstract byte[] doDecoding(byte[] bytes) throws DecoderException; argument
H A DURLCodec.java109 * Encodes an array of bytes into an array of URL safe 7-bit
113 * @param bytes array of bytes to convert to URL safe characters
114 * @return array of bytes containing URL safe characters
116 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) argument
118 if (bytes == null) {
126 for (int i = 0; i < bytes.length; i++) {
127 int b = bytes[i];
152 * original bytes. Escaped characters are converted back to their
155 * @param bytes arra
159 decodeUrl(byte[] bytes) argument
196 encode(byte[] bytes) argument
210 decode(byte[] bytes) argument
[all...]
/external/bison/lib/
H A Dabitset.c318 size_t bytes; local
320 bytes = sizeof (bitset_word) * dst->b.csize;
322 memset (dstp, -1, bytes);
331 size_t bytes; local
333 bytes = sizeof (bitset_word) * dst->b.csize;
335 memset (dstp, 0, bytes);
788 size_t bytes; local
794 bytes = header_size + size * sizeof (bitset_word);
800 bytes += bitset_alignment - 1;
801 bytes
[all...]
H A Dbitset.c36 /* Return number of bytes required to create a N_BIT bitset
37 of TYPE. The bitset may grow to require more bytes than this. */
41 size_t bytes; local
52 bytes = abitset_bytes (n_bits);
56 bytes = lbitset_bytes (n_bits);
60 bytes = ebitset_bytes (n_bits);
64 bytes = vbitset_bytes (n_bits);
68 return bytes;
136 size_t bytes; local
139 bytes
156 size_t bytes; local
[all...]
H A Dbitset_stats.c679 size_t bytes; local
699 bytes = abitset_bytes (n_bits);
700 sbset = xcalloc (1, bytes);
705 bytes = lbitset_bytes (n_bits);
706 sbset = xcalloc (1, bytes);
711 bytes = ebitset_bytes (n_bits);
712 sbset = xcalloc (1, bytes);
717 bytes = vbitset_bytes (n_bits);
718 sbset = xcalloc (1, bytes);
H A Dbitsetv.c33 size_t bytes; local
37 /* Determine number of bytes for each set. */
38 bytes = bitset_bytes (type, n_bits);
41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs)
45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1;
46 vector_bytes -= vector_bytes % bytes;
47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs);
51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
H A Dcalloc.c56 size_t bytes = n * s; local
57 if (bytes / s != n)
H A Dmbchar.h40 returns the number of bytes occupied by the multibyte sequence.
169 size_t bytes; /* number of bytes of current character, > 0 */ member in struct:mbchar
172 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */
175 /* EOF (not a real character) is represented with bytes = 0 and
182 #define mb_len(mbc) ((mbc).bytes)
194 : (mbc1).bytes == (mbc2).bytes \
195 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \
196 : (mbc1).bytes < (mbc
[all...]
H A Dmbswidth.c101 size_t bytes; local
104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
106 if (bytes == (size_t) -1)
119 if (bytes == (size_t) -2)
132 if (bytes == 0)
134 bytes = 1;
158 p += bytes;
H A Dquotearg.c470 be the first bytes of multibyte characters, which means
543 size_t bytes = mbrtowc (&w, &arg[i + m], local
545 if (bytes == 0)
547 else if (bytes == (size_t) -1)
552 else if (bytes == (size_t) -2)
569 for (j = 1; j < bytes; j++)
583 m += bytes;
692 embedded null bytes only if ARGSIZE is not SIZE_MAX, SIZE is not
701 /* Elide embedded null bytes if we can't return a size. */
795 /* Elide embedded null bytes sinc
[all...]
H A Dvbitset.c345 unsigned int bytes; local
347 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst);
349 memset (dstp, -1, bytes);
358 unsigned int bytes; local
360 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst);
362 memset (dstp, 0, bytes);
/external/blktrace/
H A Dblkparse.c1226 unsigned int bytes)
1230 ios->iwrite_kb_pc += bytes >> 10;
1233 ios->iread_kb_pc += bytes >> 10;
1240 __account_pc_issue(&pci->io_stats, rw, t->bytes);
1245 __account_pc_issue(ios, rw, t->bytes);
1317 static inline void __account_c(struct io_stats *ios, int rw, int bytes) argument
1321 ios->cwrite_kb += bytes >> 10;
1324 ios->cread_kb += bytes >> 10;
1329 int rw, int bytes)
1331 __account_c(&pci->io_stats, rw, bytes);
1225 __account_pc_issue(struct io_stats *ios, int rw, unsigned int bytes) argument
1328 account_c(struct blk_io_trace *t, struct per_cpu_info *pci, int rw, int bytes) argument
1340 __account_issue(struct io_stats *ios, int rw, unsigned int bytes) argument
2090 read_data(int fd, void *buffer, int bytes, int block, int *fdblock) argument
[all...]
H A Dblktrace_api.h100 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
/external/blktrace/btreplay/
H A Dbtrecord.c66 * @bytes: Number of bytes transferred
72 __u32 bytes; member in struct:io_spec
275 .nbytes = spec->bytes,
514 spec->bytes = t.bytes;
521 spec->bytes = be32_to_cpu(t.bytes);
550 (long long unsigned)spec->bytes / 512LLU,
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c183 static int calc_audiotime(struct a2dp_config cfg, int bytes) argument
190 return bytes*(1000000/(chan_count*2))/cfg.rate;
544 size_t bytes)
549 DEBUG("write %zu bytes (fd %d)", bytes, out->common.audio_fd);
568 int us_delay = calc_audiotime(out->common.cfg, bytes);
585 sent = skt_write(out->common.audio_fd, buffer, bytes);
594 DEBUG("wrote %d bytes out of %zu bytes", sent, bytes);
543 out_write(struct audio_stream_out *stream, const void* buffer, size_t bytes) argument
915 in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) argument
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config.c63 #define GET_CHILD_MAX_COUNT(node) (short)((int)(node)->bytes / sizeof(cfg_node))
67 #define GET_NODE_COUNT(bytes) (bytes / sizeof(cfg_node))
84 short bytes; member in struct:cfg_node_s
104 const char* value, short bytes, short type);
107 static short find_next_node(const cfg_node* p, short start, char* name, int* bytes);
119 bdld("%s, p->name:%s, child/value:%p, bytes:%d",
120 title, p->name, p->child, p->bytes);
187 int btif_config_get(const char* section, const char* key, const char* name, char* value, int* bytes, int* type) argument
190 bdla(section && *section && key && *key && name && *name && bytes
222 btif_config_set(const char* section, const char* key, const char* name, const char* value, int bytes, int type) argument
275 btif_config_next_key(short pos, const char* section, char * name, int* bytes) argument
288 btif_config_next_value(short pos, const char* section, const char* key, char* name, int* bytes) argument
494 set_node(const char* section, const char* key, const char* name, const char* value, short bytes, short type) argument
558 find_next_node(const cfg_node* p, short start, char* name, int* bytes) argument
[all...]
H A Dbtif_config_util.cpp114 const char* value, int bytes, int type);
115 static inline void bytes2hex(const char* data, int bytes, char* str) argument
118 for(int i = 0; i < bytes; i++)
297 const char* value, int bytes, int type)
337 char* value_str = (char*)alloca(bytes*2 + 1);
338 bytes2hex(value, bytes, value_str);
296 enum_config(void* user_data, const char* section_name, const char* key_name, const char* value_name, const char* value, int bytes, int type) argument

Completed in 5063 milliseconds

1234567891011>>