/third_party/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++) {
|
/third_party/glib/glib/gnulib/ |
D | printf-parse.c | 107 size_t memory_size; \ in PRINTF_PARSE() 113 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE() 114 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE() 118 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE() 119 : malloc (memory_size)); \ in PRINTF_PARSE() 586 size_t memory_size; in PRINTF_PARSE() local 590 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE() 591 if (size_overflow_p (memory_size)) in PRINTF_PARSE() 595 ? realloc (d->dir, memory_size) in PRINTF_PARSE() 596 : malloc (memory_size)); in PRINTF_PARSE()
|
/third_party/gettext/gettext-runtime/intl/ |
D | printf-parse.c | 106 size_t memory_size; \ in PRINTF_PARSE() 112 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE() 113 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE() 117 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE() 118 : malloc (memory_size)); \ in PRINTF_PARSE() 585 size_t memory_size; in PRINTF_PARSE() local 589 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE() 590 if (size_overflow_p (memory_size)) in PRINTF_PARSE() 594 ? realloc (d->dir, memory_size) in PRINTF_PARSE() 595 : malloc (memory_size)); in PRINTF_PARSE()
|
/third_party/gettext/gettext-runtime/libasprintf/ |
D | printf-parse.c | 106 size_t memory_size; \ in PRINTF_PARSE() 112 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE() 113 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE() 117 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE() 118 : malloc (memory_size)); \ in PRINTF_PARSE() 585 size_t memory_size; in PRINTF_PARSE() local 589 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE() 590 if (size_overflow_p (memory_size)) in PRINTF_PARSE() 594 ? realloc (d->dir, memory_size) in PRINTF_PARSE() 595 : malloc (memory_size)); in PRINTF_PARSE()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/ |
D | graph_shared_memory.h | 34 explicit GraphSharedMemory(int64_t memory_size, key_t memory_key); 35 explicit GraphSharedMemory(int64_t memory_size, const std::string &mr_file); 55 int64_t memory_size() { return memory_size_; } in memory_size() function
|
D | graph_shared_memory.cc | 28 GraphSharedMemory::GraphSharedMemory(int64_t memory_size, key_t memory_key) in GraphSharedMemory() argument 29 : memory_size_(memory_size), in GraphSharedMemory() 39 GraphSharedMemory::GraphSharedMemory(int64_t memory_size, const std::string &mr_file) in GraphSharedMemory() argument 41 memory_size_(memory_size), in GraphSharedMemory()
|
D | graph_data_impl.h | 170 int64_t GetSharedMemorySize() { return graph_shared_memory_->memory_size(); } in GetSharedMemorySize()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/model_converter_utils/ |
D | shared_memory.cc | 23 Status SharedMemory::Create(uint64_t memory_size) { in Create() argument 25 shm_id_ = shmget(IPC_PRIVATE, memory_size, IPC_CREAT | IPC_EXCL | access_mode); in Create()
|
D | shared_memory.h | 25 Status Create(uint64_t memory_size);
|
/third_party/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()
|
/third_party/flutter/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()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 391 struct util_throttle *t, uint64_t memory_size) in util_throttle_memory_usage() argument 407 total && total + memory_size > t->max_mem_usage) { in util_throttle_memory_usage() 431 t->ring[t->flush_index].mem_usage + memory_size > in util_throttle_memory_usage() 459 t->ring[t->flush_index].mem_usage += memory_size; in util_throttle_memory_usage()
|
D | u_helpers.h | 119 struct util_throttle *t, uint64_t memory_size);
|
/third_party/elfio/elfio/ |
D | elfio_segment.hpp | 46 ELFIO_GET_SET_ACCESS_DECL( Elf_Xword, memory_size ); 91 ELFIO_GET_SET_ACCESS( Elf_Xword, memory_size, ph.p_memsz );
|
/third_party/flutter/skia/include/core/ |
D | SkFlattenable.h | 77 size_t serialize(void* memory, size_t memory_size,
|
D | SkTextBlob.h | 157 size_t serialize(const SkSerialProcs& procs, void* memory, size_t memory_size) const;
|
/third_party/skia/include/core/ |
D | SkFlattenable.h | 73 size_t serialize(void* memory, size_t memory_size,
|
D | SkTextBlob.h | 162 size_t serialize(const SkSerialProcs& procs, void* memory, size_t memory_size) const;
|
/third_party/libuv/src/unix/ |
D | hurd.c | 106 return hbi.memory_size; in uv_get_total_memory()
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | tensorprint_utils.cc | 59 const size_t &memory_size) { in PrintTensorToString() argument 66 size_t target_size = memory_size; in PrintTensorToString()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_transfer.h | 186 usb_size_t memory_size; member
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegenc.c | 251 gsize memory_size = jpegenc->output_map.size - jpegenc->jdest.free_in_buffer; in gst_jpegenc_term_destination() local 253 GST_BYTE_READER_INIT (jpegenc->output_map.data, memory_size); in gst_jpegenc_term_destination() 270 gst_memory_resize (jpegenc->output_mem, 0, memory_size); in gst_jpegenc_term_destination()
|
/third_party/flutter/skia/site/user/api/ |
D | SkTextBlob_Reference.md | 20 …ref='undocumented#SkSerialProcs'>SkSerialProcs</a>& procs, void* memory, size_t memory_size) const; 220 … href='undocumented#SkSerialProcs'>SkSerialProcs</a>& procs, void* memory, size_t memory_size)const 224 …mented#Data'>data</a>, and <a href='#SkTextBlob_serialize_memory_size'>memory_size</a> describes t… 241 …<tr> <td><a name='SkTextBlob_serialize_memory_size'><code><strong>memory_size</strong></code></… 248 …zero if required storage is larger than <a href='#SkTextBlob_serialize_memory_size'>memory_size</a>
|
/third_party/elfio/examples/c_wrapper/ |
D | elfio_c_wrapper.h | 172 ELFIO_C_GET_SET_ACCESS( segment, Elf_Xword, memory_size );
|