Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/lite/micro/memory_planner/
Dgreedy_memory_planner_test.cc48 constexpr int b_size = 10; in TF_LITE_MICRO_TEST() local
49 int b_values[b_size] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TF_LITE_MICRO_TEST()
50 int b_ids[b_size] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TF_LITE_MICRO_TEST()
51 const int b_expected_values[b_size] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; in TF_LITE_MICRO_TEST()
52 const int b_expected_ids[b_size] = {9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in TF_LITE_MICRO_TEST()
53 tflite::ReverseSortInPlace(b_values, b_ids, b_size); in TF_LITE_MICRO_TEST()
54 for (int i = 0; i < b_size; ++i) { in TF_LITE_MICRO_TEST()
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_da_write_pages/
Dformat12 field:__u32 b_size; offset:24; size:4; signed:0;
19b_size %u b_state 0x%04x first_page %lu io_done %d pages_written %d sync_mode %d", ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_da_write_pages/
Dformat12 field:__u32 b_size; offset:32; size:4; signed:0;
19b_size %u b_state 0x%04x first_page %lu io_done %d pages_written %d sync_mode %d", ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_da_write_pages/
Dformat13 field:__u32 b_size; offset:32; size:4; signed:0;
20b_size %u b_state 0x%04x first_page %lu io_done %d pages_written %d sync_mode %d", ((unsigned int)…
/external/python/cpython2/Objects/
Dbufferobject.c11 Py_ssize_t b_size; member
32 *size = self->b_size; in get_buf()
87 if (self->b_size == Py_END_OF_BUFFER) in get_buf()
90 *size = self->b_size; in get_buf()
122 b->b_size = size; in buffer_from_memory()
141 if (b->b_size != Py_END_OF_BUFFER) { in buffer_from_object()
142 Py_ssize_t base_size = b->b_size - offset; in buffer_from_object()
222 b->b_size = size; in PyBuffer_New()
295 self->b_size, in buffer_repr()
302 self->b_size, in buffer_repr()
Dlongobject.c3095 Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits; in long_true_divide() local
3191 b_size = ABS(Py_SIZE(b)); in long_true_divide()
3193 if (b_size == 0) { in long_true_divide()
3208 b_is_small = b_size <= MANT_DIG_DIGITS || in long_true_divide()
3209 (b_size == MANT_DIG_DIGITS+1 && in long_true_divide()
3216 db = b->ob_digit[--b_size]; in long_true_divide()
3217 while (b_size > 0) in long_true_divide()
3218 db = db * PyLong_BASE + b->ob_digit[--b_size]; in long_true_divide()
3224 diff = a_size - b_size; in long_true_divide()
3233 bits_in_digit(b->ob_digit[b_size - 1]); in long_true_divide()
[all …]
/external/tensorflow/tensorflow/lite/
Dutil.cc53 bool EqualArrayAndTfLiteIntArray(const TfLiteIntArray* a, const int b_size, in EqualArrayAndTfLiteIntArray() argument
56 if (a->size != b_size) return false; in EqualArrayAndTfLiteIntArray()
Dutil.h51 bool EqualArrayAndTfLiteIntArray(const TfLiteIntArray* a, const int b_size,
/external/tensorflow/tensorflow/lite/c/
Dcommon.c33 int TfLiteIntArrayEqualsArray(const TfLiteIntArray* a, int b_size, in TfLiteIntArrayEqualsArray() argument
35 if (a == NULL) return (b_size == 0); in TfLiteIntArrayEqualsArray()
36 if (a->size != b_size) return 0; in TfLiteIntArrayEqualsArray()
/external/libvpx/libvpx/test/
Dpredict_test.cc112 const int b_size = (b_stride * b_height) + b_width; in CheckBorder() local
113 const uint8_t *b_end = b + b_size; in CheckBorder()
144 for (int pixel = static_cast<int>(b - a + b_size); pixel < a_size; in CheckBorder()
/external/mesa3d/src/compiler/nir/
Dnir_opt_large_constants.c51 uint32_t b_size = b->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()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c439 if ((size_t)self->b_size > sizeof(void*)) { in StructUnionType_paramfunc()
440 ptr = PyMem_Malloc(self->b_size); in StructUnionType_paramfunc()
444 memcpy(ptr, self->b_ptr, self->b_size); in StructUnionType_paramfunc()
474 parg->size = self->b_size; in StructUnionType_paramfunc()
1278 if (size > self->b_size) { in CharArray_set_raw()
1296 return PyBytes_FromStringAndSize(self->b_ptr, self->b_size); in CharArray_get_raw()
1304 for (i = 0; i < self->b_size; ++i) in CharArray_get_value()
1330 if (size > self->b_size) { in CharArray_set_value()
1339 if (size < self->b_size) in CharArray_set_value()
1360 for (i = 0; i < self->b_size/(Py_ssize_t)sizeof(wchar_t); ++i) in WCharArray_get_value()
[all …]
Dctypes.h49 Py_ssize_t b_size; /* size of memory block in bytes */ member
79 Py_ssize_t b_size; /* size of memory block in bytes */ member
Dcallproc.c1549 return PyLong_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func()
1708 obj->b_size = size; in resize()
1718 memmove(ptr, obj->b_ptr, obj->b_size); in resize()
1720 obj->b_size = size; in resize()
1726 obj->b_size = size; in resize()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c464 parg->size = self->b_size; in StructUnionType_paramfunc()
1234 if (size > self->b_size) { in CharArray_set_raw()
1257 return PyString_FromStringAndSize(self->b_ptr, self->b_size); in CharArray_get_raw()
1265 for (i = 0; i < self->b_size; ++i) in CharArray_get_value()
1297 if (size > self->b_size) { in CharArray_set_value()
1306 if (size < self->b_size) in CharArray_set_value()
1327 for (i = 0; i < self->b_size/(Py_ssize_t)sizeof(wchar_t); ++i) in WCharArray_get_value()
1356 if ((size_t)PyUnicode_GET_SIZE(value) > self->b_size/sizeof(wchar_t)) { in WCharArray_set_value()
1364 self->b_size/sizeof(wchar_t)); in WCharArray_set_value()
1365 if (result >= 0 && (size_t)result < self->b_size/sizeof(wchar_t)) in WCharArray_set_value()
[all …]
Dctypes.h89 Py_ssize_t b_size; /* size of memory block in bytes */ member
119 Py_ssize_t b_size; /* size of memory block in bytes */ member
Dcallproc.c1359 if (!CDataObject_Check(pcom) || (pcom->b_size != sizeof(void *))) { in call_commethod()
1560 return PyInt_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func()
1769 obj->b_size = size; in resize()
1779 memmove(ptr, obj->b_ptr, obj->b_size); in resize()
1781 obj->b_size = size; in resize()
1787 obj->b_size = size; in resize()
/external/vixl/src/
Dpool-manager-impl.h354 int b_size = b.label_base_->GetPoolObjectSizeInBytes(); in PoolObjectLessThan() local
355 if (a_size != b_size) return (a_size < b_size); in PoolObjectLessThan()
/external/libnetfilter_conntrack/src/conntrack/
Dbuild.c443 unsigned int b_size = b->words * sizeof(b->bits[0]); in __build_labels() local
449 b_size); in __build_labels()
453 if (b_size == (b->words * sizeof(b->bits[0]))) in __build_labels()
458 b_size); in __build_labels()
/external/tensorflow/tensorflow/core/framework/
Dkernel_def_util.cc54 if (constraint.allowed_values().list().b_size() > 0) { in KernelAttrsMatch()
/external/curl/lib/
Dftplistparser.c369 parser->file_data->info.b_size = FTP_BUFFER_ALLOCSIZE; in Curl_ftp_parselist()
378 if(finfo->b_used >= finfo->b_size - 1) { in Curl_ftp_parselist()
381 finfo->b_size + FTP_BUFFER_ALLOCSIZE); in Curl_ftp_parselist()
383 finfo->b_size += FTP_BUFFER_ALLOCSIZE; in Curl_ftp_parselist()
/external/e2fsprogs/e2fsck/
Djfs_user.h49 int b_size; member
Drecovery.c384 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums()
396 obh->b_size); in calc_chksums()
/external/e2fsprogs/debugfs/
Drecovery.c384 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums()
396 obh->b_size); in calc_chksums()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtriangular_solve_expander.cc391 int64 b_size = b_shape.dimensions(i); in BuildTriangularSolve() local
392 if (a_size != b_size) { in BuildTriangularSolve()

1234