Home
last modified time | relevance | path

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

/external/rust/crates/rayon/src/slice/
Dchunks.rs77 let elem_index = cmp::min(index * self.chunk_size, self.slice.len()); in split_at() localVariable
78 let (left, right) = self.slice.split_at(elem_index); in split_at()
178 let elem_index = index * self.chunk_size; in split_at() localVariable
179 let (left, right) = self.slice.split_at(elem_index); in split_at()
258 let elem_index = cmp::min(index * self.chunk_size, self.slice.len()); in split_at() localVariable
259 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
376 let elem_index = index * self.chunk_size; in split_at() localVariable
377 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
Drchunks.rs76 let elem_index = self.slice.len().saturating_sub(index * self.chunk_size); in split_at() localVariable
77 let (left, right) = self.slice.split_at(elem_index); in split_at()
176 let elem_index = self.slice.len() - index * self.chunk_size; in split_at() localVariable
177 let (left, right) = self.slice.split_at(elem_index); in split_at()
256 let elem_index = self.slice.len().saturating_sub(index * self.chunk_size); in split_at() localVariable
257 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
373 let elem_index = self.slice.len() - index * self.chunk_size; in split_at() localVariable
374 let (left, right) = self.slice.split_at_mut(elem_index); in split_at()
/external/rust/crates/rayon/src/iter/
Dstep_by.rs119 let elem_index = min(index * self.step, self.len); in split_at() localVariable
121 let (left, right) = self.base.split_at(elem_index); in split_at()
126 len: elem_index, in split_at()
131 len: self.len - elem_index, in split_at()
Dchunks.rs136 let elem_index = min(index * self.chunk_size, self.len); in split_at() localVariable
137 let (left, right) = self.base.split_at(elem_index); in split_at()
141 len: elem_index, in split_at()
147 len: self.len - 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/python/flatbuffers/
Dflexbuffers.py901 def ElemWidth(self, buf_size, elem_index=0): argument
906 elem_index * byte_width
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1470 BitWidth ElemWidth(size_t buf_size, size_t elem_index) const { in ElemWidth()
1485 elem_index * byte_width; in ElemWidth()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c7044 u8 elem_index = 0, *rnr_start_eid = rnr_eid; in hostapd_eid_mbssid() local
7066 if (elem_index == elem_count) { in hostapd_eid_mbssid()
7072 elem_offset[elem_index] = eid; in hostapd_eid_mbssid()
7073 elem_index = elem_index + 1; in hostapd_eid_mbssid()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc2552 IrArray::Index elem_index = in MakeElementGenerator() local
2561 llvm::Value* elem_index_linear = elem_index.linear(); in MakeElementGenerator()
2565 elem_index_linear = elem_index.Linearize(iota_bound, b_); in MakeElementGenerator()