Searched refs:curr_pos (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/asmjs/ |
D | switch-logic.cc | 46 size_t curr_pos = 0; in OrderCases() local 49 if (break_pos - curr_pos >= min_size) { in OrderCases() 50 int begin = cases->at(curr_pos); in OrderCases() 53 curr_pos = break_pos; in OrderCases() 55 for (; curr_pos < break_pos; curr_pos++) { in OrderCases() 57 CaseNode(cases->at(curr_pos), cases->at(curr_pos))); in OrderCases()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | record_reader.cc | 166 int64 curr_pos = input_stream_->Tell(); in ReadRecord() local 168 if (curr_pos > desired_pos || curr_pos < 0 /* EOF */ || in ReadRecord() 169 (curr_pos == desired_pos && last_read_failed_)) { in ReadRecord() 173 } else if (curr_pos < desired_pos) { in ReadRecord() 174 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos - curr_pos)); in ReadRecord()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | model_pruner.cc | 348 int curr_pos = 0; in RewriteIdentityNAndInputsOutputs() local 354 mutable_inputs->SwapElements(i, curr_pos); in RewriteIdentityNAndInputsOutputs() 355 mutable_types->SwapElements(i, curr_pos); in RewriteIdentityNAndInputsOutputs() 356 curr_pos++; in RewriteIdentityNAndInputsOutputs() 359 mutable_types->Truncate(curr_pos); in RewriteIdentityNAndInputsOutputs() 362 mutable_inputs->SwapElements(i, curr_pos++); in RewriteIdentityNAndInputsOutputs() 364 mutable_inputs->DeleteSubrange(curr_pos, num_inputs - curr_pos); in RewriteIdentityNAndInputsOutputs()
|
/external/stressapptest/src/ |
D | disk_blocks.cc | 106 int curr_pos = it->second->pos; in RemoveBlock() local 114 pos_to_addr_[curr_pos] = pos_to_addr_[last_pos]; in RemoveBlock() 115 last_it->second->pos = curr_pos; in RemoveBlock()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 709 int curr_pos = 0; in WriteRootMessage() local 725 size_insert_.front().pos - curr_pos < num_bytes) { in WriteRootMessage() 726 num_bytes = size_insert_.front().pos - curr_pos; in WriteRootMessage() 732 curr_pos += num_bytes; in WriteRootMessage() 737 if (!size_insert_.empty() && curr_pos == size_insert_.front().pos) { in WriteRootMessage()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | mutable_graph_view.cc | 1062 int curr_pos = 0; in RemoveRegularFaninInternal() local 1073 fanouts_set->insert({node, curr_pos}); in RemoveRegularFaninInternal() 1075 mutable_inputs->SwapElements(i, curr_pos); in RemoveRegularFaninInternal() 1076 ++curr_pos; in RemoveRegularFaninInternal() 1079 ++curr_pos; in RemoveRegularFaninInternal() 1084 const int last_regular_input_port = curr_pos - 1; in RemoveRegularFaninInternal() 1090 if (curr_pos < i) { in RemoveRegularFaninInternal() 1092 mutable_inputs->DeleteSubrange(curr_pos, i - curr_pos); in RemoveRegularFaninInternal()
|
/external/python/cpython3/Lib/ |
D | zipfile.py | 1021 curr_pos = self.tell() 1025 new_pos = curr_pos + offset 1038 read_offset = new_pos - curr_pos
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_widgets.py | 667 curr_pos = self.paned.sashpos(0) 669 self.assertNotEqual(curr_pos, self.paned.sashpos(0))
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 671 curr_pos = self.paned.sashpos(0) 673 self.assertNotEqual(curr_pos, self.paned.sashpos(0))
|