/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FileList.py | 11 def __init__(self, root): 12 self.root = root 25 master=self.root) 63 self.root.quit() 88 master=self.root) 111 root = Tk() 112 fixwordbreaks(root) 113 root.withdraw() 114 flist = FileList(root) [all...] |
textView.py | 83 root=Tk() variable 84 root.title('textView test') 87 btn1 = Button(root, text='view_text', 88 command=lambda:view_text(root, 'view_text', text)) 90 btn2 = Button(root, text='view_file', 91 command=lambda:view_file(root, 'view_file', filename)) 93 btn3 = Button(root, text='nonmodal view_text', 94 command=lambda:view_text(root, 'nonmodal view_text', text, 97 close = Button(root, text='Close', command=root.destroy [all...] |
/external/e2fsprogs/lib/ext2fs/ |
namei.c | 24 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, 28 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, 39 printf("follow_link: root=%lu, dir=%lu, inode=%lu, lc=%d\n", 40 root, dir, inode, link_count); 69 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, 78 * directory and the root directory, and returns the inode of the 82 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, 95 dir = root; 110 retval = follow_link (fs, root, dir, inode, 120 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base [all...] |
rbtree.c | 25 static void __rb_rotate_left(struct rb_node *node, struct rb_root *root) 44 root->rb_node = right; 48 static void __rb_rotate_right(struct rb_node *node, struct rb_root *root) 67 root->rb_node = left; 71 void ext2fs_rb_insert_color(struct rb_node *node, struct rb_root *root) 96 __rb_rotate_left(parent, root); 104 __rb_rotate_right(gparent, root); 121 __rb_rotate_right(parent, root); 129 __rb_rotate_left(gparent, root); 133 ext2fs_rb_set_black(root->rb_node) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
BinaryTreeTraverserBenchmark.java | 62 Optional<BinaryNode> root = Optional.absent(); local 64 root = Optional.of(new BinaryNode(rng.nextInt(), root, Optional.<BinaryNode>absent())); 66 return root; 72 Optional<BinaryNode> root = Optional.absent(); local 74 root = Optional.of(new BinaryNode(rng.nextInt(), Optional.<BinaryNode>absent(), root)); 76 return root; 129 public Iterable<BinaryNode> children(BinaryNode root) { 130 return BINARY_VIEWER.children(root); [all...] |
/external/iputils/ |
iputils.spec | 14 BuildRoot: %{_tmppath}/%{name}-root 72 %attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/clockdiff 73 #%attr(4755,root,root) %{_sbindir}/clockdiff 74 %attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/arping 75 #%attr(4755,root,root) %{_sbindir}/arping 76 %attr(0755,root,root) %caps(cap_net_raw=ep cap_net_admin=ep) %{_bindir}/pin [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_list.c | 60 test_ast_node->parent = test_db->ast->root; 70 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; 88 test_ast_node->parent = test_db->ast->root; 98 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; 105 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next; 124 test_ast_node->parent = test_db->ast->root; 134 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; 140 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next; 146 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next->next; 166 test_ast_node->parent = test_db->ast->root; [all...] |
/external/zlib/src/examples/ |
enough.c | 12 As inflate does, decrease root for short codes 13 Refuse cases where inflate would increase root 14 1.3 17 Feb 2008 Add argument for initial root table size 15 Fix bug for initial root table size == max - 1 44 speed. There is a single first-level table to decode codes up to root bits 45 in length (root == 9 in the current inflate implementation). The table 46 has 1 << root entries and is indexed by the next root bits of input. Codes 47 shorter than root bits have replicated table entries, so that the correct 49 the code is longer than root bits, then the table entry points to a second 171 local int root; \/* size of base code table in bits *\/ variable [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
sunos.c | 572 struct aout_link_hash_entry root; 612 struct aout_link_hash_table root; 684 if (!NAME (aout, link_hash_table_init) (&ret->root, abfd, 692 return &ret->root.root; 699 aout_link_hash_lookup (&(table)->root, (string), (create), (copy),\ 706 (&(table)->root, \ 571 struct aout_link_hash_entry root; member in struct:sunos_link_hash_entry 611 struct aout_link_hash_table root; member in struct:sunos_link_hash_table [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_minidom.py | 69 root = dom.documentElement 70 elem = root.childNodes[0] 72 root.insertBefore(nelem, elem) 73 self.confirm(len(root.childNodes) == 2 74 and root.childNodes.length == 2 75 and root.childNodes[0] is nelem 76 and root.childNodes.item(0) is nelem 77 and root.childNodes[1] is elem 78 and root.childNodes.item(1) is elem 79 and root.firstChild is nele [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_minidom.py | 69 root = dom.documentElement 70 elem = root.childNodes[0] 72 root.insertBefore(nelem, elem) 73 self.confirm(len(root.childNodes) == 2 74 and root.childNodes.length == 2 75 and root.childNodes[0] is nelem 76 and root.childNodes.item(0) is nelem 77 and root.childNodes[1] is elem 78 and root.childNodes.item(1) is elem 79 and root.firstChild is nele [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_minidom.py | 69 root = dom.documentElement 70 elem = root.childNodes[0] 72 root.insertBefore(nelem, elem) 73 self.confirm(len(root.childNodes) == 2 74 and root.childNodes.length == 2 75 and root.childNodes[0] is nelem 76 and root.childNodes.item(0) is nelem 77 and root.childNodes[1] is elem 78 and root.childNodes.item(1) is elem 79 and root.firstChild is nele [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_minidom.py | 69 root = dom.documentElement 70 elem = root.childNodes[0] 72 root.insertBefore(nelem, elem) 73 self.confirm(len(root.childNodes) == 2 74 and root.childNodes.length == 2 75 and root.childNodes[0] is nelem 76 and root.childNodes.item(0) is nelem 77 and root.childNodes[1] is elem 78 and root.childNodes.item(1) is elem 79 and root.firstChild is nele [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/ |
sfobjs.c | 130 FT_Memory memory = face->root.memory; 386 /* Replace `face->root.stream' with a stream containing the extracted */ 434 FT_ASSERT( stream == face->root.stream ); 704 face->root.stream, 705 ( face->root.face_flags & FT_FACE_FLAG_EXTERNAL_STREAM ) != 0 ); 707 face->root.stream = sfnt_stream; 709 face->root.face_flags &= ~FT_FACE_FLAG_EXTERNAL_STREAM; 774 stream = face->root.stream; 849 FT_Library library = face->root.driver->root.library 1285 FT_Face root = &face->root; local [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 75 #define IS_INCREMENTAL (FT_Bool)( face->root.internal->incremental_interface != 0 ) 108 FT_Memory memory = face->root.memory; 304 FT_Memory memory = face->root.memory; 513 FT_Memory memory = face->root.memory; 597 memory = face->root.memory; 636 loader->parser.root.error = error; 671 FT_Byte* old_cursor = parser->root.cursor; 672 FT_Byte* old_limit = parser->root.limit; 688 parser->root.cursor = token->start; 689 parser->root.limit = token->limit 1120 FT_Face root = (FT_Face)&face->root; local [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 60 * Find the next view to take focus in root's descendants, starting from the view 62 * @param root Contains focused. Cannot be null. 67 public final View findNextFocus(ViewGroup root, View focused, int direction) { 68 return findNextFocus(root, focused, null, direction); 72 * Find the next view to take focus in root's descendants, searching from 73 * a particular rectangle in root's coordinates. 74 * @param root Contains focusedRect. Cannot be null. 79 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { 81 return findNextFocus(root, null, mFocusedRect, direction); 84 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
ParameterManagerWrapper.cpp | 139 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive) 141 ALOG_ASSERT(root != NULL, "error in parsing file"); 143 for (node = root->first_child; node != NULL; node = node->next) { 184 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root) 186 ALOG_ASSERT(root != NULL, "error in parsing file"); 187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); 194 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root) 196 ALOG_ASSERT(root != NULL, "error in parsing file"); 197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); 204 void ParameterManagerWrapper::parseChildren(cnode *root, string &defaultValue, string &type 310 cnode *root; local [all...] |
/external/android-clat/ |
config.c | 41 * root - parsed configuration 45 char *config_item_str(cnode *root, const char *item_name, const char *defaultvar) { 48 if(!(tmp = config_str(root, item_name, defaultvar))) { 57 * root - parsed configuration 62 int16_t *config_item_int16_t(cnode *root, const char *item_name, const char *defaultvar, int16_t *ret_val_ptr) { 67 if(!(tmp = config_str(root, item_name, defaultvar))) { 96 * root - parsed configuration 101 struct in_addr *config_item_ip(cnode *root, const char *item_name, const char *defaultvar, struct in_addr *ret_val_ptr) { 105 if(!(tmp = config_str(root, item_name, defaultvar))) { 121 * root - parsed configuratio 302 cnode *root = config_node("", ""); local [all...] |
/toolchain/binutils/binutils-2.25/ld/ |
ldcref.c | 61 struct bfd_hash_entry root; member in struct:cref_hash_entry 72 struct bfd_hash_table root; member in struct:cref_hash_table 88 bfd_hash_lookup (&(table)->root, (string), (create), (copy))) 94 (&(table)->root, \ 151 return &ret->root; 168 if (!bfd_hash_table_init (&cref_table.root, cref_hash_newfunc, 184 r = (struct cref_ref *) bfd_hash_allocate (&cref_table.root, sizeof *r); 220 for (i = 0; i < cref_table.root.size; i++) 226 for (p = cref_table.root.table[i]; p != NULL; p = p->next) 228 entsize += cref_table.root.entsize [all...] |
/art/runtime/ |
gc_root.h | 92 // Single root version, not overridable. 93 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) 95 VisitRoots(&root, 1, info); 98 // Single root version, not overridable. 99 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) 101 if (*root != nullptr) { 102 VisitRoot(root, info); 133 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0; 201 // Root visitors take pointers to root_ and place them in CompressedReference** arrays. We use a 209 // Simple data structure for buffered root visiting to avoid virtual dispatch overhead. Currentl [all...] |
/bionic/tests/ |
search_test.cpp | 79 void* root = nullptr; local 86 ASSERT_EQ(nullptr, tfind(&n1, &root, node_cmp)); 87 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); 88 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); 91 void* i1 = tsearch(&n1, &root, node_cmp); 95 ASSERT_EQ(i1, tfind(&n1, &root, node_cmp)); 96 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); 97 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); 100 ASSERT_NE(nullptr, tsearch(&n2, &root, node_cmp)); 101 ASSERT_NE(nullptr, tsearch(&n3, &root, node_cmp)) 127 void* root = nullptr; local [all...] |
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/tradefed/ |
CtsTradefedTest.java | 41 File root = FileUtil.createTempDir("root"); local 42 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); 43 File base = new File(root, "android-cts"); 53 FileUtil.recursiveDelete(root);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Jetty.java | 129 public static int startHttpServerWithDocRoot(String root) throws Exception { 137 resource_handler.setResourceBase(root);
|
/external/autotest/client/site_tests/platform_GesturesRegressionTest/ |
platform_GesturesRegressionTest.py | 37 root = os.path.join(self.autodir, 'deps', 'touchpad-tests') 38 framework_dir = os.path.join(root, 'framework') 39 tests_dir = os.path.join(root, 'tests') 43 sys.path.append(root)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
path_set.py | 33 for root, _, files in os.walk(path): 35 file_path = os.path.join(root, basename) 42 for root, _, files in os.walk(path): 44 self._paths.discard(os.path.join(root, basename))
|