Home
last modified time | relevance | path

Searched refs:new_root (Results 1 – 25 of 37) sorted by relevance

12

/external/antlr/runtime/Ruby/lib/antlr3/tree/
Ddebug.rb84 def become_root( new_root, old_root ) argument
85 case new_root
87 n = create_with_payload( new_root )
90 n = super( new_root, old_root )
92 @debug_listener.become_root( new_root, old_root )
/external/antlr/runtime/Ruby/lib/antlr3/
Dtree.rb840 def become_root( new_root, old_root ) argument
841 new_root = create( new_root ) if new_root.is_a?( Token )
842 old_root or return( new_root )
844 new_root = create_with_payload( new_root ) unless CommonTree === new_root
845 if new_root.flat_list?
846 count = new_root.child_count
848 new_root = new_root.child( 0 )
854 new_root.add_child( old_root )
855 return new_root
Ddebug.rb654 def become_root( new_root, old_root ) argument
/external/antlr/runtime/Ruby/test/unit/
Dtest-trees.rb569 new_root = new_node( new_token 5 )
576 @adaptor.become_root(new_root, old_root)
577 new_root.sanity_check
581 new_root = new_node( new_token 5 )
587 @adaptor.become_root(new_root, old_root)
588 new_root.sanity_check
592 new_root = new_node nil
593 new_root.add_child( new_node( new_token 5 ) )
600 @adaptor.become_root(new_root, old_root)
601 new_root.sanity_check
[all …]
/external/mesa3d/src/util/
Dsparse_array.c143 uintptr_t new_root = _util_sparse_array_node_alloc(arr, root_level); in util_sparse_array_get() local
145 NULL_NODE, new_root); in util_sparse_array_get()
157 uintptr_t new_root = _util_sparse_array_node_alloc(arr, root_level + 1); in util_sparse_array_get() local
159 uintptr_t *new_root_children = _util_sparse_array_node_data(new_root); in util_sparse_array_get()
168 root = _util_sparse_array_set_or_free_node(&arr->root, root, new_root); in util_sparse_array_get()
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_with_v1_optimizers_test.py523 new_root = trackable_utils.Checkpoint()
526 slot_status = new_root.restore(slots_path)
527 no_slot_status = new_root.restore(no_slots_path)
530 new_root.var = trackable_utils.add_variable(
531 new_root, name="var", shape=[])
534 self.assertEqual(12., self.evaluate(new_root.var))
535 new_root.optimizer = adam.AdamOptimizer(0.1)
539 self.assertEqual(12., self.evaluate(new_root.var))
544 new_root.optimizer.get_slot(name="m", var=new_root.var)))
546 self.assertIs(new_root.optimizer.get_slot(name="m", var=new_root.var),
[all …]
Dutil_test.py914 new_root = trackable_utils.Checkpoint()
917 slot_status = new_root.restore(slots_path)
918 no_slot_status = new_root.restore(no_slots_path)
921 new_root.var = trackable_utils.add_variable(
922 new_root, name="var", shape=[])
925 self.assertEqual(12., self.evaluate(new_root.var))
926 new_root.optimizer = adam.Adam(0.1)
931 self.assertEqual(12., self.evaluate(new_root.var))
936 new_root.optimizer.get_slot(slot_name="m", var=new_root.var)))
940 new_root.optimizer.get_slot(slot_name="m", var=new_root.var)
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_task_assignment.cc230 auto* new_root = call->to_apply()->root_instruction(); in AssignParallelTasksHelper() local
231 new_root->set_outer_dimension_partitions(dim_partition_counts); in AssignParallelTasksHelper()
234 << " to instruction: " << new_root->name() in AssignParallelTasksHelper()
235 << " parent: " << new_root->parent()->name(); in AssignParallelTasksHelper()
/external/python/cpython2/Lib/distutils/
Dutil.py138 def change_root (new_root, pathname): argument
146 return os.path.join(new_root, pathname)
148 return os.path.join(new_root, pathname[1:])
154 return os.path.join(new_root, path)
160 return os.path.join(new_root, path)
/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_inliner.cc78 TF_ASSIGN_OR_RETURN(HloInstruction * new_root, Resolve(root)); in FinishVisit()
80 << " with new root " << new_root->ToString(); in FinishVisit()
82 return outer_->ReplaceInstruction(call_, new_root); in FinishVisit()
Dhlo_schedule_test.cc150 HloInstruction* new_root = entry->AddInstruction( in TEST_F() local
153 entry->set_root_instruction(new_root); in TEST_F()
193 HloInstruction* new_root = entry->AddInstruction(HloInstruction::CreateUnary( in TEST_F() local
195 entry->set_root_instruction(new_root); in TEST_F()
Dstable_sort_expander.cc190 HloInstruction* new_root = in ExpandInstruction() local
194 comparator->set_root_instruction(new_root); in ExpandInstruction()
Ddynamic_padder.cc691 auto new_root = sort_comp->AddInstruction(HloInstruction::CreateBinary( in RewriteDynamicSort() local
694 sort_comp->set_root_instruction(new_root); in RewriteDynamicSort()
885 auto new_root = module->entry_computation()->AddInstruction( in InsertSliceToDynamicBeforeModuleOutputs() local
887 module->entry_computation()->set_root_instruction(new_root); in InsertSliceToDynamicBeforeModuleOutputs()
/external/antlr/runtime/Ruby/lib/antlr3/debug/
Dtrace-event-listener.rb76 def become_root( new_root, old_root ) argument
77 record '(%s): old_root_id=%s new_root_id=%s', __method__, @adaptor.unique_id( new_root ),
Devent-hub.rb39 def become_root( new_root, old_root ) argument
41 listener.become_root( new_root, old_root )
Dsocket.rb215 def become_root( new_root, old_root ) argument
216 transmit "%s\t%i\t%i", :become_root, adaptor.unique_id( new_root ),
/external/ltp/testcases/kernel/security/tomoyo/
Dinclude.h74 static inline int pivot_root(const char *new_root, const char *put_old) in pivot_root() argument
76 return syscall(__NR_pivot_root, new_root, put_old); in pivot_root()
79 static inline int pivot_root(const char *new_root, const char *put_old) in pivot_root() argument
/external/python/cpython3/Lib/distutils/
Dutil.py136 def change_root (new_root, pathname): argument
144 return os.path.join(new_root, pathname)
146 return os.path.join(new_root, pathname[1:])
152 return os.path.join(new_root, path)
/external/u-boot/fs/btrfs/
Dinode.c50 struct btrfs_root *new_root) in btrfs_lookup_inode() argument
76 if (new_root) in btrfs_lookup_inode()
77 *new_root = tmp_root; in btrfs_lookup_inode()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dwebview_app.py125 def _RebasePath(new_root, old_root): argument
127 return os.path.join(new_root, os.path.relpath(old_root, '/'))
/external/python/cpython3/Python/
Dhamt.c2312 PyHamtNode *new_root; in _PyHamt_Assoc() local
2320 new_root = hamt_node_assoc( in _PyHamt_Assoc()
2323 if (new_root == NULL) { in _PyHamt_Assoc()
2327 if (new_root == o->h_root) { in _PyHamt_Assoc()
2328 Py_DECREF(new_root); in _PyHamt_Assoc()
2335 Py_DECREF(new_root); in _PyHamt_Assoc()
2339 new_o->h_root = new_root; /* borrow */ in _PyHamt_Assoc()
2353 PyHamtNode *new_root = NULL; in _PyHamt_Without() local
2358 &new_root); in _PyHamt_Without()
2369 assert(new_root != NULL); in _PyHamt_Without()
[all …]
/external/python/setuptools/
Dpavement.py18 def rewrite_packaging(pkg_files, new_root): argument
/external/vboot_reference/scripts/image_signing/
Dmake_dev_ssd.sh63 local new_root="PARTUUID=%U/PARTNROFF=1"
65 s| root=/dev/dm-[0-9] | root='"$new_root"' |
/external/freetype/src/psaux/
Dcffdecode.c1757 FT_Fixed new_root; in cff_decoder_parse_charstrings() local
1762 new_root = ( root + FT_DivFix( args[0], root ) + 1 ) >> 1; in cff_decoder_parse_charstrings()
1763 if ( new_root == root ) in cff_decoder_parse_charstrings()
1765 root = new_root; in cff_decoder_parse_charstrings()
1767 args[0] = new_root; in cff_decoder_parse_charstrings()
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.h66 Member** new_root, Member** old_root, bool dry_run);

12