/fuchsia/zircon/system/uapp/channel-perf/ |
H A D | main.cpp | 34 uint32_t size; member in struct:__anon831::TestArgs 55 if (test_args.size) { 56 data.reset(new uint8_t[test_args.size]); 57 for (uint32_t i = 0; i < test_args.size; i++) 67 status = zx_channel_write(mp[0], 0u, data.get(), test_args.size, 81 status = zx_channel_write(mp[0], 0, data.get(), test_args.size, 85 uint32_t r_size = test_args.size; 90 assert(r_size == test_args.size); 114 test_args.size, test_args.handles, test_args.queue, its_per_second); 129 " -S N set message size t [all...] |
/fuchsia/zircon/system/utest/fs-host/ |
H A D | test-rw-workers.cpp | 32 uint32_t size; member in struct:worker 46 int (*work)(worker_t* w), uint32_t size, uint32_t flags); 57 uint32_t size; member in struct:__anon1400 71 if (w->pos == w->size) { 88 // do not exceed our desired size 89 if (xfer > (w->size - w->pos)) { 90 xfer = w->size - w->pos; 150 int (*work)(worker_t* w), uint32_t size, uint32_t flags) { 157 w->size = size; 149 worker_new(const char* where, const char* fn, int (*work)(worker_t* w), uint32_t size, uint32_t flags) argument [all...] |
/fuchsia/zircon/kernel/dev/pcie/ |
H A D | pcie_bridge.cpp | 221 uint64_t size = static_cast<uint64_t>(io_limit_) - io_base_ + 1; local 222 ret = upstream->pio_regions().GetRegion({ .base = io_base_, .size = size }, pio_window_); 234 uint64_t size = mem_limit_ - mem_base_ + 1; local 235 ret = upstream->mmio_lo_regions().GetRegion({ .base = mem_base_, .size = size }, 249 uint64_t size = pf_mem_limit_ - pf_mem_base_ + 1; local 252 ret = upstream->pf_mmio_regions().GetRegion({ .base = pf_mem_base_, .size = size }, 257 ret = upstream->mmio_lo_regions().GetRegion({ .base = pf_mem_base_, .size [all...] |
/fuchsia/zircon/system/utest/int-types/ |
H A D | int-types.cpp | 257 #define CHECK_SIGNED_FORMATS(size, type, max) do { \ 258 CHECK_FORMAT_STRINGS(PRId ## size, SCNd ## size, CHECK_d, CHECK_d, type, max); \ 259 CHECK_FORMAT_STRINGS(PRIi ## size, SCNi ## size, CHECK_i, CHECK_i, type, max); \ 264 #define CHECK_UNSIGNED_FORMATS(size, type, max) do { \ 265 CHECK_FORMAT_STRINGS(PRIo ## size, SCNo ## size, CHECK_o, CHECK_o, type, max); \ 266 CHECK_FORMAT_STRINGS(PRIu ## size, SCNu ## size, CHECK_ [all...] |
/fuchsia/zircon/kernel/vm/ |
H A D | kstack.cpp | 106 DEBUG_ASSERT(stack->size == 0); 120 stack->size = mapping->size(); 133 stack->size = mapping->size(); 145 stack->size = 0;
|
/fuchsia/zircon/system/dev/display/intel-i915/ |
H A D | dp-display.h | 21 bool DpcdRead(uint32_t addr, uint8_t* buf, size_t size); 22 bool DpcdWrite(uint32_t addr, const uint8_t* buf, size_t size); 35 uint8_t* buf, size_t size) __TA_REQUIRES(lock_); 39 const uint8_t* buf, size_t size) __TA_REQUIRES(lock_); 65 bool DpcdWrite(uint32_t addr, const uint8_t* buf, size_t size); 66 bool DpcdRead(uint32_t addr, uint8_t* buf, size_t size);
|
H A D | gtt.h | 32 uint64_t size() const { return region_->size; } function in class:i915::GttRegion 58 uint64_t size() const { return gfx_mem_size_; } function in class:i915::Gtt
|
/fuchsia/zircon/system/utest/fbl/include/fbl/tests/intrusive_containers/ |
H A D | intrusive_wavl_tree_checker.h | 54 EXPECT_EQ(0u, tree.size(), ""); 74 EXPECT_LT(0u, tree.size(), ""); 77 // Compute the size and depth of the tree, verifying the parent 83 size_t size = 0; local 116 ++size; 177 ASSERT_EQ(tree.size(), size, "");
|
/fuchsia/zircon/system/utest/fidl-compiler/ |
H A D | formatter_unittests.cpp | 83 for (int i = 0; i < lines.size(); i++) { 98 ASSERT_EQ(lines[line_to_check].size(), 0, "No blank line found before top level decl"); 103 ASSERT_NE(lines[lines.size() - 1].size(), 0, "No newline at EOF"); 122 ASSERT_GT(good_output.size(), 0); 123 ASSERT_GT(formatted_bad_output.size(), 0);
|
H A D | visitor_unittests.cpp | 39 int size = (int)(current_token.data().data() - current_token.previous_end().data().data()); local 40 std::string gap(ws_location, size); 41 std::string content(current_token.data().data(), current_token.data().size());
|
/fuchsia/zircon/third_party/ulib/backtrace/ |
H A D | internal.h | 197 off_t offset, size_t size, 216 extern void backtrace_qsort (void *base, size_t count, size_t size, 222 extern void *backtrace_alloc (struct backtrace_state *state, size_t size, 230 size_t size, 235 allocation when we don't know the final size of some group of data 243 size_t size; member in struct:backtrace_vector 252 extern void *backtrace_vector_grow (struct backtrace_state *state, size_t size,
|
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/ |
H A D | guest_physical_address_space.h | 44 if (offset_ + sizeof(T) > mapping_->size()) { 65 size_t size() const { return guest_aspace_->size(); } function in class:hypervisor::GuestPhysicalAddressSpace
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | vm_object_dispatcher.h | 43 zx_status_t GetSize(uint64_t* size); 44 zx_status_t RangeOp(uint32_t op, uint64_t offset, uint64_t size, user_inout_ptr<void> buffer, 47 uint32_t options, uint64_t offset, uint64_t size, bool copy_name,
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_object_physical.h | 28 static zx_status_t Create(paddr_t base, uint64_t size, fbl::RefPtr<VmObject>* vmo); 32 uint64_t size() const override { return size_; } 49 VmObjectPhysical(paddr_t base, uint64_t size);
|
/fuchsia/zircon/system/host/abigen/parser/ |
H A D | parser.cpp | 56 if (ix_ >= tokens_.size()) 63 if (ix_ >= tokens_.size()) { 72 return (n >= tokens_.size()) ? eof_str : tokens_[n];
|
/fuchsia/zircon/system/host/fidl/lib/ |
H A D | error_reporter.cpp | 39 size_t line_size = surrounding_line.size() - 1; 40 if (squiggle.size() > line_size) { 76 auto error = FormatError(token_location, message, token_data.size());
|
/fuchsia/zircon/system/ulib/cobalt-client/include/cobalt-client/cpp/ |
H A D | histogram-internal.h | 44 ZX_DEBUG_ASSERT_MSG(bucket < buckets_.size(), 46 buckets_.size()); 52 ZX_DEBUG_ASSERT_MSG(bucket < buckets_.size(), "GetCount bucket out of range.");
|
/fuchsia/zircon/system/ulib/fidl/include/lib/fidl/cpp/ |
H A D | builder.h | 20 void* operator new(size_t size, void* ptr) noexcept; 21 void* operator new[](size_t size, void* ptr) noexcept; 49 // Allocates storage in the buffer of sufficient size to store an object of 64 // Allocates storage in the buffer of sufficient size to store |count| 101 // Returns |size| bytes of zeroed memory aligned to at least FIDL_ALIGNMENT 102 void* Allocate(uint32_t size);
|
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/ |
H A D | jemalloc.h | 218 void JEMALLOC_NOTHROW *je_malloc(size_t size) 221 void JEMALLOC_NOTHROW *je_calloc(size_t num, size_t size) 224 size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(nonnull(1)); 227 size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) 230 void JEMALLOC_NOTHROW *je_realloc(void *ptr, size_t size) 236 void JEMALLOC_NOTHROW *je_mallocx(size_t size, int flags) 239 void JEMALLOC_NOTHROW *je_rallocx(void *ptr, size_t size, 241 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_xallocx(void *ptr, size_t size, 246 JEMALLOC_EXPORT void JEMALLOC_NOTHROW je_sdallocx(void *ptr, size_t size, 248 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_nallocx(size_t size, in [all...] |
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | jemalloc.c | 241 size_t s; /* Request size. */ 303 a0ialloc(size_t size, bool zero, bool is_internal) argument 308 return (iallocztm(TSDN_NULL, size, size2index(size), zero, NULL, 319 a0malloc(size_t size) argument 321 return (a0ialloc(size, false, true)); 337 bootstrap_malloc(size_t size) argument 339 if (unlikely(size == 0)) 340 size = 1; 342 return (a0ialloc(size, fals 346 bootstrap_calloc(size_t num, size_t size) argument 1444 imalloc_no_sample(static_opts_t *sopts, dynamic_opts_t *dopts, tsd_t *tsd, size_t size, size_t usize, szind_t ind) argument 1515 compute_size_with_overflow(dynamic_opts_t *dopts, size_t *size) argument 1550 size_t size = 0; local 1783 je_posix_memalign(void **memptr, size_t alignment, size_t size) argument 1966 je_realloc(void *ptr, size_t size) argument 2249 irallocx_prof(tsd_t *tsd, extent_t *old_extent, void *old_ptr, size_t old_usize, size_t size, size_t alignment, size_t *usize, bool zero, tcache_t *tcache, arena_t *arena) argument 2295 je_rallocx(void *ptr, size_t size, int flags) argument 2370 ixallocx_helper(tsdn_t *tsdn, extent_t *extent, void *ptr, size_t old_usize, size_t size, size_t extra, size_t alignment, bool zero) argument 2383 ixallocx_prof_sample(tsdn_t *tsdn, extent_t *extent, void *ptr, size_t old_usize, size_t size, size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) argument 2398 ixallocx_prof(tsd_t *tsd, extent_t *extent, void *ptr, size_t old_usize, size_t size, size_t extra, size_t alignment, bool zero) argument 2448 je_xallocx(void *ptr, size_t size, size_t extra, int flags) argument 2551 inallocx(tsdn_t *tsdn, size_t size, int flags) argument 2566 je_sdallocx(void *ptr, size_t size, int flags) argument [all...] |
/fuchsia/zircon/kernel/include/ |
H A D | bits.h | 18 /* Trick to get a 1 of the right size */ 44 const long size = start + nr; local 56 mask_to_set &= BITMAP_LAST_WORD_MASK(size); 64 const long size = start + nr; local 76 mask_to_clear &= BITMAP_LAST_WORD_MASK(size);
|
/fuchsia/zircon/kernel/lib/unittest/include/lib/unittest/ |
H A D | user_memory.h | 27 static fbl::unique_ptr<UserMemory> Create(size_t size);
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | platform_p.h | 40 typedef void (*enumerate_e820_callback)(uint64_t base, uint64_t size, bool is_mem, void* ctx);
|
/fuchsia/zircon/system/ulib/crypto/include/crypto/ |
H A D | secret.h | 36 // Initializes this object with |size| pseudo-random bytes. 37 zx_status_t Generate(size_t size);
|
/fuchsia/zircon/system/ulib/fidl/ |
H A D | decoding.cpp | 21 static_assert(offsetof(fidl_string_t, size) == 0u, ""); 65 bool ClaimOutOfLineStorage(uint32_t size, uint32_t* out_offset) { argument 73 if (add_overflow(offset, size, &offset) || 278 // know the size of the struct to compute the start of the 297 if (type_->coded_struct.size > num_bytes_) { 298 return WithError("Message size is smaller than expected"); 301 out_of_line_offset_ = static_cast<uint32_t>(fidl::FidlAlign(type_->coded_struct.size)); 335 if (!ClaimOutOfLineStorage(frame->struct_pointer_state.struct_type->size, 369 if (!ClaimOutOfLineStorage(frame->union_pointer_state.union_type->size, 402 if (string_ptr->size ! 412 uint64_t size = string_ptr->size; local 468 uint32_t size; local [all...] |