Searched refs:from_idx (Results 1 – 5 of 5) sorted by relevance
35 def move_to(self, from_idx, to_idx): argument37 if from_idx > to_idx:38 for _ in range(from_idx, to_idx, -1):41 elif from_idx < to_idx:42 for _ in range(from_idx, to_idx, 1):
124 __s8 from_idx; member131 __s8 from_idx; member
266 uptr from_idx = nodeToIndex(from_node); in findEdge() local269 if (edges_[i].from == from_idx && edges_[i].to == to_idx) { in findEdge()
332 int from_idx = pair.first; in AddTensorMapping() local334 if (from_idx != to_idx) { in AddTensorMapping()335 SafeTensorId from_tensor(func_node, from_idx); in AddTensorMapping()
2357 + /// The index can be used with `X509PurposeRef::from_idx()` to get the purpose.2375 + pub fn from_idx(idx: c_int) -> Result<&'static X509PurposeRef, ErrorStack> {