/third_party/node/test/parallel/ |
H A D | test-path-parse-format.js | 28 // [path, root] 54 ['t', { base: 't', name: 't', root: '', dir: '', ext: '' }], 55 ['/foo/bar', { root: '/', dir: '/foo', base: 'bar', ext: '', name: 'bar' }], 61 [{ root: 'C:\\' }, 'C:\\'], 64 [{ root: 'C:\\', name: 'index', ext: '.html' }, 'C:\\index.html'], 69 // [path, root] 95 [{ root: '/' }, '/'], 98 [{ root: '/', name: 'index', ext: '.html' }, '/index.html'], 125 [['.\\', { root: '', dir: '', base: '.', ext: '', name: '.' }], 126 ['\\\\', { root [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_tooltip.py | 19 global root 20 root = Tk() 23 global root 24 root.update_idletasks() 25 root.destroy() 26 del root 39 global root 40 top = Toplevel(root) 55 global root 56 top = Toplevel(root) [all...] |
H A D | test_config_key.py | 32 cls.root = Tk() 33 cls.root.withdraw() 35 cls.dialog = cls.Validator(cls.root, '<<Test>>', keylist) 40 cls.root.update_idletasks() 41 cls.root.destroy() 42 del cls.root 109 cls.root = Tk() 110 cls.root.withdraw() 111 cls.dialog = config_key.GetKeysFrame(cls.root, '<<Test>>', []) 116 cls.root [all...] |
H A D | test_macosx.py | 30 cls.root = tk.Tk() 31 cls.root.withdraw() 36 cls.root.update_idletasks() 37 cls.root.destroy() 38 del cls.root 85 cls.root = tk.Tk() 86 cls.root.withdraw() 90 cls.root.createcommand = cmd 94 cls.root.update_idletasks() 95 cls.root [all...] |
H A D | test_filelist.py | 13 cls.root = Tk() 14 cls.root.withdraw() 18 cls.root.update_idletasks() 19 for id in cls.root.tk.call('after', 'info'): 20 cls.root.after_cancel(id) 21 cls.root.destroy() 22 del cls.root 25 flist = filelist.FileList(self.root) 26 self.assertEqual(flist.root, self.root) [all...] |
H A D | test_runscript.py | 15 cls.root = Tk() 16 cls.root.withdraw() 20 cls.root.update_idletasks() 21 for id in cls.root.tk.call('after', 'info'): 22 cls.root.after_cancel(id) # Need for EditorWindow. 23 cls.root.destroy() 24 del cls.root 27 ew = EditorWindow(root=self.root)
|
H A D | tkinter_testing_utils.py | 16 The delay argument is passed into root.after(...) calls as the number 19 This also assumes that the test class has a .root attribute, 34 root = self.root 44 root.quit() 47 root.quit() 53 root.after(delay, root.after_idle, after_callback) 54 root.after(0, root [all...] |
H A D | test_help_about.py | 27 cls.root = Tk() 28 cls.root.withdraw() 29 cls.dialog = About(cls.root, 'About IDLE', _utest=True) 34 cls.root.update_idletasks() 35 cls.root.destroy() 36 del cls.root 95 cls.root = Tk() 96 cls.root.withdraw() 97 cls.dialog = About(cls.root, _utest=True) 102 cls.root [all...] |
H A D | htest.py | 13 argument will be the root window. X must create a child Toplevel 56 kwds: augmented with {'parent':root} and passed to X as **kwds. 373 root = tk.Tk() 374 root.title('IDLE htest') 375 root.resizable(0, 0) 378 frameLabel = tk.Frame(root, padx=10) 381 text.configure(bg=root.cget('bg'), relief='flat', height=4, width=70) 403 test_name = tk.StringVar(root) 414 test_kwds['parent'] = root 430 root [all...] |
H A D | test_zoomheight.py | 16 cls.root = Tk() 17 cls.root.withdraw() 18 cls.editwin = EditorWindow(root=cls.root) 23 cls.root.update_idletasks() 24 for id in cls.root.tk.call('after', 'info'): 25 cls.root.after_cancel(id) # Need for EditorWindow. 26 cls.root.destroy() 27 del cls.root
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/ |
H A D | processor.js | 41 return parser.root; 55 var root = _this._root(rule, options); 56 Promise.resolve(_this.func(root)).then(function (transform) { 59 string = root.toString(); 64 root: root, 78 var root = this._root(rule, options); 79 var transform = this.func(root); 85 string = root.toString(); 90 root [all...] |
/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
H A D | setresgid01.c | 21 * EXECUTED BY : root / superuser 39 * 5. setresgid(2) is successful for setresgid(root, root, root) 44 * Check existence of root and nobody user id's 95 static struct passwd nobody, root; variable 104 {&neg, &neg, &neg, &root, &root, &root, 106 {&neg, &neg, &nobody.pw_gid, &root, [all...] |
/third_party/python/Lib/tkinter/test/test_ttk/ |
H A D | test_extensions.py | 13 self.root.update_idletasks() 18 x = ttk.LabeledScale(self.root) 25 myvar = tkinter.DoubleVar(self.root) 27 x = ttk.LabeledScale(self.root, variable=myvar) 38 myvar = tkinter.IntVar(self.root) 40 x = ttk.LabeledScale(self.root, variable=myvar) 47 ttk.LabeledScale(self.root, variable=myvar) 53 master = tkinter.Frame(self.root) 63 x = ttk.LabeledScale(self.root, from_=pair[0]) 66 x = ttk.LabeledScale(self.root, from [all...] |
/third_party/toybox/toys/other/ |
H A D | lsattr.c | 142 static int retell_dir(struct dirtree *root) in retell_dir() argument 146 if (root->again) { in retell_dir() 150 if (S_ISDIR(root->st.st_mode) && !root->parent) in retell_dir() 153 fpath = dirtree_path(root, NULL); in retell_dir() 155 if ((root->name[0] != '.') || (toys.optflags & FLAG_a)) { in retell_dir() 157 if (S_ISDIR(root->st.st_mode) && (toys.optflags & FLAG_R) in retell_dir() 158 && dirtree_notdotdot(root)) { in retell_dir() 252 static int update_attr(struct dirtree *root) in update_attr() argument 258 if (!dirtree_notdotdot(root)) retur in update_attr() [all...] |
/third_party/python/Lib/tkinter/ |
H A D | dnd.py | 44 root widget. If none of the target widgets can produce a target 111 if h.root is not None: 121 root = None variable in DndHandler 126 root = event.widget._root() 128 root.__dnd 131 root.__dnd = self 132 self.root = root 144 root = self.root [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | dict.c | 92 /* don't need to check for root node here because root->parent is in rotate_left() 93 the sentinel nil node, and root->parent->left points back to root */ in rotate_left() 179 * checks that every path has the same count of black nodes from root to leaf. 184 * black height of the subtree rooted at the node ``root'', or zero if the 187 static unsigned int verify_redblack(dnode_t *nil, dnode_t *root) in verify_redblack() argument 191 if (root != nil) { in verify_redblack() 192 height_left = verify_redblack(nil, root->left); in verify_redblack() 193 height_right = verify_redblack(nil, root in verify_redblack() 217 verify_node_count(dnode_t *nil, dnode_t *root) verify_node_count() argument 233 verify_dict_has_node(dnode_t *nil, dnode_t *root, dnode_t *node) verify_dict_has_node() argument 300 dnode_t *nil = dict_nil(dict), *root = dict_root(dict); dict_free_nodes() local 382 dnode_t *nil = dict_nil(dict), *root = dict_root(dict); dict_verify() local 440 dnode_t *root = dict_root(dict); dict_lookup() local 478 dnode_t *root = dict_root(dict); dict_lower_bound() local 509 dnode_t *root = dict_root(dict); dict_upper_bound() local 839 dnode_t *nil = dict_nil(dict), *root = dict_root(dict), *left; dict_first() local 854 dnode_t *nil = dict_nil(dict), *root = dict_root(dict), *right; dict_last() local [all...] |
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1parse.c | 145 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory ); in FT_LOCAL_DEF() 230 parser->root.base = parser->base_dict; in FT_LOCAL_DEF() 231 parser->root.cursor = parser->base_dict; in FT_LOCAL_DEF() 232 parser->root.limit = parser->root.cursor + parser->base_len; in FT_LOCAL_DEF() 245 FT_Memory memory = parser->root.memory; in T1_Finalize_Parser() 255 parser->root.funcs.done( &parser->root ); in T1_Finalize_Parser() 264 FT_Memory memory = parser->root.memory; in FT_LOCAL_DEF() 366 parser->root in FT_LOCAL_DEF() [all...] |
/third_party/skia/src/core/ |
H A D | SkTSort.h | 19 /* Sifts a broken heap. The input array is a heap from root to bottom 20 * except that the root entry may be out of place. 22 * Sinks a hole from array[root] to leaf and then sifts the original array[root] element 28 * the potentially out of place root entry value is expected to be small. 30 * @param root the one based index into array of the out-of-place root of the heap. 34 void SkTHeapSort_SiftUp(T array[], size_t root, size_t bottom, const C& lessThan) { in SkTHeapSort_SiftUp() argument 35 T x = array[root-1]; in SkTHeapSort_SiftUp() 36 size_t start = root; in SkTHeapSort_SiftUp() 68 SkTHeapSort_SiftDown(T array[], size_t root, size_t bottom, const C& lessThan) SkTHeapSort_SiftDown() argument [all...] |
/third_party/skia/tests/ |
H A D | PDFTaggedPruningTest.cpp | 40 auto root = std::make_unique<PDFTag>(); in DEF_TEST() local 41 root->fNodeId = 1; in DEF_TEST() 42 root->fTypeString = "Document"; in DEF_TEST() 43 root->fLang = "en-US"; in DEF_TEST() 50 root->fChildVector.push_back(std::move(p1)); in DEF_TEST() 57 root->fChildVector.push_back(std::move(p2)); in DEF_TEST() 59 metadata.fStructureElementTreeRoot = root.get(); in DEF_TEST() 105 auto root = std::make_unique<PDFTag>(); in DEF_TEST() local 106 root->fNodeId = 1; in DEF_TEST() 107 root in DEF_TEST() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | xml-utils.c | 16 xml_node_t *root, char *uri) in get_node_uri_iter() 26 node = root; in get_node_uri_iter() 46 xml_node_t * get_node_uri(struct xml_node_ctx *ctx, xml_node_t *root, in get_node_uri() argument 56 node = get_node_uri_iter(ctx, root, search); in get_node_uri() 64 xml_node_t *root, const char *path) in get_node_iter() 74 xml_node_for_each_child(ctx, node, root) { in get_node_iter() 89 xml_node_t * get_node(struct xml_node_ctx *ctx, xml_node_t *root, in get_node() argument 99 node = get_node_iter(ctx, root, search); in get_node() 106 xml_node_t * get_child_node(struct xml_node_ctx *ctx, xml_node_t *root, in get_child_node() argument 112 xml_node_for_each_child(ctx, node, root) { in get_child_node() 15 get_node_uri_iter(struct xml_node_ctx *ctx, xml_node_t *root, char *uri) get_node_uri_iter() argument 63 get_node_iter(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node_iter() argument 280 xml_node_t *root; mo_to_tnds() local 337 add_mo_node(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) add_mo_node() argument 384 tnds_to_mo_iter(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) tnds_to_mo_iter() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | xml-utils.c | 16 xml_node_t *root, char *uri) in get_node_uri_iter() 26 node = root; in get_node_uri_iter() 46 xml_node_t * get_node_uri(struct xml_node_ctx *ctx, xml_node_t *root, in get_node_uri() argument 56 node = get_node_uri_iter(ctx, root, search); in get_node_uri() 64 xml_node_t *root, const char *path) in get_node_iter() 74 xml_node_for_each_child(ctx, node, root) { in get_node_iter() 89 xml_node_t * get_node(struct xml_node_ctx *ctx, xml_node_t *root, in get_node() argument 99 node = get_node_iter(ctx, root, search); in get_node() 106 xml_node_t * get_child_node(struct xml_node_ctx *ctx, xml_node_t *root, in get_child_node() argument 112 xml_node_for_each_child(ctx, node, root) { in get_child_node() 15 get_node_uri_iter(struct xml_node_ctx *ctx, xml_node_t *root, char *uri) get_node_uri_iter() argument 63 get_node_iter(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node_iter() argument 280 xml_node_t *root; mo_to_tnds() local 337 add_mo_node(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) add_mo_node() argument 384 tnds_to_mo_iter(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) tnds_to_mo_iter() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Compiler.cpp | 475 TIntermBlock *root = parseContext.getTreeRoot(); in compileTreeImpl() local 476 if (!checkAndSimplifyAST(root, parseContext, compileOptions)) in compileTreeImpl() 481 return root; in compileTreeImpl() 597 bool TCompiler::validateAST(TIntermNode *root) in validateAST() argument 601 bool valid = ValidateAST(root, &mDiagnostics, mValidateASTOptions); in validateAST() 606 OutputTree(root, mInfoSink.info); in validateAST() 650 bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, in checkAndSimplifyAST() argument 659 if (!validateAST(root)) in checkAndSimplifyAST() 665 if ((compileOptions & SH_LIMIT_EXPRESSION_COMPLEXITY) != 0 && !limitExpressionComplexity(root)) in checkAndSimplifyAST() 671 !ValidateLimitations(root, mShaderTyp in checkAndSimplifyAST() 1138 TIntermBlock *root = compileTreeImpl(shaderStrings, numStrings, compileOptions); compile() local 1388 initCallDag(TIntermNode *root) initCallDag() argument 1494 pruneUnusedFunctions(TIntermBlock *root) pruneUnusedFunctions() argument 1540 limitExpressionComplexity(TIntermBlock *root) limitExpressionComplexity() argument 1567 initializeGLPosition(TIntermBlock *root) initializeGLPosition() argument 1575 useAllMembersInUnusedStandardAndSharedBlocks(TIntermBlock *root) useAllMembersInUnusedStandardAndSharedBlocks() argument 1591 initializeOutputVariables(TIntermBlock *root) initializeOutputVariables() argument [all...] |
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_font.py | 17 cls.font = font.Font(root=cls.root, name=fontname, exists=True) 19 cls.font = font.Font(root=cls.root, name=fontname, exists=False) 41 f = font.Font(root=self.root, family=family, exists=True) 43 f = font.Font(root=self.root, family=family, exists=False) 67 font1 = font.Font(root=self.root, nam [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | namespace.rs | 9 pub mod root { modules 11 use self::super::root; 18 use self::super::super::root; 28 use self::super::super::root; 32 pub b: root::whatever::whatever_int_t, 66 pub _base: root::_bindgen_mod_id_17::A, 83 use self::super::super::root; 88 pub m_c: root::C<T>, 103 pub fn heh() -> root::w::whatever_int_t; in heh() 107 pub fn foo() -> root [all...] |
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_list.c | 60 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item() 70 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item() 88 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append() 98 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item_append() 105 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next; in test_cil_list_append_item_append() 124 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append_extra() 134 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item_append_extra() 140 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next; in test_cil_list_append_item_append_extra() 146 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next->next; in test_cil_list_append_item_append_extra() 166 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_listnull_neg() [all...] |