/external/tensorflow/tensorflow/lite/kernels/ |
D | svdf.cc | 47 int batch_size, int memory_size, int num_filters, int num_units, int rank, in ApplyTimeWeightsBiasAndActivation() argument 57 activation_state->data.f + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation() 60 weights_time->data.f, state_ptr_batch, memory_size, num_filters, in ApplyTimeWeightsBiasAndActivation() 91 activation_state->data.f + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation() 93 tensor_utils::VectorShiftLeft(state_ptr_batch, memory_size, in ApplyTimeWeightsBiasAndActivation() 95 state_ptr_batch += memory_size; in ApplyTimeWeightsBiasAndActivation() 151 const int memory_size = weights_time->dims->data[1]; in Prepare() local 169 memory_size * num_filters); in Prepare() 258 const int memory_size = weights_time->dims->data[1]; in EvalFloat() local 264 float* state_ptr_batch = state->data.f + b * memory_size * num_filters; in EvalFloat() [all …]
|
D | svdf_test.cc | 131 BaseSVDFOpModel(int batches, int units, int input_size, int memory_size, in BaseSVDFOpModel() argument 138 memory_size_(memory_size), in BaseSVDFOpModel() 146 TensorData{TensorType_FLOAT32, {batches, memory_size * num_filters}}, in BaseSVDFOpModel() 157 {batches, memory_size * num_filters} // activation_state tensor in BaseSVDFOpModel() 205 HybridSVDFOpModel(int batches, int units, int input_size, int memory_size, in HybridSVDFOpModel() argument 207 : BaseSVDFOpModel(batches, units, input_size, memory_size, rank, in HybridSVDFOpModel()
|
/external/ltp/testcases/kernel/mem/page/ |
D | page02.c | 73 int memory_size, half_memory_size; local 89 memory_size = 128 * 1024; 92 if (sscanf(argv[1], "%d", &memory_size) != 1) 101 half_memory_size = memory_size / 2; 129 memory_pointer = malloc(memory_size * sizeof(int)); 148 memory_size, i); 155 (memory_size / 2); 178 (memory_size / 2);
|
D | page01.c | 74 int memory_size; local 83 memory_size = 256 * 1024; 86 if (sscanf(argv[1], "%d", &memory_size) != 1) 121 memory_pointer = malloc(memory_size * sizeof(int)); 146 for (j = 1; j <= memory_size; j++) 159 for (j = 1; j <= memory_size; j++) {
|
/external/e2fsprogs/intl/ |
D | printf-parse.c | 88 size_t memory_size; \ in PRINTF_PARSE() 94 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE() 95 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE() 99 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE() 100 : malloc (memory_size)); \ in PRINTF_PARSE() 504 size_t memory_size; in PRINTF_PARSE() local 508 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE() 509 if (size_overflow_p (memory_size)) in PRINTF_PARSE() 512 memory = realloc (d->dir, memory_size); in PRINTF_PARSE()
|
D | vasnprintf.c | 187 size_t memory_size; \ in VASNPRINTF() 193 memory_size = xtimes (allocated, sizeof (CHAR_T)); \ in VASNPRINTF() 194 if (size_overflow_p (memory_size)) \ in VASNPRINTF() 197 memory = (CHAR_T *) malloc (memory_size); \ in VASNPRINTF() 199 memory = (CHAR_T *) realloc (result, memory_size); \ in VASNPRINTF()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest.cc | 134 const uint32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local 157 memory_size, in TEST() 186 info.size = memory_size; in TEST() 212 EXPECT_EQ(memory_size, module->size()); in TEST() 243 const int32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local 270 google_breakpad::scoped_array<char> buffer(new char[memory_size]); in TEST() 271 memset(buffer.get(), 0, memory_size); in TEST() 272 ASSERT_EQ(memory_size, write(fd, buffer.get(), memory_size)); in TEST() 277 memory_size, in TEST() 305 info.start_addr = kMemoryAddress - memory_size; in TEST() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.h | 211 AllocationRegion(void* ptr, size_t memory_size) in AllocationRegion() argument 213 memory_size_(memory_size), in AllocationRegion() 216 DCHECK_EQ(0, memory_size % kMinAllocationSize); in AllocationRegion() 218 (memory_size + kMinAllocationSize - 1) / kMinAllocationSize; in AllocationRegion() 234 size_t memory_size() const { return memory_size_; } in memory_size() function 280 void AddAllocationRegion(void* ptr, size_t memory_size) { in AddAllocationRegion() argument 284 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddAllocationRegion()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer_unittest.cc | 77 const uint32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local 85 info.start_addr = memory_size; in TEST() 86 info.size = memory_size; in TEST()
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 131 bool CrashGenerator::MapSharedMemory(size_t memory_size) { in MapSharedMemory() argument 135 void* mapped_memory = mmap(0, memory_size, PROT_READ | PROT_WRITE, in MapSharedMemory() 142 memset(mapped_memory, 0, memory_size); in MapSharedMemory() 144 shared_memory_size_ = memory_size; in MapSharedMemory()
|
D | crash_generator.h | 94 bool MapSharedMemory(size_t memory_size);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | typed_queue.h | 112 int memory_size = 0; in MemoryUsed() local 115 memory_size += SizeOf(sq); in MemoryUsed() 117 return memory_size; in MemoryUsed()
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | virtual_cluster.cc | 102 if (dev.memory_size() <= 0) { in Run() 107 if (peak_mem >= dev.memory_size()) { in Run() 110 device_name, " to run ", " but device only has ", dev.memory_size(), in Run()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 220 region->region.memory_size); in kvm_vm_restart() 262 + region->region.memory_size - 1; in userspace_mem_region_find() 392 region->region.memory_size = 0; in kvm_vm_free() 544 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 552 + region->region.memory_size)) in vm_userspace_mem_region_add() 565 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 605 region->region.memory_size = npages * vm->page_size; in vm_userspace_mem_region_add() 613 guest_paddr, (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 967 + region->region.memory_size - 1))) in addr_gpa2hva() 1000 + region->region.memory_size - 1))) in addr_hva2gpa() [all …]
|
/external/skqp/src/core/ |
D | SkFlattenable.cpp | 128 size_t SkFlattenable::serialize(void* memory, size_t memory_size, in serialize() argument 130 SkBinaryWriteBuffer writer(memory, memory_size); in serialize()
|
/external/skia/src/core/ |
D | SkFlattenable.cpp | 128 size_t SkFlattenable::serialize(void* memory, size_t memory_size, in serialize() argument 130 SkBinaryWriteBuffer writer(memory, memory_size); in serialize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WebAssembly/ |
D | memory-addr32.ll | 15 ; CHECK-LABEL: memory_size: 19 define i32 @memory_size() {
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | ddr_topology_def.h | 48 enum mv_ddr_die_capacity memory_size; member
|
/external/kernel-headers/original/uapi/linux/ |
D | vhost_types.h | 88 __u64 memory_size; /* bytes */ member
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2008-05-19-ScavengerAssert.ll | 17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | 2008-05-19-ScavengerAssert.ll | 17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
|
/external/pdfium/core/fxge/win32/ |
D | cfx_windowsdib.h | 25 size_t memory_size; member
|
/external/llvm/test/CodeGen/ARM/ |
D | 2008-05-19-ScavengerAssert.ll | 17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
|
/external/skqp/include/core/ |
D | SkFlattenable.h | 77 size_t serialize(void* memory, size_t memory_size,
|
/external/skia/include/core/ |
D | SkFlattenable.h | 77 size_t serialize(void* memory, size_t memory_size,
|