Searched defs:bytes (Results 426 - 450 of 1230) sorted by relevance

<<11121314151617181920>>

/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DIOHandler.java104 private void writeChunks(OutputStream outputStream, byte[] bytes, int length) argument
109 // outputStream.write(bytes,0,length);
113 outputStream.write(bytes, p, chunk);
150 * Send an array of bytes.
160 int contactPort, String transport, byte[] bytes, boolean retry,
165 int length = bytes.length;
207 writeChunks(outputStream, bytes, length);
213 writeChunks(outputStream, bytes, length);
281 writeChunks(outputStream, bytes, length);
287 writeChunks(outputStream, bytes, lengt
159 sendBytes(InetAddress senderAddress, InetAddress receiverAddress, int contactPort, String transport, byte[] bytes, boolean retry, MessageChannel messageChannel) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DHuffman.java77 int encodedLength(byte[] bytes) { argument
80 for (int i = 0; i < bytes.length; i++) {
81 int b = bytes[i] & 0xFF;
/external/openssl/crypto/bn/
H A Dbn_rand.c122 int ret=0,bit,bytes,mask; local
131 bytes=(bits+7)/8;
135 buf=(unsigned char *)OPENSSL_malloc(bytes);
148 if (RAND_pseudo_bytes(buf, bytes) == -1)
153 if (RAND_bytes(buf, bytes) <= 0)
165 for (i = 0; i < bytes; i++)
199 buf[bytes-1]|=1;
200 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
205 OPENSSL_cleanse(buf,bytes);
324 /* We generate |range|+8 bytes o
[all...]
/external/openssl/crypto/cms/
H A Dcms_att.c98 const void *bytes, int len)
101 type, bytes, len)) return 1;
107 const void *bytes, int len)
110 type, bytes, len)) return 1;
116 const void *bytes, int len)
119 type, bytes, len)) return 1;
164 const void *bytes, int len)
167 type, bytes, len)) return 1;
173 const void *bytes, int len)
176 type, bytes, le
96 CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len) argument
105 CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument
114 CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len) argument
162 CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len) argument
171 CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument
180 CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len) argument
[all...]
/external/openssl/crypto/x509/
H A Dx509_att.c158 const unsigned char *bytes, int len)
162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
171 const unsigned char *bytes, int len)
175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
184 const unsigned char *bytes, int len)
188 attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
258 const char *atrname, int type, const unsigned char *bytes, int len)
271 nattr = X509_ATTRIBUTE_create_by_OBJ(attr,obj,type,bytes,len);
257 X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len) argument
H A Dx509name.c175 unsigned char *bytes, int len, int loc, int set)
179 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
187 unsigned char *bytes, int len, int loc, int set)
191 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
199 const unsigned char *bytes, int len, int loc, int set)
203 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
276 const char *field, int type, const unsigned char *bytes, int len)
289 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,len);
295 int type, unsigned char *bytes, int len)
306 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,le
174 X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set) argument
186 X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set) argument
198 X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set) argument
275 X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len) argument
294 X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type, unsigned char *bytes, int len) argument
311 X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument
349 X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len) argument
[all...]
/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java54 // Initially, we're storing the UTF-8 bytes in a byte array.
59 private byte[] bytes; field in class:Utf8Constant
78 this.bytes = null;
84 * Initializes the UTF-8 data with an array of bytes.
86 public void setBytes(byte[] bytes) argument
88 this.bytes = bytes;
94 * Returns the UTF-8 data as an array of bytes.
107 return bytes;
116 this.bytes
244 getStringRepresentation(byte[] bytes) argument
[all...]
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DCodedInputStreamTest.java50 * Helper to construct a byte array from a bunch of bytes. The inputs are
54 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest
55 byte[] bytes = new byte[bytesAsInts.length];
57 bytes[i] = (byte) bytesAsInts[i];
59 return bytes;
63 * An InputStream which limits the number of bytes it reads at a time.
89 * Parses the given bytes using readRawVarint32() and readRawVarint64() and
123 * Parses the given bytes using readRawVarint32() and readRawVarint64() and
157 assertReadVarint(bytes(0x00), 0);
158 assertReadVarint(bytes(
[all...]
H A DTextFormatTest.java207 * characters. The characters are converted directly to bytes, *not*
210 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest
215 * Helper to construct a ByteString from a bunch of bytes. The inputs are
219 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest
220 byte[] bytes = new byte[bytesAsInts.length];
222 bytes[i] = (byte) bytesAsInts[i];
224 return ByteString.copyFrom(bytes);
258 // Strings and bytes that needing escaping.
260 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe"))
465 TextFormat.escapeBytes(bytes("\
[all...]
/external/qemu/audio/
H A Dnoaudio.c47 int64_t bytes; local
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
52 bytes = audio_MIN (bytes, INT_MAX);
53 samples = bytes >> hw->info.shift;
107 int64_t bytes = local
111 bytes = audio_MIN (bytes, INT_MAX);
112 samples = bytes >> hw->info.shift;
H A Dwavcapture.c7 int bytes; member in struct:__anon29246
36 uint32_t datalen = wav->bytes;
59 wav->bytes += size;
74 monitor_printf(cur_mon, "Capturing audio(%d,%d,%d) to %s: %d bytes\n",
76 path ? path : "<not available>", wav->bytes);
/external/qemu/distrib/jpeg-6b/
H A Djmemmac.c158 long bytes = byte_count; local
164 retVal = FSRead ( info->temp_file, &bytes,
166 if ( retVal != noErr || bytes != byte_count )
176 long bytes = byte_count; local
182 retVal = FSWrite ( info->temp_file, &bytes,
184 if ( retVal != noErr || bytes != byte_count )
279 * Note that FreeMem returns the total number of free bytes;
/external/regex-re2/util/
H A Dbenchmark.cc34 static int64 bytes; variable
40 bytes = x;
67 bytes = 0;
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
/external/skia/src/images/
H A DSkImageDecoder_ktx.cpp216 const uint8_t *bytes = data->bytes(); local
217 if (etc1_pkm_is_valid(bytes)) {
222 if (SkKTXFile::is_ktx(bytes)) {
223 return stream->write(bytes, data->size());
234 const uint8_t* bytes = data->bytes(); local
235 SkASSERT(etc1_pkm_is_valid(bytes));
237 etc1_uint32 width = etc1_pkm_get_width(bytes);
238 etc1_uint32 height = etc1_pkm_get_height(bytes);
[all...]
H A DSkImageDecoder_wbmp.cpp77 int bytes = bits >> 3; local
79 for (int i = 0; i < bytes; i++) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DBaseDexReader.java288 public int readSizedInt(int bytes) { argument
293 switch (bytes) {
313 throw new ExceptionWithContext("Invalid size %d for sized int at offset 0x%x", bytes, offset);
315 offset = o + bytes;
319 public int readSizedSmallUint(int bytes) { argument
324 switch (bytes) {
343 throw new ExceptionWithContext("Invalid size %d for sized uint at offset 0x%x", bytes, offset);
345 offset = o + bytes;
349 public int readSizedRightExtendedInt(int bytes) { argument
354 switch (bytes) {
381 readSizedRightExtendedLong(int bytes) argument
447 readSizedLong(int bytes) argument
[all...]
/external/tremolo/Tremolo/
H A Dtreminfo.c52 static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){ argument
53 while(bytes--){
/external/valgrind/main/coregrind/m_ume/
H A Delf.c223 UInt bytes; local
225 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss);
226 if (bytes > 0) {
229 VG_PGROUNDUP(bss), bytes,
233 check_mmap(res, VG_PGROUNDUP(bss), bytes);
236 bytes = bss & (VKI_PAGE_SIZE - 1);
239 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) {
240 bytes = VKI_PAGE_SIZE - bytes;
241 VG_(memset)((void *)bss, 0, bytes);
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dfile_impl.cc73 int FileWrapperImpl::SetMaxFileSize(size_t bytes) argument
75 _maxSizeInBytes = 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/bison/lib/
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 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...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DAESEngine.java228 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */
420 byte[] bytes,
425 C0 = (bytes[index++] & 0xff);
426 C0 |= (bytes[index++] & 0xff) << 8;
427 C0 |= (bytes[index++] & 0xff) << 16;
428 C0 |= bytes[index++] << 24;
430 C1 = (bytes[index++] & 0xff);
431 C1 |= (bytes[index++] & 0xff) << 8;
432 C1 |= (bytes[index++] & 0xff) << 16;
433 C1 |= bytes[inde
419 unpackBlock( byte[] bytes, int off) argument
446 packBlock( byte[] bytes, int off) argument
[all...]
H A DAESFastEngine.java558 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */
751 byte[] bytes,
756 C0 = (bytes[index++] & 0xff);
757 C0 |= (bytes[index++] & 0xff) << 8;
758 C0 |= (bytes[index++] & 0xff) << 16;
759 C0 |= bytes[index++] << 24;
761 C1 = (bytes[index++] & 0xff);
762 C1 |= (bytes[index++] & 0xff) << 8;
763 C1 |= (bytes[index++] & 0xff) << 16;
764 C1 |= bytes[inde
750 unpackBlock( byte[] bytes, int off) argument
777 packBlock( byte[] bytes, int off) argument
[all...]
/external/chromium_org/ash/host/
H A Dash_window_tree_host_x11.cc268 unsigned long old_nvalues, bytes; local
280 &bytes,

Completed in 631 milliseconds

<<11121314151617181920>>