/external/webkit/Source/WebKit/mac/WebView/ |
H A D | WebPDFDocumentExtras.mm | 107 const UInt8* bytes = 0; 117 bytes = CFDataGetBytePtr(data.get()); 120 bytes = CGPDFStringGetBytePtr(string); 123 if (!bytes) 126 NSStringEncoding encoding = (length > 1 && bytes[0] == 0xFE && bytes[1] == 0xFF) ? NSUnicodeStringEncoding : NSUTF8StringEncoding; 127 NSString *script = [[NSString alloc] initWithBytes:bytes length:length encoding:encoding];
|
/external/openssl/crypto/x509/ |
H A D | x509name.c | 175 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/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 private List<Byte> toList(byte[] bytes) { argument 65 for (byte b : bytes) { 77 * checks that the result matches the given bytes. 130 assertWriteVarint(bytes(0x00), 0); 131 assertWriteVarint(bytes( [all...] |
/external/webkit/Source/WebCore/platform/text/wince/ |
H A D | TextCodecWinCE.cpp | 190 static inline const char* findFirstNonAsciiCharacter(const char* bytes, size_t length) argument 192 for (const char* bytesEnd = bytes + length; bytes < bytesEnd; ++bytes) { 193 if (*bytes & 0x80) 196 return bytes; 199 static void decodeInternal(Vector<UChar, 8192>& result, UINT codePage, const char* bytes, size_t length, size_t* left) argument 202 if (!bytes || !length) 210 int resultLength = MultiByteToWideChar(codePage, flags, bytes, testLength, 0, 0); 216 MultiByteToWideChar(codePage, flags, bytes, testLengt 236 decode(const char* bytes, size_t length, bool flush, bool stopOnError, bool& sawError) argument [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/pem/ |
H A D | PemWriter.java | 42 * Return the number of bytes or characters required to contain the 46 * @return an estimate of the number of bytes 99 private void writeEncoded(byte[] bytes) argument 102 bytes = Base64.encode(bytes); 104 for (int i = 0; i < bytes.length; i += buf.length) 110 if ((i + index) >= bytes.length) 114 buf[index] = (char)bytes[i + index];
|
/external/chromium/net/base/ |
H A D | ip_endpoint.cc | 89 const char* bytes = reinterpret_cast<const char*>(&addr->sin_addr); local 90 address_.assign(&bytes[0], &bytes[kIPv4AddressSize]); 97 const char* bytes = reinterpret_cast<const char*>(&addr->sin6_addr); local 98 address_.assign(&bytes[0], &bytes[kIPv6AddressSize]);
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | Method_info.java | 76 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/valgrind/main/drd/tests/ |
H A D | annotate_ignore_rw2.stderr.exp | 4 Location 0x........ is 0 bytes inside local var "s_b" 9 Location 0x........ is 0 bytes inside local var "s_a" 14 Location 0x........ is 0 bytes inside local var "s_c"
|
H A D | annotate_ignore_write.stderr.exp | 4 Location 0x........ is 0 bytes inside local var "s_b" 9 Location 0x........ is 0 bytes inside local var "s_c" 14 Location 0x........ is 0 bytes inside local var "s_a"
|
/external/valgrind/main/memcheck/tests/ |
H A D | realloc3.stderr.exp | 3 Address 0x........ is 15 bytes after a block of size 5 alloc'd 9 Address 0x........ is 15 bytes after a block of size 5 alloc'd 15 Address 0x........ is 15 bytes after a block of size 5 alloc'd
|
/external/dropbear/ |
H A D | keyimport.c | 226 * bytes used out of the source data. 285 * number of bytes consumed. Assumes dest contains enough space. 303 * Identifier is multiple bytes: the first byte is 11111 304 * plus the flags, and subsequent bytes encode the value of 311 continue; /* count the bytes */ 327 * Length is multiple bytes. The first is 0x80 plus the 328 * number of subsequent bytes, and the subsequent bytes 332 continue; /* count the bytes */ 346 struct mpint_pos { void *start; int bytes; }; member in struct:mpint_pos [all...] |
H A D | bignum.c | 55 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len) { argument 57 if (mp_read_unsigned_bin(mp, (unsigned char*)bytes, len) != MP_OKAY) {
|
/external/blktrace/btt/ |
H A D | trace_queue.c | 32 update_q_histo(q_iop->t.bytes); 46 if (q_iop->t.bytes == 0)
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
H A D | DERSequence.java | 76 byte[] bytes = bOut.toByteArray(); 78 out.writeEncoded(SEQUENCE | CONSTRUCTED, bytes);
|
/external/chromium/base/win/ |
H A D | scoped_bstr.h | 48 // Allocates a new BSTR with the specified number of bytes. 50 BSTR AllocateBytes(size_t bytes); 53 // |bytes|. This is useful when the BSTR was preallocated with e.g. 55 // not all the bytes are being used. 61 // NOTE: The actual allocated size of the BSTR MUST be >= bytes. That 63 void SetByteLen(size_t bytes); 77 // Returns the number of bytes allocated for the BSTR.
|
/external/chromium/net/tools/flip_server/ |
H A D | ring_buffer.cc | 53 // Appends up-to-'size' bytes to the ringbuffer. 54 int RingBuffer::Write(const char* bytes, int size) { argument 67 memcpy(wptr, bytes + bytes_written, wsize); 75 const char* p = bytes; 82 const char* end = bytes + bytes_to_write; 131 // returns the number of bytes read into 132 int RingBuffer::Read(char* bytes, int size) { argument 145 memcpy(bytes + bytes_read, rptr, rsize); 153 char* p = bytes; 159 char* end = bytes [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | SourceFileAttribute_info.java | 85 final UDataInputStream bytes) 90 m_sourcefile_index = bytes.readU2 (); 84 SourceFileAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
H A D | CONSTANT_Class_info.java | 88 protected CONSTANT_Class_info (final UDataInputStream bytes) throws IOException argument 90 m_name_index = bytes.readU2 ();
|
H A D | CONSTANT_Double_info.java | 81 protected CONSTANT_Double_info (final UDataInputStream bytes) throws IOException argument 83 m_value = bytes.readDouble ();
|
H A D | CONSTANT_Float_info.java | 21 * The bytes item of the CONSTANT_Float_info structure contains the value of 72 protected CONSTANT_Float_info (final UDataInputStream bytes) throws IOException argument 74 m_value = bytes.readFloat ();
|
H A D | CONSTANT_Integer_info.java | 21 * The bytes item of the CONSTANT_Integer_info structure contains the value of 22 * the int constant. The bytes of the value are stored in big-endian (high byte 73 protected CONSTANT_Integer_info (final UDataInputStream bytes) throws IOException argument 75 m_value = bytes.readInt ();
|
H A D | CONSTANT_Long_info.java | 23 * (( long ) high_bytes << 32) + low_bytes , where the bytes of each of high_bytes 82 protected CONSTANT_Long_info (final UDataInputStream bytes) throws IOException argument 84 m_value = bytes.readLong ();
|
H A D | CONSTANT_Utf8_info.java | 20 * The bytes of multibyte characters are stored in the class file in big-endian 77 protected CONSTANT_Utf8_info (final UDataInputStream bytes) throws IOException argument 79 m_value = bytes.readUTF ();
|
/external/flac/libFLAC/include/private/ |
H A D | ogg_decoder_aspect.h | 54 ogg_packet working_packet; /* as we work through the packet we will move working_packet.packet forward and working_packet.bytes down */ 75 typedef FLAC__OggDecoderAspectReadStatus (*FLAC__OggDecoderAspectReadCallbackProxy)(const void *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); 77 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);
|
H A D | ogg_encoder_aspect.h | 59 typedef FLAC__StreamEncoderWriteStatus (*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 61 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);
|