Home
last modified time | relevance | path

Searched refs:size (Results 3026 - 3050 of 21346) sorted by relevance

1...<<121122123124125126127128129130>>...854

/third_party/libunwind/libunwind/doc/
H A Dunw_set_cache_size.tex8 \begin{Name}{3}{unw\_set\_cache\_size}{Dave Watson}{Programming Library}{unw\_set\_cache\_size}unw\_set\_cache\_size -- set unwind cache size
15 \Type{int} \Func{unw\_set\_cache\_size}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{size\_t} \Var{size}, \Type{int} \Var{flag});\\
19 The \Func{unw\_set\_cache\_size}() routine sets the cache size of
21 argument \Var{size}. It may hold more items as determined by the
40 \item[\Const{UNW\_ENOMEM}] The desired cache size could not be
/third_party/lzma/CPP/Windows/
H A DDLL.cpp71 DWORD size = ::GetModuleFileName(hModule, s, MAX_PATH + 1); in MyGetModuleFileName() local
72 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
83 DWORD size = ::GetModuleFileNameW(hModule, s, MAX_PATH + 1); in MyGetModuleFileName() local
84 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
/third_party/mesa3d/src/amd/compiler/
H A Daco_dead_code_analysis.cpp44 : current_block(program->blocks.size() - 1), uses(program->peekAllocationId()) in dce_ctx()
46 live.reserve(program->blocks.size()); in dce_ctx()
48 live.emplace_back(block.instructions.size()); in dce_ctx()
56 assert(live.size() == block.instructions.size()); in process_block()
58 for (int idx = block.instructions.size() - 1; idx >= 0; idx--) { in process_block()
/third_party/lzma/CPP/7zip/UI/Console/
H A DPercentPrinter.cpp62 unsigned size; in GetPercents() local
75 size = (unsigned)strlen(s); in GetPercents()
76 s[size++] = c; in GetPercents()
77 s[size] = 0; in GetPercents()
80 while (size < kPercentsSize) in GetPercents()
83 size++; in GetPercents()
127 // unsigned size = (unsigned)strlen(s); in Print()
128 // for (; size < 3; size++) _s.Add_Space(); in Print()
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_ringbuffer_sp_reloc.h82 uint32_t size; in fd_ringbuffer_sp_emit_reloc_ring() local
87 size = fd_target->u.cmds[cmd_idx].size; in fd_ringbuffer_sp_emit_reloc_ring()
90 size = offset_bytes(target->cur, target->start); in fd_ringbuffer_sp_emit_reloc_ring()
108 return size; in fd_ringbuffer_sp_emit_reloc_ring()
129 return size; in fd_ringbuffer_sp_emit_reloc_ring()
/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_ringbuffer.h86 uint32_t size; in virtio_ringbuffer_emit_reloc_ring() local
91 size = virtio_target->u.cmds[cmd_idx].size; in virtio_ringbuffer_emit_reloc_ring()
94 size = offset_bytes(target->cur, target->start); in virtio_ringbuffer_emit_reloc_ring()
112 return size; in virtio_ringbuffer_emit_reloc_ring()
133 return size; in virtio_ringbuffer_emit_reloc_ring()
H A Dvirtio_priv.h92 virtio_dev_free_iova(struct fd_device *dev, uint64_t iova, uint32_t size) in virtio_dev_free_iova() argument
97 util_vma_heap_free(&virtio_dev->address_space, iova, size); in virtio_dev_free_iova()
102 virtio_dev_alloc_iova(struct fd_device *dev, uint32_t size) in virtio_dev_alloc_iova() argument
108 iova = util_vma_heap_alloc(&virtio_dev->address_space, size, 0x1000); in virtio_dev_alloc_iova()
171 struct fd_bo *virtio_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags);
172 struct fd_bo *virtio_bo_from_handle(struct fd_device *dev, uint32_t size,
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_descriptor_set.h23 /* The size in bytes of each Vulkan descriptor. */
24 uint32_t size; member
58 /* Total size of the descriptor set with room for all array entries */
59 uint32_t size; member
84 uint32_t size; member
106 uint32_t size; member
119 uint32_t size; member
129 uint64_t size; member
/third_party/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_robust_buffer_access.c36 /* Get size of the buffer */ in rewrite_offset()
37 nir_intrinsic_instr *size = in rewrite_offset() local
39 size->src[0] = nir_src_for_ssa(nir_imm_int(b, buffer_idx)); in rewrite_offset()
40 nir_ssa_dest_init(&size->instr, &size->dest, 1, 32, NULL); in rewrite_offset()
41 nir_builder_instr_insert(b, &size->instr); in rewrite_offset()
45 nir_iand(b, &size->dest.ssa, nir_imm_int(b, 0xfffffffc)); in rewrite_offset()
/third_party/ltp/include/
H A Dtst_safe_net.h45 #define SAFE_RECV(msg_len, fd, buf, size, flags) \
46 safe_recv(__FILE__, __LINE__, (msg_len), (fd), (buf), (size), (flags))
68 #define SAFE_GETHOSTNAME(name, size) \
69 safe_gethostname(__FILE__, __LINE__, name, size)
71 #define SAFE_SETHOSTNAME(name, size) \
72 safe_sethostname(__FILE__, __LINE__, name, size)
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dspan.h26 constexpr span(const T* data, index_type size) : data_(data), size_(size) {} in span() argument
45 constexpr index_type size() const { return size_; } in size() function in v8_crdtp::span
69 return span<uint8_t>(reinterpret_cast<const uint8_t*>(v.data()), v.size()); in SpanFrom()
77 std::is_member_function_pointer<decltype(&C::size)>{}>>
79 return span<typename C::value_type>(v.data(), v.size()); in SpanFrom()
/third_party/node/deps/zlib/google/
H A Dcompression_utils.cc28 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
31 // No overflow, as compressed_size_long <= output.size() which is a size_t. in GzipCompress()
44 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress()
101 if (uncompressed_size > output.size()) in GzipUncompress()
106 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
121 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
131 compressed_data.size()); in GetUncompressedSize()
/third_party/node/deps/v8/src/wasm/
H A Dmemory-protection-key.cc170 size_t size = region.size(); in SetPermissionsAndMemoryProtectionKey() local
179 DCHECK_EQ(0, size % page_allocator->CommitPageSize()); in SetPermissionsAndMemoryProtectionKey()
183 int ret = pkey_mprotect(address, size, protection, key); in SetPermissionsAndMemoryProtectionKey()
188 USE(page_allocator->DiscardSystemPages(address, size)); in SetPermissionsAndMemoryProtectionKey()
199 return page_allocator->SetPermissions(address, size, page_permissions); in SetPermissionsAndMemoryProtectionKey()
/third_party/musl/porting/liteos_a/kernel/src/prng/
H A Drandom.c72 char *initstate(unsigned seed, char *state, size_t size) { in initstate() argument
76 if (size < 8) in initstate()
81 if (size < 32) in initstate()
83 else if (size < 64) in initstate()
85 else if (size < 128) in initstate()
87 else if (size < 256) in initstate()
/third_party/musl/porting/liteos_m/kernel/src/prng/
H A Drandom.c71 char *initstate(unsigned seed, char *state, size_t size) { in initstate() argument
75 if (size < 8) in initstate()
80 if (size < 32) in initstate()
82 else if (size < 64) in initstate()
84 else if (size < 128) in initstate()
86 else if (size < 256) in initstate()
/third_party/musl/src/prng/
H A Drandom.c73 char *initstate(unsigned seed, char *state, size_t size) { in initstate() argument
76 if (size < 8) in initstate()
80 if (size < 32) in initstate()
82 else if (size < 64) in initstate()
84 else if (size < 128) in initstate()
86 else if (size < 256) in initstate()
/third_party/musl/porting/uniproton/kernel/src/prng/
H A Drandom.c71 char *initstate(unsigned seed, char *state, size_t size) { in initstate() argument
75 if (size < 8) in initstate()
80 if (size < 32) in initstate()
82 else if (size < 64) in initstate()
84 else if (size < 128) in initstate()
86 else if (size < 256) in initstate()
/third_party/mesa3d/src/mesa/program/
H A Dprog_parameter.h133 unsigned Size; /**< allocated size of Parameters */
134 unsigned SizeValues; /**< alllocate size of ParameterValues */
158 _mesa_new_parameter_list_sized(unsigned size);
174 GLuint size, GLenum datatype,
181 const gl_constant_value *values, GLuint size,
186 const gl_constant_value *values, GLuint size, in _mesa_add_unnamed_constant()
189 return _mesa_add_typed_unnamed_constant(paramList, values, size, GL_NONE, in _mesa_add_unnamed_constant()
196 const unsigned size, bool pad_and_align);
185 _mesa_add_unnamed_constant(struct gl_program_parameter_list *paramList, const gl_constant_value *values, GLuint size, GLuint *swizzleOut) _mesa_add_unnamed_constant() argument
/third_party/mesa3d/src/intel/tools/
H A Dgfx10_context.h28 uint32_t *data, uint32_t *size) in gfx10_render_context_init()
30 *size = CONTEXT_RENDER_SIZE; in gfx10_render_context_init()
79 uint32_t *data, uint32_t *size) in gfx10_blitter_context_init()
81 *size = CONTEXT_OTHER_SIZE; in gfx10_blitter_context_init()
129 uint32_t *data, uint32_t *size) in gfx10_video_context_init()
131 *size = CONTEXT_OTHER_SIZE; in gfx10_video_context_init()
27 gfx10_render_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx10_render_context_init() argument
78 gfx10_blitter_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx10_blitter_context_init() argument
128 gfx10_video_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx10_video_context_init() argument
H A Dgfx8_context.h28 uint32_t *data, uint32_t *size) in gfx8_render_context_init()
30 *size = CONTEXT_RENDER_SIZE; in gfx8_render_context_init()
77 uint32_t *data, uint32_t *size) in gfx8_blitter_context_init()
79 *size = CONTEXT_OTHER_SIZE; in gfx8_blitter_context_init()
119 uint32_t *data, uint32_t *size) in gfx8_video_context_init()
121 *size = CONTEXT_OTHER_SIZE; in gfx8_video_context_init()
27 gfx8_render_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx8_render_context_init() argument
76 gfx8_blitter_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx8_blitter_context_init() argument
118 gfx8_video_context_init(const struct intel_context_parameters *params, uint32_t *data, uint32_t *size) gfx8_video_context_init() argument
/third_party/libfuse/example/
H A Dhello.c112 static int hello_read(const char *path, char *buf, size_t size, off_t offset, in hello_read() argument
122 if (offset + size > len) in hello_read()
123 size = len - offset; in hello_read()
124 memcpy(buf, options.contents + offset, size); in hello_read()
126 size = 0; in hello_read()
128 return size; in hello_read()
/third_party/ltp/testcases/kernel/mem/mem/
H A Dmem02.c61 fprintf(stderr, "\t-m specify the size of memory to allocate, in MB\n"); in usage()
67 int i, pagesize, size = 0; in get_pagesize_order() local
69 for (i = 0; size != pagesize; i++) in get_pagesize_order()
70 size = 1 << i; in get_pagesize_order()
81 int size; /* Size to memory to be valloced */ in main() local
163 /* realloc with reduced size */ in main()
176 /* realloc with increased size after fragmenting memory */ in main()
208 * size is a fraction of 100000 and is determined by rand(). in main()
210 size = (int)((rand() / (float)RAND_MAX) * 100000) + 1; in main()
211 memptr = valloc(size); in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv03.c40 ssize_t *size; member
65 if (TST_RET != *tc->size) { in verify_direct_preadv()
67 TST_RET, *tc->size); in verify_direct_preadv()
71 for (i = 0; i < *tc->size; i++) { in verify_direct_preadv()
76 if (i < *tc->size) { in verify_direct_preadv()
88 "with content '%c' expectedly", *tc->size, tc->content); in verify_direct_preadv()
100 tst_brk(TBROK, "BLKSSZGET returned invalid block size %i", ret); in setup()
102 tst_res(TINFO, "Using block size %i", ret); in setup()
/third_party/ltp/testcases/kernel/syscalls/remap_file_pages/
H A Dremap_file_pages02.c22 * 3. Test with a invalid size argument
65 size_t size; member
73 {"size is invalid", EINVAL, setup03, NULL, 0, 0, 0, 0},
80 tcases[i].start, tcases[i].size, in run()
98 tcases[test].size = page_sz; in setup01()
104 tcases[test].size = page_sz; in setup02()
110 tcases[test].size = 2 * page_sz; in setup03()
116 tcases[test].size = page_sz; in setup04()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D3-1.c14 * 1. Set the size of the file to be mapped as (2 * _SC_PAGE_SIZE);
15 * 2. Map size = (_SC_PAGE_SIZE + 2) bytes into memory,
20 * 3. Test whether byte *(pa + size) is 'b'.
46 size_t size; in main() local
56 size = page_size + 2; in main()
95 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
101 ch = pa + size; in main()
122 ch = pa2 + size; in main()
130 munmap(pa, size); in main()

Completed in 12 milliseconds

1...<<121122123124125126127128129130>>...854