/third_party/skia/src/ports/skia_ohos/ |
H A D | HmSymbolConfig_ohos.h | 87 int CheckConfigFile(const char* fname, Json::Value& root); 91 void ParseSymbolAnimations(const Json::Value& root, 93 void ParseSymbolAnimationParas(const Json::Value& root, 95 void ParseSymbolAnimationPara(const Json::Value& root, AnimationPara& animationPara); 96 void ParseSymbolGroupParas(const Json::Value& root, std::vector<std::vector<PiecewiseParameter>>& groupParameters); 97 void ParseSymbolPiecewisePara(const Json::Value& root, PiecewiseParameter& piecewiseParameter); 98 void ParseSymbolCurveArgs(const Json::Value& root, std::map<std::string, float>& curveArgs); 99 void ParseSymbolProperties(const Json::Value& root, std::map<std::string, std::vector<float>>& properties); 101 void ParseSymbolLayersGrouping(const Json::Value& root); 102 void ParseOneSymbol(const Json::Value& root, st [all...] |
H A D | FontConfig_ohos.cpp | 379 Json::Value root; in parseConfig() local 380 int err = checkConfigFile(fname, root); in parseConfig() 386 if (root.isMember(key)) { in parseConfig() 387 if (root[key].isArray()) { in parseConfig() 388 parseFontDir(fname, root[key]); in parseConfig() 401 if (!root.isMember(key)) { in parseConfig() 403 } else if (!root[key].isArray()) { in parseConfig() 404 return logErrInfo(ERROR_CONFIG_INVALID_VALUE_TYPE, key, Json::arrayValue, root[key].type()); in parseConfig() 406 const Json::Value& arr = root[key]; in parseConfig() 422 root in parseConfig() 432 checkConfigFile(const char* fname, Json::Value& root) checkConfigFile() argument 527 parseFontDir(const char* fname, const Json::Value& root) parseFontDir() argument 559 parseGeneric(const Json::Value& root) parseGeneric() argument 631 parseAlias(const Json::Value& root, std::vector<AliasInfo>& aliasSet) parseAlias() argument 668 parseAdjust(const Json::Value& root, std::vector<AdjustInfo>& adjustSet) parseAdjust() argument 694 parseFallback(const Json::Value& root) parseFallback() argument 729 parseFallbackItem(const Json::Value& root) parseFallbackItem() argument 803 parseVariation(const Json::Value& root, std::vector<VariationInfo>& variationSet) parseVariation() argument 859 parseTtcIndex(const Json::Value& root, const SkString& familyName) parseTtcIndex() argument [all...] |
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_copy_ast.c | 65 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list() 87 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list_sublist() 111 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list_sublist_extra() 156 test_ast_node->parent = test_db->ast->root; in test_cil_copy_block() 159 cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_copy_block() 200 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head, test_ast_node); in test_cil_copy_perm() 203 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next, test_ast_node); in test_cil_copy_perm() 206 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next->next, test_ast_node); in test_cil_copy_perm() 224 test_ast_node->parent = test_db->ast->root; in test_cil_copy_class() 227 cil_gen_class(test_db, test_tree->root in test_cil_copy_class() 1453 struct cil_tree_node *root; test_cil_copy_node_helper_perm() local [all...] |
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffgload.c | 52 if ( face->root.internal->incremental_interface ) in FT_LOCAL_DEF() 56 face->root.internal->incremental_interface->funcs->get_glyph_data( in FT_LOCAL_DEF() 57 face->root.internal->incremental_interface->object, in FT_LOCAL_DEF() 91 if ( face->root.internal->incremental_interface ) in cff_free_glyph_data() 99 face->root.internal->incremental_interface->funcs->free_glyph_data( in cff_free_glyph_data() 100 face->root.internal->incremental_interface->object, &data ); in cff_free_glyph_data() 158 for ( glyph_index = 0; glyph_index < face->root.num_glyphs; 202 TT_Face face = (TT_Face)glyph->root.face; in FT_LOCAL_DEF() 240 glyph->x_scale = size->root.metrics.x_scale; in FT_LOCAL_DEF() 241 glyph->y_scale = size->root in FT_LOCAL_DEF() [all...] |
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1parse.h | 40 * root :: 41 * The root parser. 71 PS_ParserRec root; member 96 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) 97 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) 99 #define T1_ToInt( p ) (p)->root.funcs.to_int( &(p)->root ) 100 #define T1_ToFixed( p, t ) (p)->root [all...] |
H A D | t1load.c | 76 #define IS_INCREMENTAL FT_BOOL( face->root.internal->incremental_interface ) 109 FT_Memory memory = face->root.memory; in t1_allocate_blend() 290 FT_Memory memory = face->root.memory; in FT_LOCAL_DEF() 449 face->root.face_flags |= FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 451 face->root.face_flags &= ~FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 523 face->root.face_flags |= FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 525 face->root.face_flags &= ~FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 638 face->root.face_flags |= FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 640 face->root.face_flags &= ~FT_FACE_FLAG_VARIATION; in FT_LOCAL_DEF() 721 FT_Memory memory = face->root in T1_Done_Blend() 1406 FT_Face root = (FT_Face)&face->root; t1_parse_font_matrix() local [all...] |
/third_party/ltp/lib/ |
H A D | tst_cgroup.c | 28 * traverse from leaf towards root. 34 /* Shortcut to root */ 39 * this field. So it may be different from root->css_field. 51 /* The root of a CGroup hierarchy/tree */ 57 * controllers found while scanning this root. 384 "Lack permission to make '%s/%s'; premake it or run as root", in cgroup_dir_mk() 416 struct cgroup_root *root = ctrl->ctrl_root; in tst_cg_print_config() local 418 if (!root) in tst_cg_print_config() 423 root->ver, in tst_cg_print_config() 425 root in tst_cg_print_config() 447 struct cgroup_root *root; cgroup_find_root() local 461 struct cgroup_root *root; cgroup_parse_config_line() local 549 struct cgroup_root *root = roots; cgroup_root_scan() local 762 cgroup_copy_cpuset(const struct cgroup_root *const root) cgroup_copy_cpuset() argument 809 struct cgroup_root *root; tst_cg_require() local 935 close_path_fds(struct cgroup_root *const root) close_path_fds() argument 983 struct cgroup_root *root; tst_cg_cleanup() local 1268 struct cgroup_root *root; group_from_roots() local [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ccolltst.c | 29 void addCollTest(TestNode** root); 31 void addCollTest(TestNode** root) in addCollTest() argument 33 addCollAPITest(root); in addCollTest() 34 addCurrencyCollTest(root); in addCollTest() 36 addNormTest(root); in addCollTest() 38 addGermanCollTest(root); in addCollTest() 39 addSpanishCollTest(root); in addCollTest() 40 addFrenchCollTest(root); in addCollTest() 41 addKannaCollTest(root); in addCollTest() 42 addTurkishCollTest(root); in addCollTest() [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_textview.py | 20 global root 21 root = Tk() 22 root.withdraw() 25 global root 26 root.update_idletasks() 27 root.destroy() 28 del root 50 view = VW(root, 'Title', 'test text') 57 view = VW(root, 'Title', 'test text', modal=False) 64 view = VW(root, 'Titl [all...] |
H A D | test_editmenu.py | 19 cls.root = root = tk.Tk() 20 cls.root.withdraw() 21 pyshell.fix_x11_paste(root) 22 cls.text = tk.Text(root) 23 cls.entry = tk.Entry(root) 24 cls.tentry = ttk.Entry(root) 25 cls.spin = tk.Spinbox(root) 26 root.clipboard_clear() 27 root [all...] |
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...] |
/third_party/python/Lib/tkinter/ |
H A D | font.py | 20 def nametofont(name, root=None): 23 return Font(name=name, exists=True, root=root) 69 def __init__(self, root=None, font=None, name=None, exists=False, 71 if root is None: 72 root = tkinter._get_default_root('use font') 73 tk = getattr(root, 'tk', root) 184 def families(root=None, displayof=None): 186 if root i 206 root = tkinter.Tk() global() variable [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | TranslatorHLSL.cpp | 37 bool TranslatorHLSL::translate(TIntermBlock *root, in translate() argument 62 if (!sh::AddDefaultReturnStatements(this, root)) in translate() 71 this, root, in translate() 81 this, root, in translate() 91 if (!UnfoldShortCircuitToIf(this, root, &getSymbolTable())) in translate() 96 if (!SeparateArrayConstructorStatements(this, root)) in translate() 101 if (!SeparateExpressionsReturningArrays(this, root, &getSymbolTable())) in translate() 107 if (!SeparateArrayInitialization(this, root)) in translate() 114 if (!ArrayReturnValueToOutParameter(this, root, &getSymbolTable())) in translate() 122 if (!RemoveDynamicIndexingOfNonSSBOVectorOrMatrix(this, root, in translate() [all...] |
H A D | TranslatorVulkan.cpp | 122 TIntermBlock *root, in DeclareDefaultUniforms() 130 for (TIntermNode *node : *root->getSequence()) in DeclareDefaultUniforms() 160 root, symbolTable, uniformList, EvqUniform, layoutQualifier, TMemoryQualifier::Create(), 0, in DeclareDefaultUniforms() 183 root->traverse(&defaultTraverser); in DeclareDefaultUniforms() 184 return defaultTraverser.updateTree(compiler, root); in DeclareDefaultUniforms() 189 TIntermBlock *root, in RotateAndFlipBuiltinVariable() 211 DeclareGlobalVariable(root, replacementVar); in RotateAndFlipBuiltinVariable() 215 if (!ReplaceVariable(compiler, root, builtin, replacementVar)) in RotateAndFlipBuiltinVariable() 250 return compiler->validateAST(root); in RotateAndFlipBuiltinVariable() 253 TIntermSequence *GetMainSequence(TIntermBlock *root) in GetMainSequence() argument 121 DeclareDefaultUniforms(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable, gl::ShaderType shaderType) DeclareDefaultUniforms() argument 188 RotateAndFlipBuiltinVariable(TCompiler *compiler, TIntermBlock *root, TIntermSequence *insertSequence, TIntermTyped *flipXY, TSymbolTable *symbolTable, const TVariable *builtin, const ImmutableString &flippedVariableName, TIntermTyped *pivot, TIntermTyped *fragRotation) RotateAndFlipBuiltinVariable() argument 260 ReplaceGLDepthRangeWithDriverUniform(TCompiler *compiler, TIntermBlock *root, const DriverUniform *driverUniforms, TSymbolTable *symbolTable) ReplaceGLDepthRangeWithDriverUniform() argument 278 ReplaceGLBoundingBoxWithGlobal(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable) ReplaceGLBoundingBoxWithGlobal() argument 306 AddANGLEPositionVaryingDeclaration(TIntermBlock *root, TSymbolTable *symbolTable, TQualifier qualifier) AddANGLEPositionVaryingDeclaration() argument 329 AddBresenhamEmulationVS(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable, SpecConst *specConst, const DriverUniform *driverUniforms) AddBresenhamEmulationVS() argument 401 AddXfbEmulationSupport(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable, const DriverUniform *driverUniforms) AddXfbEmulationSupport() argument 615 InsertFragCoordCorrection(TCompiler *compiler, ShCompileOptions compileOptions, TIntermBlock *root, TIntermSequence *insertSequence, TSymbolTable *symbolTable, SpecConst *specConst, const DriverUniform *driverUniforms) InsertFragCoordCorrection() argument 683 AddBresenhamEmulationFS(TCompiler *compiler, ShCompileOptions compileOptions, TIntermBlock *root, TSymbolTable *symbolTable, SpecConst *specConst, const DriverUniform *driverUniforms, bool usesFragCoord) AddBresenhamEmulationFS() argument 805 translateImpl(TInfoSinkBase &sink, TIntermBlock *root, ShCompileOptions compileOptions, PerformanceDiagnostics * , SpecConst *specConst, DriverUniform *driverUniforms) translateImpl() argument 1346 translate(TIntermBlock *root, ShCompileOptions compileOptions, PerformanceDiagnostics *perfDiagnostics) translate() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfobjs.c | 136 FT_Memory memory = face->root.memory; in FT_LOCAL_DEF() 396 stream = face->root.stream; in sfnt_open_font() 417 stream = face->root.stream; in sfnt_open_font() 498 FT_Library library = face->root.driver->root.library; in FT_LOCAL_DEF() 560 stream = face->root.stream; in FT_LOCAL_DEF() 590 FT_Memory memory = face->root.memory; in FT_LOCAL_DEF() 723 face->root.style_flags = (FT_Long)num_instances << 16; in FT_LOCAL_DEF() 727 face->root.num_faces = face->ttc_header.count; in FT_LOCAL_DEF() 728 face->root in FT_LOCAL_DEF() 1043 FT_Face root = &face->root; FT_LOCAL_DEF() local [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | traverse_expressions_test.cc | 31 auto* root = IndexAccessor(i[0], i[1]); in TEST_F() local 35 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 39 EXPECT_THAT(l2r, ElementsAre(root, i[0], e[0], e[1], i[1], e[2], e[3])); in TEST_F() 44 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 48 EXPECT_THAT(r2l, ElementsAre(root, i[1], e[3], e[2], i[0], e[1], e[0])); in TEST_F() 55 auto* root = Mul(i[0], i[1]); in TEST_F() local 59 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 63 EXPECT_THAT(l2r, ElementsAre(root, i[0], e[0], e[1], i[1], e[2], e[3])); in TEST_F() 68 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 72 EXPECT_THAT(r2l, ElementsAre(root, in TEST_F() 81 auto* root = Bitcast<i32>(b2); TEST_F() local 106 auto* root = Call("c", c[0], c[1]); TEST_F() local 132 auto* root = MemberAccessor(m, Expr("b")); TEST_F() local 158 auto* root = MemberAccessor(m, i[1]); TEST_F() local 184 auto* root = Deref(u2); TEST_F() local 209 auto* root = IndexAccessor(i[0], i[1]); TEST_F() local 224 auto* root = IndexAccessor(i[0], i[1]); TEST_F() local [all...] |
/third_party/skia/modules/sksg/tests/ |
H A D | SGTest.cpp | 27 static void check_inval(skiatest::Reporter* reporter, const sk_sp<sksg::Node>& root, in check_inval() argument 32 const auto bbox = root->revalidate(&ic, SkMatrix::I()); in check_inval() 64 static void check_hittest(skiatest::Reporter* reporter, const sk_sp<sksg::RenderNode>& root, in check_hittest() argument 67 const auto* node = root->nodeAt(tst.pt); in check_hittest() 82 auto root = sksg::TransformEffect::Make(grp, matrix); in inval_test1() local 91 check_inval(reporter, root, in inval_test1() 96 check_hittest(reporter, root, { in inval_test1() 110 check_inval(reporter, root, in inval_test1() 115 check_hittest(reporter, root, { in inval_test1() 136 check_inval(reporter, root, in inval_test1() 229 auto root = sksg::Group::Make(); inval_test2() local 299 auto root = sksg::ImageFilterEffect::Make(group, filter); inval_test3() local [all...] |
/third_party/python/Modules/ |
H A D | rotatingtree.c | 29 (*root) is modified to point to the new root. */ 31 RotatingTree_Add(rotating_node_t **root, rotating_node_t *node) in RotatingTree_Add() argument 33 while (*root != NULL) { in RotatingTree_Add() 34 if (KEY_LOWER_THAN(node->key, (*root)->key)) in RotatingTree_Add() 35 root = &((*root)->left); in RotatingTree_Add() 37 root = &((*root)->right); in RotatingTree_Add() 41 *root in RotatingTree_Add() 48 RotatingTree_Get(rotating_node_t **root, void *key) RotatingTree_Get() argument 107 RotatingTree_Enum(rotating_node_t *root, rotating_tree_enum_fn enumfn, void *arg) RotatingTree_Enum() argument [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/ |
H A D | issue-769-bad-instantiation-test.rs | 9 pub mod root { modules 11 use self::super::root; 31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 35 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 39 ::std::mem::align_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 43 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 51 ::std::mem::size_of::<root::Rooted<root::AutoValueVector_Alias>>(), in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation() 55 stringify!(root::Rooted<root in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
H A D | issue-769-bad-instantiation-test.rs | 9 pub mod root { modules 11 use self::super::root; 31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 35 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 39 ::std::mem::align_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 43 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 51 ::std::mem::size_of::<root::Rooted<root::AutoValueVector_Alias>>(), in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation() 55 stringify!(root::Rooted<root in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation() [all...] |
/third_party/python/Lib/test/ |
H A D | test_minidom.py | 102 root = dom.documentElement 103 elem = root.childNodes[0] 105 root.insertBefore(nelem, elem) 106 self.confirm(len(root.childNodes) == 2 107 and root.childNodes.length == 2 108 and root.childNodes[0] is nelem 109 and root.childNodes.item(0) is nelem 110 and root.childNodes[1] is elem 111 and root.childNodes.item(1) is elem 112 and root [all...] |
/third_party/curl/tests/unit/ |
H A D | unit1309.c | 76 struct Curl_tree *root, *removed; variable 82 root = NULL; /* the empty tree */ 92 root = Curl_splayinsert(key, root, &nodes[i]); 96 splayprint(root, 0, 1); 101 splayprint(root, 0, 1); 104 rc = Curl_splayremove(root, &nodes[rem], &root); 112 fail_unless(root == NULL, "tree not empty after removing all nodes"); 125 root [all...] |
/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/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...] |