/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/libabigail/include/ |
D | abg-diff-utils.h | 536 a_size() const in a_size() function 549 {return max_d() + abs((long long) a_size() - (long long) b_size());} in offset() 709 unsigned a_size, 917 if (x >= (int) v.a_size() in end_of_fr_d_path_in_k() 989 int a_size = a_end - a_begin; in end_of_frr_d_path_in_k_plus_delta() local 991 int delta = a_size - b_size; in end_of_frr_d_path_in_k_plus_delta() 1092 int a_size = a_end - a_begin, b_size = b_end - b_begin; in is_match_point() local 1095 || point.x () >= a_size in is_match_point() 1146 int a_size = a_end - a_begin; in compute_middle_snake() local 1147 int N = a_size; in compute_middle_snake() [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/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/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/libabigail/src/ |
D | abg-diff-utils.cc | 53 unsigned a_size, in point_is_valid_in_graph() argument 57 && p.x() < (int) a_size in point_is_valid_in_graph()
|
/third_party/python/Objects/ |
D | longobject.c | 2766 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2776 a_size = Py_ABS(Py_SIZE(a)); in _PyLong_Frexp() 2777 if (a_size == 0) { in _PyLong_Frexp() 2782 a_bits = bit_length_digit(a->ob_digit[a_size-1]); in _PyLong_Frexp() 2785 if (a_size >= (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 && in _PyLong_Frexp() 2786 (a_size > (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 || in _PyLong_Frexp() 2789 a_bits = (a_size - 1) * PyLong_SHIFT + a_bits; in _PyLong_Frexp() 2820 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp() 2822 x_size += a_size; in _PyLong_Frexp() 2829 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | punycode.c | 326 size_t a_size = sizeof(a_ulabel); in ossl_a2ucompare() local 328 if (ossl_a2ulabel(a, a_ulabel, &a_size) <= 0) in ossl_a2ucompare()
|
/third_party/openssl/crypto/ |
D | punycode.c | 326 size_t a_size = sizeof(a_ulabel); in ossl_a2ucompare() local 328 if (ossl_a2ulabel(a, a_ulabel, &a_size) <= 0) in ossl_a2ucompare()
|
/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/vixl/src/ |
D | pool-manager-impl.h | 353 int a_size = a.label_base_->GetPoolObjectSizeInBytes(); in PoolObjectLessThan() local 355 if (a_size != b_size) return (a_size < b_size); in PoolObjectLessThan()
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1138 void InitCopy(const Element* array, size_t a_size) { 1139 Element* const copy = new Element[a_size]; 1140 CopyArray(array, a_size, copy); 1142 size_ = a_size; 1147 void InitRef(const Element* array, size_t a_size) { 1149 size_ = a_size;
|
/third_party/node/deps/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1126 void InitCopy(const Element* array, size_t a_size) { 1127 Element* const copy = new Element[a_size]; 1128 CopyArray(array, a_size, copy); 1130 size_ = a_size; 1135 void InitRef(const Element* array, size_t a_size) { 1137 size_ = a_size;
|
/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/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 | 207 regs_intersect(PhysReg a_reg, unsigned a_size, PhysReg b_reg, unsigned b_size) in regs_intersect() argument 209 return a_reg > b_reg ? (a_reg - b_reg < b_size) : (b_reg - a_reg < a_size); in regs_intersect()
|
D | aco_lower_to_hw_instr.cpp | 1011 get_intersection_mask(int a_start, int a_size, int b_start, int b_size) in get_intersection_mask() argument 1015 if (intersection_start >= a_size || intersection_end == 0) in get_intersection_mask() 1018 uint32_t mask = u_bit_consecutive(0, a_size); in get_intersection_mask()
|
/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
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 610 unsigned a_size = ac_get_llvm_num_components(a); in ac_build_concat() local 613 LLVMValueRef *elems = alloca((a_size + b_size) * sizeof(LLVMValueRef)); in ac_build_concat() 614 for (unsigned i = 0; i < a_size; i++) in ac_build_concat() 617 elems[a_size + i] = ac_llvm_extract_elem(ctx, b, i); in ac_build_concat() 619 return ac_build_gather_values(ctx, elems, a_size + b_size); in ac_build_concat()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest.h | 4519 void InitCopy(const Element* array, size_t a_size) { 4520 Element* const copy = new Element[a_size]; 4521 CopyArray(array, a_size, copy); 4523 size_ = a_size; 4528 void InitRef(const Element* array, size_t a_size) { 4530 size_ = a_size;
|