/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
bcmendian.h | 29 /* Reverse the bytes in a 16-bit value */ 34 /* Reverse the bytes in a 32-bit value */ 125 #define htol16_ua_store(val, bytes) ({ \ 127 uint8 *_bytes = (uint8 *)(bytes); \ 132 #define htol32_ua_store(val, bytes) ({ \ 134 uint8 *_bytes = (uint8 *)(bytes); \ 141 #define hton16_ua_store(val, bytes) ({ \ 143 uint8 *_bytes = (uint8 *)(bytes); \ 148 #define hton32_ua_store(val, bytes) ({ \ 150 uint8 *_bytes = (uint8 *)(bytes); \ [all...] |
/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 | 11 byte[] bytes; field in class:DEREnumerated 74 bytes = BigInteger.valueOf(value).toByteArray(); 80 bytes = value.toByteArray(); 84 byte[] bytes) 86 this.bytes = bytes; 91 return new BigInteger(bytes); 101 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length; 108 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...] |
/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;
|
/external/llvm/test/Scripts/ |
common_dump.py | 2 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 4 bytes = [] 12 bytes.append(hex_byte) 13 return ''.join(bytes).strip() 16 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 20 bytes = [] 30 bytes.append(hex_byte) 31 return ''.join(bytes).strip()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
BitmapUtil.java | 32 public static int getSmallerExtentFromBytes(byte[] bytes) { 37 BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options); 73 public static Bitmap decodeBitmapFromBytes(byte[] bytes, int sampleSize) { 81 return BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/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 | 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/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
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
Output.java | 39 * bytes written to this instance. 88 * @return 1..5; the number of bytes actually written 98 * @return 1..5; the number of bytes actually written 105 * @param bytes non-null; the array to write 107 public void write(ByteArray bytes); 112 * @param bytes non-null; the array to write 113 * @param offset >= 0; offset into <code>bytes</code> for the first 115 * @param length >= 0; number of bytes to write 117 public void write(byte[] bytes, int offset, int length); 121 * a convenient shorthand for <code>write(bytes, 0, bytes.length)</code> [all...] |
ByteArray.java | 35 private final byte[] bytes; field in class:ByteArray 40 /** <code>>= 0, <= bytes.length</code>; size computed as 47 * @param bytes non-null; the underlying array 49 * @param end <code>>= start, <= bytes.length</code>; end index of 52 public ByteArray(byte[] bytes, int start, int end) { 53 if (bytes == null) { 54 throw new NullPointerException("bytes == null"); 65 if (end > bytes.length) { 66 throw new IllegalArgumentException("end > bytes.length"); 69 this.bytes = bytes [all...] |
/external/webkit/Source/WebKit2/Shared/API/c/ |
WKData.cpp | 39 WKDataRef WKDataCreate(const unsigned char* bytes, size_t size) 41 RefPtr<WebData> data = WebData::create(bytes, size); 47 return toImpl(dataRef)->bytes();
|
/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);
|
/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 63 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/external/skia/legacy/include/core/ |
SkChunkAlloc.h | 37 void* alloc(size_t bytes, AllocFailType); 38 void* allocThrow(size_t bytes) { 39 return this->alloc(bytes, kThrow_AllocFailType); 43 success, the number of bytes freed is returned, or 0 if the block could 66 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 */
|
/external/valgrind/main/none/tests/s390x/ |
trot.stdout.exp | 1 0 bytes translated 3 0 bytes translated 5 0 bytes translated 7 3 bytes translated 9 10 bytes translated 11 2 bytes translated 13 3 bytes translated 15 9 bytes translated
|
trto.stdout.exp | 1 0 bytes translated 3 0 bytes translated 5 0 bytes translated 7 6 bytes translated 9 10 bytes translated 11 2 bytes translated 13 0 bytes translated 15 9 bytes translated
|
/external/webkit/Source/JavaScriptCore/wtf/ |
OSAllocatorWin.cpp | 41 void* OSAllocator::reserveUncommitted(size_t bytes, Usage, bool writable, bool executable) 43 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); 49 void* OSAllocator::reserveAndCommit(size_t bytes, Usage, bool writable, bool executable) 51 void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); 57 void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable) 59 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable)); 64 void OSAllocator::decommit(void* address, size_t bytes) 66 bool result = VirtualFree(address, bytes, MEM_DECOMMIT); 71 void OSAllocator::releaseDecommitted(void* address, size_t bytes)
|