/third_party/python/Python/ |
D | suggestions.c | 38 levenshtein_distance(const char *a, size_t a_size, in levenshtein_distance() argument 50 while (a_size && b_size && a[0] == b[0]) { in levenshtein_distance() 51 a++; a_size--; in levenshtein_distance() 54 while (a_size && b_size && a[a_size-1] == b[b_size-1]) { in levenshtein_distance() 55 a_size--; in levenshtein_distance() 58 if (a_size == 0 || b_size == 0) { in levenshtein_distance() 59 return (a_size + b_size) * MOVE_COST; in levenshtein_distance() 61 if (a_size > MAX_STRING_SIZE || b_size > MAX_STRING_SIZE) { in levenshtein_distance() 66 if (b_size < a_size) { in levenshtein_distance() 68 size_t t_size = a_size; a_size = b_size; b_size = t_size; in levenshtein_distance() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | buffer_dec.c | 59 const uint64_t a_size = MIN_BUFFER_SIZE(width, height, a_stride); in CheckDecBuffer() local 71 ok &= (a_size <= buf->a_size); in CheckDecBuffer() 99 uint64_t uv_size = 0, a_size = 0, total_size; in AllocateBuffer() local 115 a_size = (uint64_t)a_stride * h; in AllocateBuffer() 118 total_size = size + 2 * uv_size + a_size; in AllocateBuffer() 140 buf->a_size = (size_t)a_size; in AllocateBuffer()
|
D | idec_dec.c | 719 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA() argument 725 luma_size = u_size = v_size = a_size = 0; in WebPINewYUVA() 734 if (a_size == 0 || a_stride == 0) return NULL; in WebPINewYUVA() 755 idec->output_.u.YUVA.a_size = a_size; in WebPINewYUVA()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | buffer_dec.c | 59 const uint64_t a_size = MIN_BUFFER_SIZE(width, height, a_stride); in CheckDecBuffer() local 71 ok &= (a_size <= buf->a_size); in CheckDecBuffer() 99 uint64_t uv_size = 0, a_size = 0, total_size; in AllocateBuffer() local 115 a_size = (uint64_t)a_stride * h; in AllocateBuffer() 118 total_size = size + 2 * uv_size + a_size; in AllocateBuffer() 141 buf->a_size = (size_t)a_size; in AllocateBuffer()
|
D | idec_dec.c | 714 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA() argument 720 luma_size = u_size = v_size = a_size = 0; in WebPINewYUVA() 729 if (a_size == 0 || a_stride == 0) return NULL; in WebPINewYUVA() 750 idec->output_.u.YUVA.a_size = a_size; in WebPINewYUVA()
|
/third_party/pixman/pixman/ |
D | pixman-utils.c | 141 int a_size, r_size, g_size, b_size; in pixman_expand_to_float() local 154 a_size = PIXMAN_FORMAT_A (format); in pixman_expand_to_float() 159 a_shift = 32 - a_size; in pixman_expand_to_float() 164 a_mask = ((1 << a_size) - 1); in pixman_expand_to_float() 169 a_mul = multipliers[a_size]; in pixman_expand_to_float()
|
D | pixman-bits-image.c | 1139 int a_size = PIXMAN_FORMAT_A (format); in dither_apply_ordered() local 1144 float a_scale = dither_compute_scale (a_size); in dither_apply_ordered()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_enc.c | 98 uint64_t y_size, uv_size, a_size, total_size; in WebPPictureAllocYUVA() local 115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA() 117 total_size = y_size + a_size + 2 * uv_size; in WebPPictureAllocYUVA() 145 if (a_size > 0) { in WebPPictureAllocYUVA() 147 mem += a_size; in WebPPictureAllocYUVA()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_enc.c | 98 uint64_t y_size, uv_size, a_size, total_size; in WebPPictureAllocYUVA() local 115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA() 117 total_size = y_size + a_size + 2 * uv_size; in WebPPictureAllocYUVA() 145 if (a_size > 0) { in WebPPictureAllocYUVA() 147 mem += a_size; in WebPPictureAllocYUVA()
|
/third_party/boost/libs/intrusive/test/ |
D | container_size_test.cpp | 41 static const std::size_t a_size = sizeof(A); member 43 static const bool a_b_sizes_equal = a_size == b_size; 44 static const bool value = !(a_size & (a_size - 1u));
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_large_constants.c | 50 uint32_t a_size = a->constant_data_size; in var_info_cmp() local 55 } else if (a_size < b_size) { in var_info_cmp() 57 } else if (a_size > b_size) { in var_info_cmp() 59 } else if (a_size == 0) { in var_info_cmp() 63 return memcmp(a->constant_data, b->constant_data, a_size); in var_info_cmp()
|
/third_party/boost/boost/geometry/srs/projections/impl/ |
D | pj_gridinfo.hpp | 202 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable() local 203 ct.cvs.resize(a_size); in pj_gridinfo_load_ctable() 205 std::size_t ch_size = sizeof(pj_ctable::flp_t) * a_size; in pj_gridinfo_load_ctable() 233 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable2() local 234 ct.cvs.resize(a_size); in pj_gridinfo_load_ctable2() 236 std::size_t ch_size = sizeof(pj_ctable::flp_t) * a_size; in pj_gridinfo_load_ctable2() 248 swap_words(reinterpret_cast<char*>(&ct.cvs[0]), 4, (int)a_size * 2); in pj_gridinfo_load_ctable2()
|
/third_party/python/Objects/ |
D | longobject.c | 2740 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2750 a_size = Py_ABS(Py_SIZE(a)); in _PyLong_Frexp() 2751 if (a_size == 0) { in _PyLong_Frexp() 2756 a_bits = bit_length_digit(a->ob_digit[a_size-1]); in _PyLong_Frexp() 2759 if (a_size >= (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 && in _PyLong_Frexp() 2760 (a_size > (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 || in _PyLong_Frexp() 2763 a_bits = (a_size - 1) * PyLong_SHIFT + a_bits; in _PyLong_Frexp() 2794 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp() 2796 x_size += a_size; in _PyLong_Frexp() 2803 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp() [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 1077 void InitCopy(const Element* array, size_t a_size) { 1078 Element* const copy = new Element[a_size]; 1079 CopyArray(array, a_size, copy); 1081 size_ = a_size; 1086 void InitRef(const Element* array, size_t a_size) { 1088 size_ = a_size;
|
/third_party/skia/third_party/externals/libwebp/src/webp/ |
D | decode.h | 196 size_t a_size; // alpha-plane size member 314 uint8_t* a, size_t a_size, int a_stride);
|
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/ |
D | decode.h | 199 size_t a_size; // alpha-plane size member 317 uint8_t* a, size_t a_size, int a_stride);
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1136 void InitCopy(const Element* array, size_t a_size) { 1137 Element* const copy = new Element[a_size]; 1138 CopyArray(array, a_size, copy); 1140 size_ = a_size; 1145 void InitRef(const Element* array, size_t a_size) { 1147 size_ = a_size;
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | dwebp.c | 158 output_buffer->u.YUVA.a_size = stride * h; in AllocateExternalBuffer() 159 tmp += output_buffer->u.YUVA.a_size; in AllocateExternalBuffer()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | dwebp.c | 159 output_buffer->u.YUVA.a_size = stride * h; in AllocateExternalBuffer() 160 tmp += output_buffer->u.YUVA.a_size; in AllocateExternalBuffer()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | webpdec.c | 210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | webpdec.c | 210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | flow.c | 417 unsigned int a_size = a->size; in overlapping_memop() local 420 if (a_size + a_start <= b_start) in overlapping_memop()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_insert_NOPs.cpp | 201 regs_intersect(PhysReg a_reg, unsigned a_size, PhysReg b_reg, unsigned b_size) in regs_intersect() argument 203 return a_reg > b_reg ? (a_reg - b_reg < b_size) : (b_reg - a_reg < a_size); in regs_intersect()
|
/third_party/mindspore/mindspore/numpy/ |
D | math_ops.py | 2226 a_size = F.shape_mul(a.shape) 2228 if a_size == 0 or v_size == 0: 2237 if a_size < v_size: 2239 a_size, v_size = v_size, a_size
|
/third_party/python/Lib/test/ |
D | test_pydoc.py | 787 def a_size(self): member in PydocDocTest.test_method_aliases.A 793 b_size = A.a_size
|