Home
last modified time | relevance | path

Searched refs:elem_index (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/rayon/src/iter/
Dstep_by.rs120 let elem_index = min(index * self.step, self.len); in split_at() localVariable
122 let (left, right) = self.base.split_at(elem_index); in split_at()
127 len: elem_index, in split_at()
132 len: self.len - elem_index, in split_at()
Dchunks.rs128 let elem_index = min(index * self.chunk_size, self.len); in split_at() localVariable
129 let (left, right) = self.base.split_at(elem_index); in split_at()
133 len: elem_index, in split_at()
138 len: self.len - elem_index, in split_at()
/external/rust/crates/rayon/src/slice/
Dmod.rs630 let elem_index = cmp::min(index * self.chunk_size, self.slice.len()); in split_at() localVariable
631 let (left, right) = self.slice.split_at(elem_index); in split_at()
720 let elem_index = index * self.chunk_size; in split_at() localVariable
721 let (left, right) = self.slice.split_at(elem_index); in split_at()
938 let elem_index = cmp::min(index * self.chunk_size, self.slice.len()); in split_at() localVariable
939 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
1045 let elem_index = index * self.chunk_size; in split_at() localVariable
1046 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc316 static void emit_indexed(grpc_chttp2_hpack_compressor* c, uint32_t elem_index, in emit_indexed() argument
319 uint32_t len = GRPC_CHTTP2_VARINT_LENGTH(elem_index, 1); in emit_indexed()
320 GRPC_CHTTP2_WRITE_VARINT(elem_index, 1, 0x80, add_tiny_header_data(st, len), in emit_indexed()
451 static uint32_t dynidx(grpc_chttp2_hpack_compressor* c, uint32_t elem_index) { in dynidx() argument
453 c->table_elems - elem_index; in dynidx()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c619 unsigned elem_index[VB_NUM][PIPE_MAX_ATTRIBS]; /* ... into key.elements */ in u_vbuf_translate_begin() local
637 memset(elem_index, ~0, sizeof(elem_index)); in u_vbuf_translate_begin()
701 elem_index[type][i] = k->nr_elements; in u_vbuf_translate_begin()
737 if (elem_index[type][i] < key[type].nr_elements) { in u_vbuf_translate_begin()
738 struct translate_element *te = &key[type].element[elem_index[type][i]]; in u_vbuf_translate_begin()
745 assert(type > VB_INSTANCE || elem_index[type+1][i] == ~0u); in u_vbuf_translate_begin()
746 assert(type > VB_VERTEX || elem_index[type+2][i] == ~0u); in u_vbuf_translate_begin()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc468 uint32_t elem_index, framer_state* st) { in emit_indexed() argument
470 uint32_t len = GRPC_CHTTP2_VARINT_LENGTH(elem_index, 1); in emit_indexed()
471 GRPC_CHTTP2_WRITE_VARINT(elem_index, 1, 0x80, add_tiny_header_data(st, len), in emit_indexed()
626 static uint32_t dynidx(grpc_chttp2_hpack_compressor* c, uint32_t elem_index) { in dynidx() argument
628 c->table_elems - elem_index; in dynidx()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1427 BitWidth ElemWidth(size_t buf_size, size_t elem_index) const { in ElemWidth()
1442 elem_index * byte_width; in ElemWidth()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc2357 IrArray::Index elem_index = in MakeElementGenerator() local
2366 llvm::Value* elem_index_linear = elem_index.linear(); in MakeElementGenerator()
2370 elem_index_linear = elem_index.Linearize(iota_bound, b_); in MakeElementGenerator()