/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BitString.java | 38 public final byte[] bytes; field in class:BitString 44 * @param bytes array of bytes that represents bit string, 49 public BitString(byte[] bytes, int unusedBits) { 55 if (bytes.length == 0 && unusedBits != 0) { 59 this.bytes = bytes; 69 bytes = new byte[size]; 78 return (bytes[index] & SET_MASK[offset]) != 0; 85 bytes[index] |= SET_MASK[offset] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DEREnumerated.java | 14 byte[] bytes; field in class:DEREnumerated 80 bytes = BigInteger.valueOf(value).toByteArray(); 89 bytes = value.toByteArray(); 96 byte[] bytes) 98 this.bytes = bytes; 103 return new BigInteger(bytes); 113 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length; 120 out.writeEncoded(BERTags.ENUMERATED, bytes); [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_info.java | 60 public static CONSTANT_info new_CONSTANT_info (final UDataInputStream bytes) 63 byte tag = bytes.readByte (); 68 return new CONSTANT_Utf8_info (bytes); 71 return new CONSTANT_Integer_info (bytes); 74 return new CONSTANT_Float_info (bytes); 77 return new CONSTANT_Long_info (bytes); 80 return new CONSTANT_Double_info (bytes); 84 return new CONSTANT_Class_info (bytes); 87 return new CONSTANT_String_info (bytes); 91 return new CONSTANT_Fieldref_info (bytes); [all...] |
/art/test/102-concurrent-gc/src/ |
Main.java | 24 public byte[] bytes; field in class:Main.ByteContainer 37 l[index].bytes = new byte[bufferSize]; 57 byte[] temp = l[a].bytes; 58 l[a].bytes = l[b].bytes; 59 l[b].bytes = temp;
|
/external/chromium_org/third_party/cython/src/Cython/Tempita/ |
compat3.py | 3 __all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode'] 6 b = bytes = str 13 return bytes(s) 14 basestring_ = (bytes, str) 15 bytes = bytes variable 44 return bytes(v)
|
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-for-malloc.h | 19 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len; 23 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len { 24 return [self initWithBytesNoCopy:bytes length:len freeWhenDone:1]; // no-warning 29 + (id)somethingNoCopy:(char *)bytes; 30 + (id)somethingNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer; 31 + (id)something:(char *)bytes freeWhenDone:(BOOL)freeBuffer;
|
/bionic/tests/ |
uchar_test.cpp | 84 char bytes[MB_LEN_MAX]; local 85 EXPECT_EQ(1U, c16rtomb(bytes, L'\0', NULL)); 93 char bytes[MB_LEN_MAX]; local 95 memset(bytes, 0, sizeof(bytes)); 96 EXPECT_EQ(1U, c16rtomb(bytes, L'h', NULL)); 97 EXPECT_EQ('h', bytes[0]); 103 memset(bytes, 0, sizeof(bytes)); 104 EXPECT_EQ(1U, c16rtomb(bytes, L'h', NULL)) 124 char bytes[MB_LEN_MAX]; local 140 char bytes[MB_LEN_MAX]; local 282 char bytes[MB_LEN_MAX]; local [all...] |
/bionic/libc/bionic/ |
jemalloc_wrapper.cpp | 23 void* je_pvalloc(size_t bytes) { 25 size_t size = BIONIC_ALIGN(bytes, pagesize); 26 if (size < bytes) {
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
Output.java | 27 * bytes written to this instance. 76 * @return {@code 1..5;} the number of bytes actually written 86 * @return {@code 1..5;} the number of bytes actually written 93 * @param bytes {@code non-null;} the array to write 95 public void write(ByteArray bytes); 100 * @param bytes {@code non-null;} the array to write 101 * @param offset {@code >= 0;} offset into {@code bytes} for the first 103 * @param length {@code >= 0;} number of bytes to write 105 public void write(byte[] bytes, int offset, int length); 109 * a convenient shorthand for {@code write(bytes, 0, bytes.length)} [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
ParseObserver.java | 37 * @param bytes {@code non-null;} the source that is being parsed 38 * @param offset offset into {@code bytes} for the start of the 43 public void startParsingMember(ByteArray bytes, int offset, String name, 49 * @param bytes {@code non-null;} the source that was parsed 50 * @param offset offset into {@code bytes} for the end of the 56 public void endParsingMember(ByteArray bytes, int offset, String name, 62 * @param bytes {@code non-null;} the source that was parsed 63 * @param offset offset into {@code bytes} for what was parsed 64 * @param len number of bytes parsed 67 public void parsed(ByteArray bytes, int offset, int len, String human) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Output.java | 29 * bytes written to this instance. 78 * @return {@code 1..5;} the number of bytes actually written 88 * @return {@code 1..5;} the number of bytes actually written 95 * @param bytes {@code non-null;} the array to write 97 public void write(ByteArray bytes); 102 * @param bytes {@code non-null;} the array to write 103 * @param offset {@code >= 0;} offset into {@code bytes} for the first 105 * @param length {@code >= 0;} number of bytes to write 107 public void write(byte[] bytes, int offset, int length); 111 * a convenient shorthand for {@code write(bytes, 0, bytes.length)} [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Output.java | 27 * bytes written to this instance. 76 * @return {@code 1..5;} the number of bytes actually written 86 * @return {@code 1..5;} the number of bytes actually written 93 * @param bytes {@code non-null;} the array to write 95 public void write(ByteArray bytes); 100 * @param bytes {@code non-null;} the array to write 101 * @param offset {@code >= 0;} offset into {@code bytes} for the first 103 * @param length {@code >= 0;} number of bytes to write 105 public void write(byte[] bytes, int offset, int length); 109 * a convenient shorthand for {@code write(bytes, 0, bytes.length)} [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeWriterVariable.java | 23 public static void write(long v, ByteBuffer bb, int bytes) { 24 switch (bytes) { 41 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
NdefRecordTest.java | 15 byte[] bytes = "mumble".getBytes(); 16 NdefRecord ndefRecord = new NdefRecord(bytes); 18 assertSame(ndefRecord.getPayload(), bytes); local
|
/frameworks/rs/ |
rsFifoSocket.h | 37 bool writeAsync(const void *data, size_t bytes, bool waitForSpace = true); 39 size_t read(void *data, size_t bytes); 40 void readReturn(const void *data, size_t bytes);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsFifoSocket.h | 37 bool writeAsync(const void *data, size_t bytes, bool waitForSpace = true); 39 size_t read(void *data, size_t bytes); 40 void readReturn(const void *data, size_t bytes);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsFifoSocket.h | 37 bool writeAsync(const void *data, size_t bytes, bool waitForSpace = true); 39 size_t read(void *data, size_t bytes); 40 void readReturn(const void *data, size_t bytes);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsFifoSocket.h | 37 bool writeAsync(const void *data, size_t bytes, bool waitForSpace = true); 39 size_t read(void *data, size_t bytes); 40 void readReturn(const void *data, size_t bytes);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebFileWriterClient.h | 43 virtual void didWrite(long long bytes, bool complete) = 0;
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
aligned_ptr.h | 24 * Allocate an aligned pointer to an area of size |bytes| bytes. The 25 * pointer is aligned to |alignment| bytes, which MUST be a power of 29 struct AlignedPtr* AllocAlignedPointer(int alignment, int bytes);
|
/external/chromium_org/third_party/skia/include/core/ |
SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 32 void* allocThrow(size_t bytes) { 33 return this->alloc(bytes, kThrow_AllocFailType); 37 success, the number of bytes freed is returned, or 0 if the block could 65 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/external/chromium_org/third_party/tlslite/tlslite/ |
x509.py | 18 @type bytes: L{bytearray} of unsigned bytes 19 @ivar bytes: The DER-encoded ASN.1 certificate 24 @type subject: L{bytearray} of unsigned bytes 29 self.bytes = bytearray(0) 42 bytes = dePem(s, "CERTIFICATE") 43 self.parseBinary(bytes) 46 def parseBinary(self, bytes): 49 @type bytes: str or L{bytearray} of unsigned bytes [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
decode.h | 30 const uint16_t *bytes, /* (i) encoded signal bits */
|
/external/skia/include/core/ |
SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 32 void* allocThrow(size_t bytes) { 33 return this->alloc(bytes, kThrow_AllocFailType); 37 success, the number of bytes freed is returned, or 0 if the block could 65 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/external/valgrind/main/helgrind/tests/ |
tc16_byterace.c | 7 char bytes[10]; variable 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 28 bytes accessed */ 30 bytes[2*i + 1] ++; /* accesses: 1 3 5 7 9 */ 32 /* Unprotected relative to child, but harmful; same bytes */ 34 bytes[3*i + 1] ++; /* accesses: 1 4(race!) 7 */
|