Searched refs:half_size (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/experimental/ruy/profiler/ |
D | test_instrumented_library.cc | 28 int half_size = size / 2; in MergeSortRecurse() local 29 MergeSortRecurse(level + 1, half_size, data, workspace); in MergeSortRecurse() 30 MergeSortRecurse(level + 1, size - half_size, data + half_size, in MergeSortRecurse() 31 workspace + half_size); in MergeSortRecurse() 37 int right_index = half_size; in MergeSortRecurse() 40 if (left_index < half_size && in MergeSortRecurse()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_median_filter.c | 167 int half_size; in generate_offsets() local 174 half_size = size >> 1; in generate_offsets() 202 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets() 203 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets() 209 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets() 213 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets() 219 for (v.x = v.y = -half_size; v.x <= half_size; ++v.x, ++v.y) in generate_offsets() 222 for (v.x = -half_size, v.y = half_size; v.x <= half_size; ++v.x, --v.y) in generate_offsets() 229 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets() 235 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_point.c | 130 float half_size; in widepoint_point() local 148 half_size = header->v[0]->data[wide->psize_slot][0]; in widepoint_point() 149 half_size *= 0.5f; in widepoint_point() 152 half_size = wide->half_point_size; in widepoint_point() 155 left_adj = -half_size + wide->xbias; in widepoint_point() 156 right_adj = half_size + wide->xbias; in widepoint_point() 157 bot_adj = half_size + wide->ybias; in widepoint_point() 158 top_adj = -half_size + wide->ybias; in widepoint_point()
|
/external/vboot_reference/cgpt/ |
D | cgpt_create.c | 66 size_t half_size = in GptCreate() local 68 if (half_size < required_min_size) { in GptCreate() 74 (half_size - required_headers_size) / h->size_of_entry; in GptCreate()
|
D | cgpt_nor.c | 171 uint64_t half_size = stat.st_size / 2; in split_gpt() local 174 if (read_write(fd, half_size, source, 1) != 0 || in split_gpt() 175 read_write(fd, half_size, source, 2) != 0) { in split_gpt()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_of_strings.cpp | 97 const Eigen::DSizes<ptrdiff_t, 2> half_size(2, 3); in test_slices() local 101 Tensor<std::string, 2> t1 = data.slice(first_half, half_size); in test_slices() 102 Tensor<std::string, 2> t2 = data.slice(second_half, half_size); in test_slices()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | prng.cc | 153 const int64 half_size = CeilOfRatio<int64>(size, 2); in ThreeFryRngBit32() local 154 const bool size_is_odd = (half_size * 2 != size); in ThreeFryRngBit32() 156 GetThreeFryInputsAndUpdatedState(initial_state, half_size); in ThreeFryRngBit32() 160 outputs[1] = Slice(outputs[1], {0}, {half_size - 1}, {1}); in ThreeFryRngBit32()
|