/art/runtime/gc/space/ |
bump_pointer_space-inl.h | 27 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, 30 num_bytes = RoundUp(num_bytes, kAlignment); 31 mirror::Object* ret = AllocNonvirtual(num_bytes); 33 *bytes_allocated = num_bytes; 35 *usable_size = num_bytes; 37 *bytes_tl_bulk_allocated = num_bytes; 42 inline mirror::Object* BumpPointerSpace::AllocThreadUnsafe(Thread* self, size_t num_bytes, 47 num_bytes = RoundUp(num_bytes, kAlignment) 91 size_t num_bytes = obj->SizeOf(); local [all...] |
region_space-inl.h | 26 inline mirror::Object* RegionSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, 29 num_bytes = RoundUp(num_bytes, kAlignment); 30 return AllocNonvirtual<false>(num_bytes, bytes_allocated, usable_size, 34 inline mirror::Object* RegionSpace::AllocThreadUnsafe(Thread* self, size_t num_bytes, 39 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 43 inline mirror::Object* RegionSpace::AllocNonvirtual(size_t num_bytes, size_t* bytes_allocated, 46 DCHECK_ALIGNED(num_bytes, kAlignment); 48 if (LIKELY(num_bytes <= kRegionSize)) { 51 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size 142 size_t num_bytes = obj->SizeOf(); local [all...] |
memory_tool_malloc_space-inl.h | 31 inline mirror::Object* AdjustForValgrind(void* obj_with_rdz, size_t num_bytes, 47 *usable_size_out = num_bytes; 61 MEMORY_TOOL_MAKE_DEFINED(result, num_bytes); 66 // and DlMalloc (allocation_size = (usable_size == num_bytes) + 4, 4 is management) 67 MEMORY_TOOL_MAKE_NOACCESS(reinterpret_cast<uint8_t*>(result) + num_bytes, 68 usable_size - (num_bytes + kMemoryToolRedZoneBytes)); 88 Thread* self, size_t num_bytes, size_t* bytes_allocated_out, size_t* usable_size_out, 93 void* obj_with_rdz = S::AllocWithGrowth(self, num_bytes + 2 * kMemoryToolRedZoneBytes, 101 obj_with_rdz, num_bytes, 117 Thread* self, size_t num_bytes, size_t* bytes_allocated_out, size_t* usable_size_out [all...] |
rosalloc_space.h | 49 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 52 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 54 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size, 57 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 60 return AllocNonvirtualThreadUnsafe(self, num_bytes, bytes_allocated, usable_size, 71 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, 74 return AllocCommon(self, num_bytes, bytes_allocated, usable_size, 77 mirror::Object* AllocNonvirtualThreadUnsafe(Thread* self, size_t num_bytes, 81 return AllocCommon<false>(self, num_bytes, bytes_allocated, usable_size, 87 ALWAYS_INLINE bool CanAllocThreadLocal(Thread* self, size_t num_bytes); [all...] |
dlmalloc_space-inl.h | 28 inline mirror::Object* DlMallocSpace::AllocNonvirtual(Thread* self, size_t num_bytes, 35 obj = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size, 40 memset(obj, 0, num_bytes); 55 Thread* /*self*/, size_t num_bytes, 59 mirror::Object* result = reinterpret_cast<mirror::Object*>(mspace_malloc(mspace_, num_bytes));
|
rosalloc_space-inl.h | 64 inline mirror::Object* RosAllocSpace::AllocCommon(Thread* self, size_t num_bytes, 74 rosalloc_->Alloc<kThreadSafe>(self, num_bytes, &rosalloc_bytes_allocated, 94 inline bool RosAllocSpace::CanAllocThreadLocal(Thread* self, size_t num_bytes) { 95 return rosalloc_->CanAllocFromThreadLocalRun(self, num_bytes); 98 inline mirror::Object* RosAllocSpace::AllocThreadLocal(Thread* self, size_t num_bytes, 102 rosalloc_->AllocFromThreadLocalRun(self, num_bytes, bytes_allocated)); 105 inline size_t RosAllocSpace::MaxBytesBulkAllocatedForNonvirtual(size_t num_bytes) { 106 return rosalloc_->MaxBytesBulkAllocatedFor(num_bytes);
|
memory_tool_malloc_space.h | 34 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 37 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 39 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 53 size_t MaxBytesBulkAllocatedFor(size_t num_bytes) OVERRIDE;
|
/external/toybox/toys/other/ |
pwdx.c | 24 int num_bytes; local 27 num_bytes = readlink(path, toybuf, sizeof(toybuf)-1); 30 if (num_bytes==-1) { 35 toybuf[num_bytes] = 0;
|
/external/libhevc/common/ |
ihevc_mem_fns.c | 65 * @param[in] num_bytes 75 void ihevc_memcpy(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 77 memcpy(pu1_dst, pu1_src, num_bytes); 81 void ihevc_memcpy_mul_8(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 83 memcpy(pu1_dst, pu1_src, num_bytes); 101 * @param[in] num_bytes 111 void ihevc_memset(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 113 memset(pu1_dst, value, num_bytes); 117 void ihevc_memset_mul_8(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 119 memset(pu1_dst, value, num_bytes); [all...] |
ihevc_mem_fns.h | 37 typedef void ihevc_memcpy_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 39 typedef void ihevc_memcpy_mul_8_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 55 * @param[in] num_bytes 64 typedef void ihevc_memset_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes); 66 typedef void ihevc_memset_mul_8_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes);
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
proxyshaper_test.py | 61 num_bytes = 1024 64 f = StringIO.StringIO(' ' * num_bytes) 67 self.assertEqual(num_bytes, len(limited_f.read())) 68 expected_ms = 8.0 * num_bytes / bps * 1000.0 73 num_bytes = 1024 * 8 + 512 76 f = StringIO.StringIO(' ' * num_bytes) 79 self.assertEqual(num_bytes, len(limited_f.readline())) 80 expected_ms = 8.0 * num_bytes / bps * 1000.0 85 num_bytes = 1024 89 f = StringIO.StringIO(' ' * num_bytes) [all...] |
proxyshaper.py | 62 def transfer_seconds(self, num_bytes): 63 """Seconds to read/write |num_bytes| with |self.bps|.""" 64 return 8.0 * num_bytes / self.bps 67 num_bytes = len(data) 69 while num_sent_bytes < num_bytes: 70 num_write_bytes = min(self.BYTES_PER_WRITE, num_bytes - num_sent_bytes) 84 num_bytes = len(data) 86 wait = self.transfer_seconds(num_bytes) * num_requests - read_seconds
|
trafficshaper_test.py | 158 def GetTcpSendTimeMs(self, num_bytes): 159 """Return time in milliseconds to send |num_bytes|.""" 163 request_data = '\x00' * num_bytes 171 def GetTcpReceiveTimeMs(self, num_bytes): 172 """Return time in milliseconds to receive |num_bytes|.""" 175 s.sendall('%s%s\n' % (RESPONSE_SIZE_KEY, num_bytes)) 178 num_remaining_bytes = num_bytes 205 num_bytes = 1024 * 100 207 expected_ms = 8.0 * num_bytes / bandwidth_kbits 210 self.assertValuesAlmostEqual(expected_ms, self.GetTcpSendTimeMs(num_bytes)) [all...] |
/external/dng_sdk/source/ |
dng_jpeg_memory_source.cpp | 20 void SkipInputData(j_decompress_ptr cinfo, long num_bytes) { 21 if (num_bytes > 0) { 22 // Convert num_bytes to a size_t. 23 // We've established that num_bytes is positive, to it's safe to cast it 27 ConvertUnsigned(static_cast<unsigned long>(num_bytes),
|
/external/tpm2/ |
marshal_test.c | 30 const uint16_t num_bytes = sizeof(type); \ 31 INT32 size = num_bytes; \ 37 const uint16_t num_bytes = sizeof(type); \ 38 INT32 size = num_bytes; \ 47 size = num_bytes; 52 size = num_bytes; 84 CHECK_EQ(bytes_marshalled, num_bytes) 86 CHECK_EQ(buffer_ptr, buffer+num_bytes) 92 CHECK_EQ(buffer_ptr, buffer+num_bytes); 102 CHECK_EQ(size, num_bytes-1) [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 3 SIZE_T num_bytes, 8 SIZE_T num_bytes, 12 void* data = malloc(num_bytes); 15 *out_buffer = new GalliumD3DBlob(data, num_bytes);
|
/external/libavc/common/ |
ih264_mem_fns.c | 75 * @param[in] num_bytes 85 void ih264_memcpy(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 87 memcpy(pu1_dst, pu1_src, num_bytes); 91 void ih264_memcpy_mul_8(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 93 memcpy(pu1_dst, pu1_src, num_bytes); 111 * @param[in] num_bytes 121 void ih264_memset(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 123 memset(pu1_dst, value, num_bytes); 127 void ih264_memset_mul_8(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 129 memset(pu1_dst, value, num_bytes); [all...] |
ih264_mem_fns.h | 39 typedef void ih264_memcpy_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 41 typedef void ih264_memcpy_mul_8_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 57 * @param[in] num_bytes 66 typedef void ih264_memset_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes); 68 typedef void ih264_memset_mul_8_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes);
|
/system/tpm/tpm_manager/server/ |
mock_openssl_crypto_util.cc | 31 bool MockOpensslCryptoUtil::FakeGetRandomBytes(size_t num_bytes, 33 random_data->assign(num_bytes, 'a');
|
openssl_crypto_util_impl.cc | 25 bool OpensslCryptoUtilImpl::GetRandomBytes(size_t num_bytes, 27 random_data->resize(num_bytes); 30 if (RAND_bytes(random_buffer, num_bytes) != 1) {
|
/external/libchrome/crypto/ |
rsa_private_key.cc | 176 int num_bytes, 178 PrependIntegerImpl(val, num_bytes, data, big_endian_); 182 int num_bytes, 188 tmp.assign(val, val + num_bytes); 196 while (start < (num_bytes - 1) && val[start] == 0x00) { 198 num_bytes--; 200 PrependBytes(val, start, num_bytes, data); 209 num_bytes++; 212 PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data); 276 int num_bytes, 290 uint8_t num_bytes = 0; local [all...] |
/external/libavc/common/x86/ |
ih264_mem_fns_ssse3.c | 68 * @param[in] num_bytes 81 void ih264_memcpy_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 84 for(col = num_bytes; col >= 8; col -= 8) 109 * @param[in] num_bytes 120 void ih264_memset_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 125 for(col = num_bytes; col >= 8; col -= 8)
|
/external/libhevc/common/x86/ |
ihevc_mem_fns_ssse3_intr.c | 67 * @param[in] num_bytes 80 void ihevc_memcpy_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) 83 for(col = num_bytes; col >= 8; col -= 8) 108 * @param[in] num_bytes 119 void ihevc_memset_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) 124 for(col = num_bytes; col >= 8; col -= 8)
|
/external/libavc/common/arm/ |
ih264_mem_fns_neon.s | 60 @* @param[in] num_bytes 71 @ UWORD8 num_bytes) 75 @ r2 => num_bytes 100 @ UWORD8 num_bytes) 104 @ r2 => num_bytes 138 @ UWORD8 num_bytes) 142 @ r2 => num_bytes 168 @ UWORD8 num_bytes) 172 @ r2 => num_bytes
|
/external/libavc/common/armv8/ |
ih264_mem_fns_neon_av8.s | 62 //* @param[in] num_bytes 73 // UWORD8 num_bytes) 77 // x2 => num_bytes 102 // UWORD8 num_bytes) 106 // x2 => num_bytes 142 // UWORD8 num_bytes) 146 // x2 => num_bytes 167 // UWORD8 num_bytes) 171 // x2 => num_bytes
|