Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/src/
Dresize.c24 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size) { in ResizeOctStr() argument
25 if (!a || !a_size || !r || !r_size) return kEpidBadArgErr; in ResizeOctStr()
26 if (a_size <= r_size) { in ResizeOctStr()
27 memset(r, 0, r_size - a_size); in ResizeOctStr()
28 if (memcpy_S((uint8_t*)r + (r_size - a_size), a_size, a, a_size)) in ResizeOctStr()
32 for (i = 0; i < a_size - r_size; i++) { in ResizeOctStr()
36 if (memcpy_S(r, r_size, (uint8_t*)a + (a_size - r_size), r_size)) in ResizeOctStr()
Dresize.h43 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size);
/external/webp/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()
/external/webp/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()
/external/python/cpython2/Objects/
Dlongobject.c2218 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2227 a_size = ABS(Py_SIZE(a)); in _PyLong_Frexp()
2228 if (a_size == 0) { in _PyLong_Frexp()
2233 a_bits = bits_in_digit(a->ob_digit[a_size-1]); in _PyLong_Frexp()
2236 if (a_size >= (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 && in _PyLong_Frexp()
2237 (a_size > (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 || in _PyLong_Frexp()
2240 a_bits = (a_size - 1) * PyLong_SHIFT + a_bits; in _PyLong_Frexp()
2273 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp()
2275 x_size += a_size; in _PyLong_Frexp()
2282 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
[all …]
/external/python/cpython3/Objects/
Dlongobject.c2751 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2760 a_size = Py_ABS(Py_SIZE(a)); in _PyLong_Frexp()
2761 if (a_size == 0) { in _PyLong_Frexp()
2766 a_bits = bits_in_digit(a->ob_digit[a_size-1]); in _PyLong_Frexp()
2769 if (a_size >= (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 && in _PyLong_Frexp()
2770 (a_size > (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 || in _PyLong_Frexp()
2773 a_bits = (a_size - 1) * PyLong_SHIFT + a_bits; in _PyLong_Frexp()
2806 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp()
2808 x_size += a_size; in _PyLong_Frexp()
2815 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
[all …]
/external/libvpx/libvpx/test/
Dpredict_test.cc109 bool CheckBorder(const uint8_t *a, int a_size, const uint8_t *b, int b_width, in CheckBorder() argument
111 const uint8_t *a_end = a + a_size; in CheckBorder()
144 for (int pixel = static_cast<int>(b - a + b_size); pixel < a_size; in CheckBorder()
/external/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;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/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;
/external/libaom/libaom/third_party/googletest/src/googletest/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;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h1170 void InitCopy(const Element* array, size_t a_size) {
1171 Element* const copy = new Element[a_size];
1172 CopyArray(array, a_size, copy);
1174 size_ = a_size;
1179 void InitRef(const Element* array, size_t a_size) {
1181 size_ = a_size;
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h1126 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;
/external/vixl/src/
Dpool-manager-impl.h353 int a_size = a.label_base_->GetPoolObjectSizeInBytes(); in PoolObjectLessThan() local
355 if (a_size != b_size) return (a_size < b_size); in PoolObjectLessThan()
/external/webp/include/webp/
Ddecode.h199 size_t a_size; // alpha-plane size member
317 uint8_t* a, size_t a_size, int a_stride);
/external/webp/src/webp/
Ddecode.h199 size_t a_size; // alpha-plane size member
317 uint8_t* a, size_t a_size, int a_stride);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h1076 void Init(const Element* array, size_t a_size, RelationToSource relation) {
1080 Element* const copy = new Element[a_size];
1081 CopyArray(array, a_size, copy);
1084 size_ = a_size;
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1090 void Init(const Element* array, size_t a_size, RelationToSource relation) {
1094 Element* const copy = new Element[a_size];
1095 CopyArray(array, a_size, copy);
1098 size_ = a_size;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1099 void Init(const Element* array, size_t a_size, RelationToSource relation) {
1103 Element* const copy = new Element[a_size];
1104 CopyArray(array, a_size, copy);
1107 size_ = a_size;
/external/tensorflow/tensorflow/compiler/xla/service/
Dtriangular_solve_expander.cc373 int64 a_size = a_shape.dimensions(i); in BuildTriangularSolve() local
375 if (a_size != b_size) { in BuildTriangularSolve()
381 batch_dimensions.push_back(a_size); in BuildTriangularSolve()
Dbuffer_assignment.cc960 const int64 a_size = assignment->buffer_size_(*a); in AssignBuffersForComputation() local
962 if (a_size != b_size) { in AssignBuffersForComputation()
963 return a_size > b_size; // use ">" for decreasing size. in AssignBuffersForComputation()
/external/python/cpython3/Lib/test/
Dtest_pydoc.py657 def a_size(self): member in PydocDocTest.test_method_aliases.A
663 b_size = A.a_size
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h398 static inline bool StringLessThan(const char *a_data, uoffset_t a_size,
400 const auto cmp = memcmp(a_data, b_data, (std::min)(a_size, b_size));
401 return cmp == 0 ? a_size < b_size : cmp < 0;
/external/grpc-grpc/src/core/lib/iomgr/
Dev_epollex_linux.cc1549 const size_t a_size = a->fd_count + a->pollset_count; local
1551 if (b_size > a_size) {
/external/epid-sdk/ext/gtest/
Dgtest.h8823 void InitCopy(const Element* array, size_t a_size) {
8824 Element* const copy = new Element[a_size];
8825 CopyArray(array, a_size, copy);
8827 size_ = a_size;
8832 void InitRef(const Element* array, size_t a_size) {
8834 size_ = a_size;