Searched defs:bytes (Results 251 - 275 of 835) sorted by relevance

<<11121314151617181920>>

/external/boringssl/src/crypto/x509/
H A Dx509name.c173 unsigned char *bytes, int len, int loc, int set)
177 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
185 unsigned char *bytes, int len, int loc, int set)
189 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
197 const unsigned char *bytes, int len, int loc, int set)
201 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
274 const char *field, int type, const unsigned char *bytes, int len)
286 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,len);
292 int type, unsigned char *bytes, int len)
303 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,le
172 X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set) argument
184 X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set) argument
196 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
273 X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len) argument
291 X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type, unsigned char *bytes, int len) argument
309 X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument
347 X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len) argument
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentVerifierProviderBuilder.java302 public void write(byte[] bytes, int off, int len) argument
307 sig.update(bytes, off, len);
315 public void write(byte[] bytes) argument
320 sig.update(bytes);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1ObjectIdentifier.java83 byte[] bytes)
90 for (int i = 0; i != bytes.length; i++)
92 int b = bytes[i] & 0xff;
162 this.body = Arrays.clone(bytes);
82 ASN1ObjectIdentifier( byte[] bytes) argument
H A DDERBitString.java71 * @return the correct number of bytes for a bit string defined in
76 int bytes = 4;
83 bytes--;
86 byte[] result = new byte[bytes];
87 for (int i = 0; i < bytes; i++)
221 byte[] bytes = new byte[getBytes().length + 1];
223 bytes[0] = (byte)getPadBits();
224 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1);
226 out.writeEncoded(BERTags.BIT_STRING, bytes);
279 fromOctetString(byte[] bytes) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
H A DPKCS10CertificationRequest.java223 byte[] bytes)
227 ASN1InputStream dIn = new ASN1InputStream(bytes);
242 byte[] bytes)
244 super(toDERSequence(bytes));
222 toDERSequence( byte[] bytes) argument
241 PKCS10CertificationRequest( byte[] bytes) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DStrings.java11 public static String fromUTF8ByteArray(byte[] bytes) argument
16 while (i < bytes.length)
19 if ((bytes[i] & 0xf0) == 0xf0)
25 else if ((bytes[i] & 0xe0) == 0xe0)
29 else if ((bytes[i] & 0xc0) == 0xc0)
44 while (i < bytes.length)
48 if ((bytes[i] & 0xf0) == 0xf0)
50 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[
262 fromByteArray(byte[] bytes) argument
273 asCharArray(byte[] bytes) argument
[all...]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
H A Dfsdiff.py77 t += ' (%s bytes)' % f.size
177 actual_content = file.bytes
183 msg = 'differ (%i bytes smaller)' % (
186 msg = 'differ (%i bytes larger)' % (
221 ``bytes``:
246 bytes = property(bytes__get) variable in class:File
249 return s in self.bytes
253 bytes = self.bytes
254 if s not in bytes
289 bytes = property(bytes__get) variable in class:Dir
[all...]
/external/deqp/executor/
H A DxeCallQueue.cpp163 void CallReader::read (deUint8* bytes, int numBytes) argument
166 deMemcpy(bytes, m_call->getData()+m_curPos, numBytes);
212 void CallWriter::write (const deUint8* bytes, int numBytes) argument
217 deMemcpy(m_call->getData()+curPos, bytes, numBytes);
H A DxeContainerFormatParser.cpp65 void ContainerFormatParser::feed (const deUint8* bytes, int numBytes) argument
72 m_buf.pushFront(bytes, numBytes);
H A DxeXMLParser.cpp82 void Tokenizer::feed (const deUint8* bytes, int numBytes) argument
91 m_buf.pushFront(bytes, numBytes);
373 void Parser::feed (const deUint8* bytes, int numBytes) argument
375 m_tokenizer.feed(bytes, numBytes);
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstString.java36 /** {@code non-null;} the UTF-8 value as bytes */
37 private final ByteArray bytes; field in class:CstString
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outA
79 utf8BytesToString(ByteArray bytes) argument
194 CstString(ByteArray bytes) argument
[all...]
/external/dhcpcd/
H A Darp.c113 ssize_t bytes; local
121 bytes = get_raw_packet(iface, ETHERTYPE_ARP,
123 if (bytes == 0 || bytes == -1)
126 if ((size_t)bytes < sizeof(ar))
143 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes)
H A Dlpf.c182 ssize_t bytes; local
194 bytes = recvmsg(fd, &msg, 0);
195 if (bytes == -1)
213 return bytes;
/external/elfutils/src/lib/
H A Dsha1.c44 /* This array contains the bytes used to pad the buffer to the next
64 /* Put result from CTX in first 20 bytes following RESBUF. The result
90 /* Process the remaining bytes in the internal buffer and the usual
100 /* Take yet unprocessed bytes into account. */
101 sha1_uint32 bytes = ctx->buflen; local
104 /* Now count remaining bytes. */
105 ctx->total[0] += bytes;
106 if (ctx->total[0] < bytes)
109 pad = bytes >= 56 ? 64 + 56 - bytes
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/
H A DMethod_info.java76 final UDataInputStream bytes)
79 m_access_flags = bytes.readU2 ();
81 m_name_index = bytes.readU2 ();
82 m_descriptor_index = bytes.readU2 ();
86 final int attributes_count = bytes.readU2 ();
91 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
75 Method_info(final IConstantCollection constants, final UDataInputStream bytes) argument
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DAttribute_info.java41 * item indicates the length of the subsequent information in bytes. The length
42 * does not include the initial six bytes that contain the attribute_name_index
96 * 'bytes'.
99 * @param bytes input .class data stream [may not be null; not validated]
106 final UDataInputStream bytes)
109 final int attribute_name_index = bytes.readU2 ();
110 final long attribute_length = bytes.readU4 ();
117 return new CodeAttribute_info (constants, attribute_name_index, attribute_length, bytes);
121 return new ConstantValueAttribute_info (attribute_name_index, attribute_length, bytes);
125 return new ExceptionsAttribute_info (attribute_name_index, attribute_length, bytes);
105 new_Attribute_info(final IConstantCollection constants, final UDataInputStream bytes) argument
[all...]
H A DCodeAttribute_info.java58 * The value of the code_length item gives the number of bytes in the code array for
60 * not be empty.The code array gives the actual bytes of Java Virtual Machine code that
209 final UDataInputStream bytes)
214 m_max_stack = bytes.readU2 ();
215 m_max_locals = bytes.readU2 ();
217 final long code_length = bytes.readU4 ();
220 bytes.readFully (m_code);
224 final int exception_table_length = bytes.readU2 ();
229 Exception_info exception_info = new Exception_info (bytes);
237 final int attributes_count = bytes
207 CodeAttribute_info(final IConstantCollection constants, final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
[all...]
/external/fio/os/
H A Dos-freebsd.h61 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) argument
66 *bytes = size;
70 *bytes = 0;
74 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) argument
76 return blockdev_size(f, bytes);
H A Dos-hpux.h50 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) argument
58 *bytes = lba * dext.lgblksz;
62 *bytes = 0;
66 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) argument
68 return blockdev_size(f, bytes);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemorySizeCalculator.java63 * Returns the recommended memory cache size for the device it is run on in bytes.
70 * Returns the recommended bitmap pool size for the device it is run on in bytes.
83 private static int toMb(int bytes) { argument
84 return bytes / (1024 * 1024);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DGifBitmapWrapperResourceDecoder.java25 // 2048 is rather arbitrary, for most well formatted image types we only need 32 bytes.
68 private GifBitmapWrapper decode(ImageVideoWrapper source, int width, int height, byte[] bytes) throws IOException { argument
71 result = decodeStream(source, width, height, bytes);
78 private GifBitmapWrapper decodeStream(ImageVideoWrapper source, int width, int height, byte[] bytes) argument
80 InputStream bis = streamFactory.build(source.getStream(), bytes);
/external/gptfdisk/
H A Ddiskio-unix.cc293 // size with the number of bytes read.
294 // Returns the number of bytes read into buffer.
336 // size with the number of bytes read.
337 // Returns the number of bytes written.
391 off_t bytes = 0; // size in bytes local
420 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes);
422 sectors = bytes / b;
452 bytes = st.st_size;
453 if ((bytes
[all...]
H A Ddiskio-windows.cc213 // size with the number of bytes read.
214 // Returns the number of bytes read into buffer.
258 // Returns the number of bytes written.
307 DWORD bytes, moreBytes; // low- and high-order bytes of file size local
326 bytes = GetFileSize(fd, &moreBytes);
327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize();
/external/guava/guava/src/com/google/common/hash/
H A DAbstractNonStreamingHashFunction.java104 public Hasher putBytes(byte[] bytes) { argument
106 stream.write(bytes);
114 public Hasher putBytes(byte[] bytes, int off, int len) { argument
115 stream.write(bytes, off, len);
H A DFunnels.java37 * Returns a funnel that extracts the bytes from a {@code byte} array.
251 @Override public void write(byte[] bytes) { argument
252 sink.putBytes(bytes);
255 @Override public void write(byte[] bytes, int off, int len) { argument
256 sink.putBytes(bytes, off, len);

Completed in 788 milliseconds

<<11121314151617181920>>