Home
last modified time | relevance | path

Searched refs:a_size (Results 1 – 25 of 30) sorted by relevance

12

/third_party/python/Python/
Dsuggestions.c38 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/
Dbuffer_dec.c59 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()
Didec_dec.c719 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/
Dbuffer_dec.c59 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()
Didec_dec.c714 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/
Dpixman-utils.c141 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()
Dpixman-bits-image.c1139 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/
Dpicture_enc.c98 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/
Dpicture_enc.c98 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/
Dcontainer_size_test.cpp41 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/
Dnir_opt_large_constants.c50 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/
Dpj_gridinfo.hpp202 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/
Dlongobject.c2740 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/
Dgtest-internal.h1077 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/
Ddecode.h196 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/
Ddecode.h199 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/
Dgtest-internal.h1136 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/
Ddwebp.c158 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/
Ddwebp.c159 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/
Dwebpdec.c210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
/third_party/ltp/tools/sparse/sparse-src/
Dflow.c417 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/
Daco_insert_NOPs.cpp201 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/
Dmath_ops.py2226 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/
Dtest_pydoc.py787 def a_size(self): member in PydocDocTest.test_method_aliases.A
793 b_size = A.a_size

12