Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 25 of 49) sorted by relevance

12

/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/
Dffi.c108 unsigned int rsize = cif->rtype->size; in ffi_call() local
113 if (rsize <= 4) in ffi_call()
114 memcpy (rvalue, (char *) smst_buffer + 4 - rsize, rsize); in ffi_call()
120 if (rsize <= 8) in ffi_call()
121 memcpy (rvalue, (char *) smst_buffer + 8 - rsize, rsize); in ffi_call()
124 memcpy (rvalue, smst_buffer, rsize); in ffi_call()
/external/libffi/src/powerpc/
Dffi.c108 unsigned int rsize = cif->rtype->size; in ffi_call() local
113 if (rsize <= 4) in ffi_call()
114 memcpy (rvalue, (char *) smst_buffer + 4 - rsize, rsize); in ffi_call()
120 if (rsize <= 8) in ffi_call()
121 memcpy (rvalue, (char *) smst_buffer + 8 - rsize, rsize); in ffi_call()
124 memcpy (rvalue, smst_buffer, rsize); in ffi_call()
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dfile_utils.cc51 ssize_t rsize = read(fd, buf + tot_read, length - tot_read); in ReadFile() local
52 if (rsize == 0) in ReadFile()
54 if (rsize == -1 && errno == EINTR) in ReadFile()
56 else if (rsize < 0) in ReadFile()
58 tot_read += static_cast<size_t>(rsize); in ReadFile()
65 ssize_t rsize = ReadFile(path, buf, length); in ReadFileTrimmed() local
66 if (rsize < 0) in ReadFileTrimmed()
68 for (ssize_t i = 0; i < rsize; i++) { in ReadFileTrimmed()
Dprocfs_utils.cc49 ssize_t rsize = ReadProcFile(pid, "status", buf, sizeof(buf)); in ReadTgid() local
50 if (rsize <= 0) in ReadTgid()
118 ssize_t rsize = file_utils::ReadFile("/proc/meminfo", buf, sizeof(buf)); in ReadMemInfoStats() local
119 if (rsize <= 0) in ReadMemInfoStats()
122 file_utils::LineReader reader(buf, rsize); in ReadMemInfoStats()
Dprocess_memory_stats.cc57 ssize_t rsize = file_utils::ReadProcFile(pid, "smaps", &buf[0], kBufSize); in ReadFullStats() local
58 if (rsize <= 0) in ReadFullStats()
66 file_utils::LineReader rd(&buf[0], rsize); in ReadFullStats()
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc184 size_t rsize = ReadFile(&meminfo_fd_, "/proc/meminfo"); in ReadMeminfo() local
185 if (!rsize) in ReadMeminfo()
188 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadMeminfo()
208 size_t rsize = ReadFile(&vmstat_fd_, "/proc/vmstat"); in ReadVmstat() local
209 if (!rsize) in ReadVmstat()
212 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadVmstat()
230 size_t rsize = ReadFile(&stat_fd_, "/proc/stat"); in ReadStat() local
231 if (!rsize) in ReadStat()
234 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadStat()
316 size_t rsize = static_cast<size_t>(res); in ReadFile() local
[all …]
/external/libdivsufsort/lib/
Dutils.c263 saidx_t size, lsize, rsize, half; in sa_search() local
287 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1; in sa_search()
305 for(rlmatch = match, rrmatch = rmatch, half = rsize >> 1; in sa_search()
306 0 < rsize; in sa_search()
307 rsize = half, half >>= 1) { in sa_search()
312 half -= (rsize & 1) ^ 1; in sa_search()
332 saidx_t size, lsize, rsize, half; in sa_simplesearch() local
349 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1; in sa_simplesearch()
364 for(half = rsize >> 1; in sa_simplesearch()
365 0 < rsize; in sa_simplesearch()
[all …]
/external/libffi/src/xtensa/
Dffi.c51 extern void ffi_call_SYSV(void *rvalue, unsigned rsize, unsigned flags,
193 unsigned long rsize = cif->rtype->size; in ffi_call() local
206 if (flags == FFI_TYPE_STRUCT && (rsize <= 16 || rvalue == NULL)) in ffi_call()
208 alloc = alloca(ALIGN(rsize, 4)); in ffi_call()
219 ffi_call_SYSV (ecif.rvalue, rsize, cif->flags, fn, cif->bytes, &ecif); in ffi_call()
222 memcpy(rvalue, alloc, rsize); in ffi_call()
/external/python/cpython2/Modules/_ctypes/libffi/src/xtensa/
Dffi.c51 extern void ffi_call_SYSV(void *rvalue, unsigned rsize, unsigned flags,
193 unsigned long rsize = cif->rtype->size; in ffi_call() local
206 if (flags == FFI_TYPE_STRUCT && (rsize <= 16 || rvalue == NULL)) in ffi_call()
208 alloc = alloca(ALIGN(rsize, 4)); in ffi_call()
219 ffi_call_SYSV (ecif.rvalue, rsize, cif->flags, fn, cif->bytes, &ecif); in ffi_call()
222 memcpy(rvalue, alloc, rsize); in ffi_call()
/external/tensorflow/tensorflow/python/ops/signal/
Dfft_ops.py183 rsize = _math_ops.cast(
186 return fft(grad) * rsize
197 rsize = _math_ops.cast(
200 return fft2d(grad) * rsize
211 rsize = _math_ops.cast(
214 return fft3d(grad) * rsize
315 rsize = _math_ops.reciprocal(_math_ops.cast(
323 return the_rfft * _math_ops.cast(rsize * mask, _dtypes.complex64), None
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3518 size_t rsize = granularity_align(req); in sys_alloc() local
3519 if (rsize > nb) { /* Fail if wraps around zero */ in sys_alloc()
3520 char* mp = (char*)(CALL_MMAP(rsize)); in sys_alloc()
3523 tsize = rsize; in sys_alloc()
3602 size_t rsize = m->topsize -= nb; in sys_alloc() local
3605 r->head = rsize | PINUSE_BIT; in sys_alloc()
3728 size_t rsize = -nb; /* Unsigned negation */ in tmalloc_large() local
3740 if (trem < rsize) { in tmalloc_large()
3742 if ((rsize = trem) == 0) in tmalloc_large()
3769 if (trem < rsize) { in tmalloc_large()
[all …]
/external/libffi/src/
Ddlmalloc.c3513 size_t rsize = granularity_align(req); in sys_alloc() local
3514 if (rsize > nb) { /* Fail if wraps around zero */ in sys_alloc()
3515 char* mp = (char*)(CALL_MMAP(rsize)); in sys_alloc()
3518 tsize = rsize; in sys_alloc()
3597 size_t rsize = m->topsize -= nb; in sys_alloc() local
3600 r->head = rsize | PINUSE_BIT; in sys_alloc()
3723 size_t rsize = -nb; /* Unsigned negation */ in tmalloc_large() local
3735 if (trem < rsize) { in tmalloc_large()
3737 if ((rsize = trem) == 0) in tmalloc_large()
3764 if (trem < rsize) { in tmalloc_large()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_fs_surface_builder.h48 unsigned dims, unsigned rsize, unsigned op,
64 unsigned dims, unsigned rsize, unsigned op,
99 unsigned rsize, unsigned op);
Dbrw_vec4_surface_builder.h48 unsigned dims, unsigned rsize, unsigned op,
64 unsigned dims, unsigned rsize, unsigned op,
Dbrw_vec4_surface_builder.cpp203 unsigned dims, unsigned rsize, unsigned op, in emit_untyped_atomic() argument
230 surface, op, rsize, pred); in emit_untyped_atomic()
311 unsigned dims, unsigned rsize, unsigned op, in emit_typed_atomic() argument
334 surface, op, rsize, pred); in emit_typed_atomic()
Dbrw_fs_surface_builder.cpp40 unsigned dims, unsigned arg, unsigned rsize, in emit_send() argument
50 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, rsize); in emit_send()
53 inst->size_written = rsize * dst.component_size(inst->exec_size); in emit_send()
98 unsigned dims, unsigned rsize, unsigned op, in emit_untyped_atomic() argument
110 addr, tmp, surface, dims, op, rsize, pred); in emit_untyped_atomic()
149 unsigned dims, unsigned rsize, unsigned op, in emit_typed_atomic() argument
161 addr, tmp, surface, dims, op, rsize); in emit_typed_atomic()
1187 unsigned rsize, unsigned op) in emit_image_atomic() argument
1205 dims, rsize, op, pred); in emit_image_atomic()
1208 if (rsize && pred) in emit_image_atomic()
/external/dlmalloc/
Dmalloc.c4254 size_t rsize = m->topsize -= nb; in sys_alloc() local
4257 r->head = rsize | PINUSE_BIT; in sys_alloc()
4460 size_t rsize = -nb; /* Unsigned negation */ in tmalloc_large() local
4471 if (trem < rsize) { in tmalloc_large()
4473 if ((rsize = trem) == 0) in tmalloc_large()
4499 if (trem < rsize) { in tmalloc_large()
4500 rsize = trem; in tmalloc_large()
4507 if (v != 0 && rsize < (size_t)(m->dvsize - nb)) { in tmalloc_large()
4510 assert(chunksize(v) == rsize + nb); in tmalloc_large()
4513 if (rsize < MIN_CHUNK_SIZE) in tmalloc_large()
[all …]
/external/vboot_reference/tests/
Dvb20_misc_tests.c123 uint32_t rsize; in vb2ex_read_resource() local
131 rsize = sizeof(mock_gbb); in vb2ex_read_resource()
135 rsize = sizeof(mock_vblock); in vb2ex_read_resource()
141 if (offset > rsize || offset + size > rsize) in vb2ex_read_resource()
Dvb21_misc_tests.c129 uint32_t rsize; in vb2ex_read_resource() local
137 rsize = sizeof(mock_gbb); in vb2ex_read_resource()
141 rsize = sizeof(mock_vblock); in vb2ex_read_resource()
147 if (offset > rsize || offset + size > rsize) in vb2ex_read_resource()
/external/perfetto/tools/trace_to_text/
Dtrace_to_systrace.cc205 auto rsize = input->gcount(); in TraceToSystrace() local
206 if (rsize <= 0) in TraceToSystrace()
208 file_size += static_cast<uint64_t>(rsize); in TraceToSystrace()
209 tp->Parse(std::move(buf), static_cast<size_t>(rsize)); in TraceToSystrace()
/external/perfetto/src/ipc/
Dclient_impl.cc157 size_t rsize; in OnDataAvailable() local
161 rsize = sock_->Receive(buf.data, buf.size, &fd); in OnDataAvailable()
168 if (!frame_deserializer_.EndReceive(rsize)) { in OnDataAvailable()
173 } while (rsize > 0); in OnDataAvailable()
Dhost_impl.cc104 size_t rsize; in OnDataAvailable() local
108 rsize = client->sock->Receive(buf.data, buf.size, &fd); in OnDataAvailable()
113 if (!frame_deserializer.EndReceive(rsize)) in OnDataAvailable()
115 } while (rsize > 0); in OnDataAvailable()
/external/tensorflow/tensorflow/core/kernels/
Dpooling_ops_3d.cc233 int rindex, rsize; in launch() local
236 padding[1], &rindex, &rsize)); in launch()
245 {rindex, rsize}, in launch()
258 Eigen::array<int, 5> bcast = {1, csize, rsize, psize, 1}; in launch()
264 bcast.set(2, rsize); in launch()
408 int rindex, rsize; in launch() local
411 padding[1], &rindex, &rsize)); in launch()
420 {rindex, rsize}, in launch()
431 Eigen::array<int, 5> bcast = {1, csize, rsize, psize, 1}; in launch()
437 bcast.set(2, rsize); in launch()
[all …]
/external/perfetto/src/trace_processor/
Dtrace_processor_shell.cc558 auto rsize = aio_return(&cb); in TraceProcessorMain() local
559 if (rsize <= 0) in TraceProcessorMain()
561 file_size += static_cast<uint64_t>(rsize); in TraceProcessorMain()
573 cb.aio_offset += rsize; in TraceProcessorMain()
577 tp->Parse(std::move(buf), static_cast<size_t>(rsize)); in TraceProcessorMain()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dcrt.c132 crt3(mpd_uint_t *x1, mpd_uint_t *x2, mpd_uint_t *x3, mpd_size_t rsize) in crt3() argument
147 for (i = 0; i < rsize; i++) { in crt3()

12