/external/chromium_org/third_party/leveldatabase/src/util/ |
arena.h | 20 // Return a pointer to a newly allocated memory block of "bytes" bytes. 21 char* Allocate(size_t bytes); 24 char* AllocateAligned(size_t bytes); 34 char* AllocateFallback(size_t bytes); 44 // Bytes of memory in blocks allocated so far 52 inline char* Arena::Allocate(size_t bytes) { 56 assert(bytes > 0); 57 if (bytes <= alloc_bytes_remaining_) { 59 alloc_ptr_ += bytes; [all...] |
/external/valgrind/main/exp-sgcheck/tests/ |
filter_add | 7 # Anonymise "before" distances (if greater than 9 bytes) 8 sed "s/Address 0x........ is [0-9][0-9]\+ bytes /Address 0x........ is ... bytes /"
|
/external/chromium_org/ui/base/text/ |
bytes_formatting.cc | 37 base::string16 FormatBytesInternal(int64 bytes, 42 if (bytes < 0) { 43 NOTREACHED() << "Negative bytes value"; 48 double unit_amount = static_cast<double>(bytes); 53 if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100) 66 DataUnits GetByteDisplayUnits(int64 bytes) { 68 // in unit U when kUnitThresholds[U] <= bytes < kUnitThresholds[U+1]. 79 if (bytes < 0) { 80 NOTREACHED() << "Negative bytes value"; 86 if (bytes >= kUnitThresholds[unit_index] [all...] |
/external/skia/gm/tests/outputs/compared-against-identical-bytes-images/output-expected/ |
command_line | 1 out/Debug/gm --verbose --hierarchy --match selftest1 --config 8888 565 -r gm/tests/inputs/images/identical-bytes --writeJsonSummaryPath gm/tests/outputs/compared-against-identical-bytes-images/output-actual/json-summary.txt --writePath gm/tests/outputs/compared-against-identical-bytes-images/output-actual/writePath --mismatchPath gm/tests/outputs/compared-against-identical-bytes-images/output-actual/mismatchPath --missingExpectationsPath gm/tests/outputs/compared-against-identical-bytes-images/output-actual/missingExpectationsPath
|
/external/skia/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/ |
command_line | 1 out/Debug/gm --verbose --hierarchy --match selftest1 --config 8888 565 -r gm/tests/inputs/json/identical-bytes.json --writeJsonSummaryPath gm/tests/outputs/compared-against-identical-bytes-json/output-actual/json-summary.txt --writePath gm/tests/outputs/compared-against-identical-bytes-json/output-actual/writePath --mismatchPath gm/tests/outputs/compared-against-identical-bytes-json/output-actual/mismatchPath --missingExpectationsPath gm/tests/outputs/compared-against-identical-bytes-json/output-actual/missingExpectationsPath
|
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 22 private final byte[] bytes; field in class:CollationKeyICU 29 CollationKeyICU(String source, byte[] bytes) { 31 this.bytes = bytes; 35 // Get the bytes from the other collation key. 38 rhsBytes = ((CollationKeyICU) other).bytes; 43 if (bytes == null || bytes.length == 0) { 54 int count = Math.min(bytes.length, rhsBytes.length); 56 int s = bytes[i] & 0xff [all...] |
/external/valgrind/main/memcheck/tests/ |
leak-delta.c | 16 fprintf(stderr, "expecting details 10 bytes reachable\n"); fflush(stderr); breakme(); 24 fprintf(stderr, "expecting details +10 bytes lost, +21 bytes reachable\n"); fflush(stderr); breakme(); 29 fprintf(stderr, "expecting details +65 bytes reachable\n"); fflush(stderr); breakme(); 36 fprintf(stderr, "expecting details +10 bytes reachable\n"); fflush(stderr); breakme(); 40 fprintf(stderr, "expecting details -10 bytes reachable, +10 bytes lost\n"); fflush(stderr); breakme(); 44 fprintf(stderr, "expecting details -10 bytes lost, +10 bytes reachable\n"); fflush(stderr); breakme(); 48 fprintf(stderr, "expecting details 32 (+32) bytes lost, 33 (-32) bytes reachable\n"); fflush(stderr); breakme() [all...] |
/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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
BigIntegers.java | 23 byte[] bytes = value.toByteArray(); 25 if (bytes[0] == 0) 27 byte[] tmp = new byte[bytes.length - 1]; 29 System.arraycopy(bytes, 1, tmp, 0, tmp.length); 34 return bytes; 47 byte[] bytes = value.toByteArray(); 49 if (bytes[0] == 0) 51 if (bytes.length - 1 > length) 58 System.arraycopy(bytes, 1, tmp, tmp.length - (bytes.length - 1), bytes.length - 1) [all...] |
/frameworks/rs/ |
rsFifoSocket.cpp | 52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { 53 if (bytes == 0) { 56 //ALOGE("writeAsync %p %i", data, bytes); 57 size_t ret = ::send(sv[0], data, bytes, 0); 58 rsAssert(ret == bytes); 59 if (ret != bytes) { 60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret); 76 size_t FifoSocket::read(void *data, size_t bytes) { 81 //ALOGE("read %p %i", data, bytes); 82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL) [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
RSAKey.py | 62 def hashAndSign(self, bytes): 63 """Hash and sign the passed-in bytes. 68 @type bytes: str or L{array.array} of unsigned bytes 69 @param bytes: The value which will be hashed and signed. 71 @rtype: L{array.array} of unsigned bytes. 74 if not isinstance(bytes, type("")): 75 bytes = bytesToString(bytes) 76 hashBytes = stringToBytes(sha.sha(bytes).digest() [all...] |
Cryptlib_AES.py | 26 bytes = stringToBytes(plaintext) 27 cryptlib_py.cryptEncrypt(self.context, bytes) 28 return bytesToString(bytes) 32 bytes = stringToBytes(ciphertext) 33 cryptlib_py.cryptDecrypt(self.context, bytes) 34 return bytesToString(bytes)
|
Cryptlib_TripleDES.py | 27 bytes = stringToBytes(plaintext) 28 cryptlib_py.cryptEncrypt(self.context, bytes) 29 return bytesToString(bytes) 33 bytes = stringToBytes(ciphertext) 34 cryptlib_py.cryptDecrypt(self.context, bytes) 35 return bytesToString(bytes
|
win32prng.c | 11 unsigned char* bytes = NULL; local 29 /* Allocate bytes */ 30 bytes = malloc(howMany); 37 bytes) == 0) 40 returnVal = Py_BuildValue("s#", bytes, howMany); 42 free(bytes);
|
/dalvik/vm/compiler/template/mips/ |
TEMPLATE_PERIODIC_PROFILING.S | 8 * actually exists 16 bytes before the return target for mips. 9 * - 4 bytes for prof count addr. 10 * - 4 bytes for chain cell offset (2bytes 32 bit aligned). 11 * - 4 bytes for call TEMPLATE_PERIODIC_PROFILING. 12 * - 4 bytes for call delay slot.
|
/external/chromium/chrome/common/ |
guid_posix.cc | 19 std::string RandomDataToGUIDString(const uint64 bytes[2]) { 21 static_cast<unsigned int>(bytes[0] >> 32), 22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), 23 static_cast<unsigned int>(bytes[0] & 0x0000ffff), 24 static_cast<unsigned int>(bytes[1] >> 48), 25 bytes[1] & 0x0000ffffffffffffULL);
|
/external/chromium_org/base/ |
guid_posix.cc | 19 std::string RandomDataToGUIDString(const uint64 bytes[2]) { 21 static_cast<unsigned int>(bytes[0] >> 32), 22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), 23 static_cast<unsigned int>(bytes[0] & 0x0000ffff), 24 static_cast<unsigned int>(bytes[1] >> 48), 25 bytes[1] & 0x0000ffffffffffffULL);
|
/external/guava/guava/src/com/google/common/hash/ |
HashCodes.java | 26 * Creates a 32-bit {@code HashCode}, of which the bytes will form the passed int, interpreted 62 * Creates a 64-bit {@code HashCode}, of which the bytes will form the passed long, interpreted 106 static HashCode fromBytes(byte[] bytes) { 107 return new BytesHashCode(bytes); 111 final byte[] bytes; field in class:HashCodes.BytesHashCode 113 BytesHashCode(byte[] bytes) { 114 this.bytes = bytes; 118 return bytes.length * 8; 122 return bytes.clone() [all...] |
/external/kernel-headers/original/asm-arm/ |
a.out.h | 10 __u32 a_text; /* length of text, in bytes */ 11 __u32 a_data; /* length of data, in bytes */ 12 __u32 a_bss; /* length of uninitialized data area for file, in bytes */ 13 __u32 a_syms; /* length of symbol table data in file, in bytes */ 15 __u32 a_trsize; /* length of relocation info for text, in bytes */ 16 __u32 a_drsize; /* length of relocation info for data, in bytes */
|
/external/kernel-headers/original/asm-mips/ |
a.out.h | 19 unsigned a_text; /* length of text, in bytes */ 20 unsigned a_data; /* length of data, in bytes */ 22 file, in bytes */ 24 in bytes */ 27 bytes */ 28 unsigned a_drsize; /* length of relocation info for data, in bytes */
|
/external/kernel-headers/original/asm-x86/ |
a.out.h | 7 unsigned a_text; /* length of text, in bytes */ 8 unsigned a_data; /* length of data, in bytes */ 9 unsigned a_bss; /* length of uninitialized data area for file, in bytes */ 10 unsigned a_syms; /* length of symbol table data in file, in bytes */ 12 unsigned a_trsize; /* length of relocation info for text, in bytes */ 13 unsigned a_drsize; /* length of relocation info for data, in bytes */
|
/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/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/ |
GSSUtilsTest.java | 28 byte[] bytes = GSSUtils.getBytes(i, 1); 29 int j = GSSUtils.toInt(bytes, 0 , 1); 33 bytes = GSSUtils.getBytes(i, 1); 34 j = GSSUtils.toInt(bytes, 0 , 1); 38 bytes = GSSUtils.getBytes(i, 2); 39 j = GSSUtils.toInt(bytes, 0, 2); 43 bytes = GSSUtils.getBytes(i, 2); 44 j = GSSUtils.toInt(bytes, 0, 2); 48 bytes = GSSUtils.getBytes(i, 3); 49 j = GSSUtils.toInt(bytes, 0 , 3) [all...] |
/external/liblzf/ |
config.h.in | 9 /* The number of bytes in a int. */ 12 /* The number of bytes in a long. */ 15 /* The number of bytes in a short. */
|