Home
last modified time | relevance | path

Searched refs:result_size (Results 1 – 25 of 56) sorted by relevance

123

/third_party/flutter/engine/flutter/third_party/txt/tests/old/perftests/
DGraphemeBreak.cpp36 size_t result_size; in BM_GraphemeBreak_Ascii() local
38 ParseUnicode(buffer, 12, ASCII_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Ascii()
39 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Ascii()
42 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Ascii()
51 size_t result_size; in BM_GraphemeBreak_Emoji() local
53 ParseUnicode(buffer, 12, EMOJI_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Emoji()
54 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Emoji()
57 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Emoji()
67 size_t result_size; in BM_GraphemeBreak_Emoji_Flags() local
69 ParseUnicode(buffer, 12, FLAGS_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Emoji_Flags()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/tests/
DUnicodeUtils.cpp33 size_t* result_size, in ParseUnicode() argument
91 LOG_ALWAYS_FATAL_IF(result_size == nullptr); in ParseUnicode()
92 *result_size = output_ix; in ParseUnicode()
99 size_t result_size = 0; in parseUnicodeStringWithOffset() local
100 ParseUnicode(buffer.get(), in.size(), in.c_str(), &result_size, offset); in parseUnicodeStringWithOffset()
101 return std::vector<uint16_t>(buffer.get(), buffer.get() + result_size); in parseUnicodeStringWithOffset()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_query_pool.c114 const size_t result_size = pool->result_array_size * result_width; in vn_GetQueryPoolResults() local
119 size_t packed_stride = result_size; in vn_GetQueryPoolResults()
148 result_size + in vn_GetQueryPoolResults()
163 const bool avail = *(const uint64_t *)(src + result_size); in vn_GetQueryPoolResults()
167 *(uint64_t *)(dst + result_size) = 0; in vn_GetQueryPoolResults()
174 const bool avail = *(const uint32_t *)(src + result_size); in vn_GetQueryPoolResults()
178 *(uint32_t *)(dst + result_size) = 0; in vn_GetQueryPoolResults()
/third_party/boost/boost/compute/algorithm/detail/
Dreduce_by_key.hpp93 size_t result_size = 0; in dispatch_reduce_by_key() local
96 result_size = in dispatch_reduce_by_key()
102 result_size = in dispatch_reduce_by_key()
110 keys_result + static_cast<key_difference_type>(result_size), in dispatch_reduce_by_key()
111 values_result + static_cast<value_difference_type>(result_size) in dispatch_reduce_by_key()
Dserial_reduce_by_key.hpp93 scalar<uint_> result_size(context); in serial_reduce_by_key() local
94 kernel.set_arg(result_size_arg, result_size.get_buffer()); in serial_reduce_by_key()
99 return static_cast<size_t>(result_size.read(queue)); in serial_reduce_by_key()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dreduce_by_key.hpp93 size_t result_size = 0; in dispatch_reduce_by_key() local
96 result_size = in dispatch_reduce_by_key()
102 result_size = in dispatch_reduce_by_key()
110 keys_result + static_cast<key_difference_type>(result_size), in dispatch_reduce_by_key()
111 values_result + static_cast<value_difference_type>(result_size) in dispatch_reduce_by_key()
Dserial_reduce_by_key.hpp93 scalar<uint_> result_size(context); in serial_reduce_by_key() local
94 kernel.set_arg(result_size_arg, result_size.get_buffer()); in serial_reduce_by_key()
99 return static_cast<size_t>(result_size.read(queue)); in serial_reduce_by_key()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_constants.cc71 int result_size = vec ? static_cast<int>(vec->Width()) : 1; in EvaluateConstantValue() local
76 return sem::Constant(type, sem::Constant::Scalars(result_size, 0)); in EvaluateConstantValue()
79 return sem::Constant(type, sem::Constant::Scalars(result_size, 0u)); in EvaluateConstantValue()
82 return sem::Constant(type, sem::Constant::Scalars(result_size, 0.f)); in EvaluateConstantValue()
85 return sem::Constant(type, sem::Constant::Scalars(result_size, false)); in EvaluateConstantValue()
103 for (int i = 0; i < result_size - 1; ++i) { in EvaluateConstantValue()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_query.c192 unsigned result_size = get_num_results(query->type) * sizeof(uint64_t); in qbo_sync_from_prev() local
199 id_offset * result_size); in qbo_sync_from_prev()
377 int result_size = get_num_results(query->type); in check_query_results() local
378 for (int i = 0; i < num_results * result_size; i += result_size) { in check_query_results()
454 int result_size = get_num_results(query->type) * sizeof(uint64_t); in get_query_result() local
463 … (is_timestamp ? 1 : qbo->num_results) * result_size, flags, &xfer); in get_query_result()
472 qbo->num_results * result_size, flags, &xfb_xfer); in get_query_result()
488 qbo->num_results * result_size, flags, &xfer); in get_query_result()
513 unsigned result_size = result_type <= PIPE_QUERY_TYPE_U32 ? sizeof(uint32_t) : sizeof(uint64_t); in force_cpu_read() local
537 pipe_buffer_write(pctx, pres, offset, result_size, &u32); in force_cpu_read()
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-iterator-prototype.c105 ecma_length_t result_size = 1; in ecma_builtin_string_iterator_prototype_object_next() local
127 result_size = 2; in ecma_builtin_string_iterator_prototype_object_next()
132 ext_obj_p->u.pseudo_array.u1.iterator_index = (uint16_t) (position + result_size); in ecma_builtin_string_iterator_prototype_object_next()
/third_party/grpc/src/core/lib/slice/
Db64.cc195 size_t result_size = 0; in grpc_base64_decode_with_len() local
223 if (!decode_group(codes, num_codes, current, &result_size)) goto fail; in grpc_base64_decode_with_len()
230 !decode_group(codes, num_codes, current, &result_size)) { in grpc_base64_decode_with_len()
233 GRPC_SLICE_SET_LENGTH(result, result_size); in grpc_base64_decode_with_len()
/third_party/boost/libs/compute/perf/
Dperf_reduce_by_key.cpp105 size_t result_size = std::distance(device_keys_results.begin(), result.first); in main() local
106 if(result_size != static_cast<size_t>(host_keys[PERF_N-1] + 1)){ in main()
108 << "wrong number of keys" << result_size << "\n" << (host_keys[PERF_N-1] + 1) in main()
Dperf_thrust_reduce_by_key.cu83 size_t result_size = thrust::distance(device_keys_results.begin(), result.first); in main() local
84 if(result_size != static_cast<size_t>(host_keys[PERF_N-1] + 1)){ in main()
/third_party/node/test/wasi/c/
Dcreate_symlink.c10 size_t result_size = sizeof(readlink_result); in main() local
13 assert(readlink(linkpath, readlink_result, result_size) == in main()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_monitor.c35 size_t result_size; member
214 monitor->result_size = perf_cfg->queries[group].data_size; in iris_create_monitor_object()
215 monitor->result_buffer = calloc(1, monitor->result_size); in iris_create_monitor_object()
289 monitor->result_size, in iris_get_monitor_result()
292 if (bytes_written != monitor->result_size) in iris_get_monitor_result()
/third_party/abseil-cpp/absl/strings/internal/
Dstr_join_internal.h232 size_t result_size = start->size();
234 result_size += s.size();
235 result_size += it->size();
238 if (result_size > 0) {
239 STLStringResizeUninitialized(&result, result_size);
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dstr_join_internal.h232 size_t result_size = start->size();
234 result_size += s.size();
235 result_size += it->size();
238 if (result_size > 0) {
239 STLStringResizeUninitialized(&result, result_size);
/third_party/skia/third_party/externals/angle2/src/libGL/
Dentry_points_wgl.cpp41 EGLint result_size = static_cast<EGLint>(filteredConfigs.size()); in ClipConfigs() local
44 result_size = std::max(std::min(result_size, config_size), 0); in ClipConfigs()
45 for (EGLint i = 0; i < result_size; i++) in ClipConfigs()
50 *num_config = result_size; in ClipConfigs()
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_wgl.cpp41 EGLint result_size = static_cast<EGLint>(filteredConfigs.size()); in ClipConfigs() local
44 result_size = std::max(std::min(result_size, config_size), 0); in ClipConfigs()
45 for (EGLint i = 0; i < result_size; i++) in ClipConfigs()
50 *num_config = result_size; in ClipConfigs()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_query.c503 unsigned buf_size = MAX2(query->result_size, in r600_new_query_buffer()
546 num_results = buffer->b.b.width0 / query->result_size; in r600_query_hw_prepare_buffer()
625 query->result_size = 16 * rscreen->info.max_render_backends; in r600_query_hw_create()
626 query->result_size += 16; /* for the fence + alignment */ in r600_query_hw_create()
631 query->result_size = 24; in r600_query_hw_create()
636 query->result_size = 16; in r600_query_hw_create()
645 query->result_size = 32; in r600_query_hw_create()
652 query->result_size = 32 * R600_MAX_STREAMS; in r600_query_hw_create()
658 query->result_size = (rscreen->chip_class >= EVERGREEN ? 11 : 8) * 16; in r600_query_hw_create()
659 query->result_size += 8; /* for the fence + alignment */ in r600_query_hw_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_query.c625 num_results = qbuf->buf->b.b.width0 / query->result_size; in si_query_hw_prepare_buffer()
676 query->result_size = 16 * sscreen->info.max_render_backends; in si_query_hw_create()
677 query->result_size += 16; /* for the fence + alignment */ in si_query_hw_create()
681 query->result_size = 24; in si_query_hw_create()
685 query->result_size = 16; in si_query_hw_create()
694 query->result_size = 32; in si_query_hw_create()
700 query->result_size = 32 * SI_MAX_STREAMS; in si_query_hw_create()
705 query->result_size = 11 * 16; in si_query_hw_create()
706 query->result_size += 8; /* for the fence + alignment */ in si_query_hw_create()
819 if (!si_query_buffer_alloc(sctx, &query->buffer, query->ops->prepare_buffer, query->result_size)) in si_query_hw_emit_start()
[all …]
/third_party/ninja/src/
Dincludes_normalize-win32.cc31 DWORD result_size = GetFullPathNameA(file_name.AsString().c_str(), in InternalGetFullPathName() local
33 if (result_size == 0) { in InternalGetFullPathName()
37 } else if (result_size > buffer_length) { in InternalGetFullPathName()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_monitor.c38 size_t result_size; member
374 monitor->result_size = perf_cfg->queries[group].data_size; in crocus_create_monitor_object()
375 monitor->result_buffer = calloc(1, monitor->result_size); in crocus_create_monitor_object()
449 monitor->result_size, in crocus_get_monitor_result()
452 if (bytes_written != monitor->result_size) in crocus_get_monitor_result()
/third_party/boost/boost/safe_numerics/
Dchecked_integer.hpp767 const unsigned int result_size in bitwise_or() local
770 if(result_size > bits_type<R>::value){ in bitwise_or()
780 const unsigned int result_size in bitwise_xor() local
783 if(result_size > bits_type<R>::value){ in bitwise_xor()
793 const unsigned int result_size in bitwise_and() local
796 if(result_size > bits_type<R>::value){ in bitwise_and()
/third_party/cef/libcef_dll/cpptoc/
Ddev_tools_message_observer_cpptoc.cc58 size_t result_size) { in dev_tools_message_observer_on_dev_tools_method_result() argument
75 result, result_size); in dev_tools_message_observer_on_dev_tools_method_result()

123