/external/libnetfilter_conntrack/src/conntrack/ |
stack.c | 18 int num_elems; member in struct:stack 51 if (s->num_elems >= s->max_elems) { 55 memcpy(s->data + (s->elem_size * s->num_elems), data, s->elem_size); 56 s->num_elems++; 62 if (s->num_elems <= 0) { 66 s->num_elems--; 67 memcpy(data, s->data + (s->elem_size * s->num_elems), s->elem_size);
|
/external/pdfium/core/fxcrt/ |
fx_memory.cpp | 33 void* FXMEM_DefaultCalloc(size_t num_elems, size_t byte_size) { 34 return FX_SafeAlloc(num_elems, byte_size);
|
fx_memory.h | 18 void* FXMEM_DefaultCalloc(size_t num_elems, size_t byte_size);
|
/external/tensorflow/tensorflow/core/kernels/ |
sparse_to_dense_op.cc | 59 const int64 num_elems = indices.dims() > 0 ? indices.dim_size(0) : 1; variable 78 (sparse_values.dims() == 1 && num_values == num_elems), 81 ", should be [] or [", num_elems, "]")); 96 TensorShape ix_shape({num_elems, num_dims}); 113 TensorShape({num_elems}), &sparse_values_b));
|
/external/boringssl/src/crypto/test/ |
malloc.cc | 57 extern void *__libc_calloc(size_t num_elems, size_t size); 123 void *calloc(size_t num_elems, size_t size) { 129 return __libc_calloc(num_elems, size);
|
/external/flatbuffers/include/flatbuffers/ |
minireflect.h | 98 return type_table->values[type_table->num_elems]; 121 type_table->num_elems); 122 if (i >= 0 && i < static_cast<int32_t>(type_table->num_elems)) { 215 type_table->num_elems); 217 static_cast<int32_t>(type_table->num_elems)) { 254 for (size_t i = 0; i < type_table->num_elems; i++) {
|
/external/mesa3d/src/compiler/nir/ |
nir_gather_info.c | 160 unsigned num_elems; local 164 num_elems = glsl_get_aoa_size(type); 168 num_elems = glsl_get_matrix_columns(type); 176 if (offset >= num_elems * elem_width * mat_cols) {
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_BarrierTakeMany.pbtxt | 19 A one-dimensional tensor of indices, with length num_elems.
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
tensor_coding_test.cc | 159 string MakeFloatTensorTestCase(int num_elems) { 160 std::vector<int8> v(num_elems); 161 for (int i = 0; i < num_elems; i++) {
|
/system/bt/bta/hl/ |
bta_hl_sdp.cc | 81 p_list->num_elems = list_cnt; 217 add_proto_list.num_elems = BTA_HL_NUM_ADD_PROTO_ELEMS; 290 sup_feature_list.num_elems = cnt; 292 sup_feature_list.num_elems, 406 add_proto_list.num_elems = BTA_HL_NUM_ADD_PROTO_ELEMS; 473 sup_feature_list.num_elems = cnt; 475 sup_feature_list.num_elems,
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.h | 63 unsigned num_elems,
|
lp_bld_pack.c | 268 unsigned num_elems, 274 assert(num_elems <= LP_MAX_VECTOR_LENGTH); 276 for (i = 0; i < num_elems / 2; ++i) 279 shuffle = LLVMConstVector(elems, num_elems / 2); [all...] |
/external/flatbuffers/java/com/google/flatbuffers/ |
FlatBufferBuilder.java | 377 * <li>Call {@link #addOffset(int)} `num_elems` number of times to set 408 * @param num_elems The number of elements in the array. 411 public void startVector(int elem_size, int num_elems, int alignment) { 413 vector_num_elems = num_elems; 414 prep(SIZEOF_INT, elem_size * num_elems); 415 prep(alignment, elem_size * num_elems); // Just in case alignment > int. 441 * @param num_elems number of elements in the vector. 445 public ByteBuffer createUnintializedVector(int elem_size, int num_elems, int alignment) { 446 int length = elem_size * num_elems; 447 startVector(elem_size, num_elems, alignment) [all...] |
/external/mesa3d/src/compiler/glsl/ |
ir_set_program_inouts.cpp | 283 unsigned num_elems; local 285 num_elems = type->length; 291 num_elems = type->matrix_columns; 295 if (index_as_constant->value.u[0] >= num_elems) {
|
/external/v8/src/runtime/ |
runtime-regexp.cc | [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
hash_map.hpp | 210 static std::size_t hash_size(std::size_t num_elems) 224 if (num_elems < sizes[i])
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
graph_memory.cc | 114 int num_elems = TensorShape(shape).num_elements(); local 115 neighbors_memory_usage += num_elems * size;
|
/bionic/libc/kernel/uapi/sound/ |
asoc.h | 137 __le32 num_elems; member in struct:snd_soc_tplg_vendor_array
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
dd_context.c | 260 unsigned num_elems, 268 hstate->cso = pipe->create_vertex_elements_state(pipe, num_elems, elems); 269 memcpy(hstate->state.velems.velems, elems, sizeof(elems[0]) * num_elems); 270 hstate->state.velems.count = num_elems;
|
/hardware/ril/reference-ril/ |
atchannel.c | 39 #define NUM_ELEMS(x) (sizeof(x)/sizeof((x)[0])) 154 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesError) ; i++) { 176 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesSuccess) ; i++) { 209 for (i = 0 ; i < NUM_ELEMS(s_smsUnsoliciteds) ; i++) {
|
/system/bt/btif/include/ |
btif_hl.h | 143 uint8_t num_elems; member in struct:__anon1722
|
/external/flatbuffers/js/ |
flatbuffers.js | 710 * @param {number} num_elems The number of elements in the array 713 flatbuffers.Builder.prototype.startVector = function(elem_size, num_elems, alignment) { 715 this.vector_num_elems = num_elems; 716 this.prep(flatbuffers.SIZEOF_INT, elem_size * num_elems); 717 this.prep(alignment, elem_size * num_elems); // Just in case alignment > int.
|
/external/flatbuffers/php/ |
FlatbufferBuilder.php | 573 * @param $num_elems 577 public function startVector($elem_size, $num_elems, $alignment) 580 $this->vector_num_elems = $num_elems; 581 $this->prep(Constants::SIZEOF_INT, $elem_size * $num_elems); 582 $this->prep($alignment, $elem_size * $num_elems); // Just in case alignemnt > int;
|
/hardware/ril/libril/ |
ril.cpp | 77 #define NUM_ELEMS(a) (sizeof (a) / sizeof (a)[0]) 452 for (int i = 0; i < (int)NUM_ELEMS(s_commands); i++) { 456 for (int i = 0; i < (int)NUM_ELEMS(s_unsolResponses); i++) { 751 || (unsolResponseIndex >= (int32_t)NUM_ELEMS(s_unsolResponses))) { [all...] |
/system/bt/stack/avrc/ |
avrc_sdp.cc | 240 avrc_add_proto_desc_list.num_elems = 2;
|