Home
last modified time | relevance | path

Searched refs:root (Results 1 - 25 of 1714) sorted by relevance

12345678910>>...69

/third_party/icu/icu4c/source/test/cintltst/
H A Dcalltest.c21 void addUtility(TestNode** root);
22 void addBreakIter(TestNode** root);
23 void addStandardNamesTest(TestNode **root);
24 void addFormatTest(TestNode** root);
25 void addConvert(TestNode** root);
26 void addCollTest(TestNode** root);
27 void addComplexTest(TestNode** root);
28 void addBidiTransformTest(TestNode** root);
29 void addUDataTest(TestNode** root);
30 void addUTF16Test(TestNode** root);
49 addAllTests(TestNode** root) addAllTests() argument
[all...]
H A Dcutiltst.c26 void addHashtableTest(TestNode** root);
27 void addCStringTest(TestNode** root);
28 void addTrieTest(TestNode** root);
29 void addTrie2Test(TestNode** root);
30 void addUCPTrieTest(TestNode** root);
31 void addEnumerationTest(TestNode** root);
32 void addPosixTest(TestNode** root);
33 void addSortTest(TestNode** root);
35 void addUtility(TestNode** root);
37 void addUtility(TestNode** root) in addUtility() argument
[all...]
H A Dcformtst.c40 void addURegionTest(TestNode** root);
41 void addUListFmtTest(TestNode** root);
42 void addUNumberFormatterTest(TestNode** root);
43 void addUFormattedValueTest(TestNode** root);
44 void addUNumberRangeFormatterTest(TestNode** root);
46 void addFormatTest(TestNode** root);
48 void addFormatTest(TestNode** root) in addFormatTest() argument
50 addCalTest(root); in addFormatTest()
51 addDateForTest(root); in addFormatTest()
52 addDateTimePatternGeneratorTest(root); in addFormatTest()
[all...]
H A Dcconvtst.c21 void addTestConvertErrorCallBack(TestNode** root);
22 void addTestEuroRegression(TestNode** root);
23 void addTestConverterFallBack(TestNode** root);
24 void addExtraTests(TestNode** root);
28 addBOCU1Tests(TestNode** root);
30 void addConvert(TestNode** root);
32 void addConvert(TestNode** root) in addConvert() argument
34 addTestConvert(root); in addConvert()
35 addTestNewConvert(root); in addConvert()
36 addBOCU1Tests(root); in addConvert()
[all...]
/third_party/cJSON/tests/
H A Dcjson_add.c50 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_add_null() local
53 cJSON_AddNullToObject(root, "null"); in cjson_add_null_should_add_null()
55 TEST_ASSERT_NOT_NULL(null = cJSON_GetObjectItemCaseSensitive(root, "null")); in cjson_add_null_should_add_null()
58 cJSON_Delete(root); in cjson_add_null_should_add_null()
63 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_with_null_pointers() local
66 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, NULL)); in cjson_add_null_should_fail_with_null_pointers()
68 cJSON_Delete(root); in cjson_add_null_should_fail_with_null_pointers()
73 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_on_allocation_failure() local
77 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, "null")); in cjson_add_null_should_fail_on_allocation_failure()
81 cJSON_Delete(root); in cjson_add_null_should_fail_on_allocation_failure()
86 cJSON *root = cJSON_CreateObject(); cjson_add_true_should_add_true() local
99 cJSON *root = cJSON_CreateObject(); cjson_add_true_should_fail_with_null_pointers() local
109 cJSON *root = cJSON_CreateObject(); cjson_add_true_should_fail_on_allocation_failure() local
166 cJSON *root = cJSON_CreateObject(); cjson_add_false_should_add_false() local
179 cJSON *root = cJSON_CreateObject(); cjson_add_false_should_fail_with_null_pointers() local
189 cJSON *root = cJSON_CreateObject(); cjson_add_false_should_fail_on_allocation_failure() local
202 cJSON *root = cJSON_CreateObject(); cjson_add_bool_should_add_bool() local
221 cJSON *root = cJSON_CreateObject(); cjson_add_bool_should_fail_with_null_pointers() local
231 cJSON *root = cJSON_CreateObject(); cjson_add_bool_should_fail_on_allocation_failure() local
244 cJSON *root = cJSON_CreateObject(); cjson_add_number_should_add_number() local
260 cJSON *root = cJSON_CreateObject(); cjson_add_number_should_fail_with_null_pointers() local
270 cJSON *root = cJSON_CreateObject(); cjson_add_number_should_fail_on_allocation_failure() local
284 cJSON *root = cJSON_CreateObject(); cjson_add_int64_number_should_add_int64_number() local
300 cJSON *root = cJSON_CreateObject(); cjson_add_int64_number_should_fail_with_null_pointers() local
310 cJSON *root = cJSON_CreateObject(); cjson_add_int64_number_should_fail_on_allocation_failure() local
324 cJSON *root = cJSON_CreateObject(); cjson_add_string_should_add_string() local
338 cJSON *root = cJSON_CreateObject(); cjson_add_string_should_fail_with_null_pointers() local
348 cJSON *root = cJSON_CreateObject(); cjson_add_string_should_fail_on_allocation_failure() local
361 cJSON *root = cJSON_CreateObject(); cjson_add_raw_should_add_raw() local
375 cJSON *root = cJSON_CreateObject(); cjson_add_raw_should_fail_with_null_pointers() local
385 cJSON *root = cJSON_CreateObject(); cjson_add_raw_should_fail_on_allocation_failure() local
398 cJSON *root = cJSON_CreateObject(); cJSON_add_object_should_add_object() local
410 cJSON *root = cJSON_CreateObject(); cjson_add_object_should_fail_with_null_pointers() local
420 cJSON *root = cJSON_CreateObject(); cjson_add_object_should_fail_on_allocation_failure() local
433 cJSON *root = cJSON_CreateObject(); cJSON_add_array_should_add_array() local
445 cJSON *root = cJSON_CreateObject(); cjson_add_array_should_fail_with_null_pointers() local
455 cJSON *root = cJSON_CreateObject(); cjson_add_array_should_fail_on_allocation_failure() local
[all...]
H A Dold_utils_tests.c54 cJSON *root = NULL; in json_pointer_tests() local
69 root = cJSON_Parse(json); in json_pointer_tests()
71 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, ""), root); in json_pointer_tests()
72 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo"), cJSON_GetObjectItem(root, "foo")); in json_pointer_tests()
73 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo/0"), cJSON_GetObjectItem(root, "foo")->child); in json_pointer_tests()
74 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo/0"), cJSON_GetObjectItem(root, "fo in json_pointer_tests()
[all...]
/third_party/node/deps/v8/src/torque/
H A Dinstance-type-generator.cc59 std::unique_ptr<InstanceTypeTree> root; in BuildInstanceTypeTree() local
63 if (root != nullptr) in BuildInstanceTypeTree()
64 Error("Expected only one root class type. Found: ", root->type->name(), in BuildInstanceTypeTree()
67 root = std::move(type_tree); in BuildInstanceTypeTree()
72 return root; in BuildInstanceTypeTree()
76 void PropagateInstanceTypeConstraints(InstanceTypeTree* root) { in PropagateInstanceTypeConstraints() argument
77 for (auto& child : root->children) { in PropagateInstanceTypeConstraints()
79 if (child->start < root->start) root in PropagateInstanceTypeConstraints()
111 SelectOwnValues(InstanceTypeTree* root, int start_value) SelectOwnValues() argument
141 SolveInstanceTypeConstraints( std::unique_ptr<InstanceTypeTree> root, int start_value, std::vector<std::unique_ptr<InstanceTypeTree>>* destination) SolveInstanceTypeConstraints() argument
269 SolveInstanceTypeConstraints( std::unique_ptr<InstanceTypeTree> root) SolveInstanceTypeConstraints() argument
277 std::unique_ptr<InstanceTypeTree> root = BuildInstanceTypeTree(); AssignInstanceTypes() local
310 PrintInstanceTypes(InstanceTypeTree* root, std::ostream& definitions, std::ostream& values, std::ostream& fully_defined_single_instance_types, std::ostream& fully_defined_multiple_instance_types, std::ostream& only_declared_single_instance_types, std::ostream& only_declared_multiple_instance_types, std::ostream& fully_defined_range_instance_types, std::ostream& only_declared_range_instance_types, const std::string& indent) PrintInstanceTypes() argument
[all...]
/third_party/skia/src/ports/skia_ohos/
H A DHmSymbolConfig_ohos.cpp249 int HmSymbolConfig_OHOS::CheckConfigFile(const char* fname, Json::Value& root) in CheckConfigFile() argument
259 bool isJson = jsonReader->parse(data.get(), data.get() + size, &root, &errs); in CheckConfigFile()
289 Json::Value root; in ParseConfigOfHmSymbol() local
290 int err = CheckConfigFile(fullname.c_str(), root); in ParseConfigOfHmSymbol()
299 if (!root.isMember(key) || !root[key].isArray()) { in ParseConfigOfHmSymbol()
303 ParseSymbolAnimations(root[key], &animationInfos_); in ParseConfigOfHmSymbol()
305 ParseSymbolLayersGrouping(root[key]); in ParseConfigOfHmSymbol()
308 root.clear(); in ParseConfigOfHmSymbol()
313 void HmSymbolConfig_OHOS::ParseSymbolAnimations(const Json::Value& root, in ParseSymbolAnimations() argument
351 ParseSymbolAnimationParas(const Json::Value& root, std::map<uint32_t, AnimationPara>& animationParas) ParseSymbolAnimationParas() argument
367 ParseSymbolAnimationPara(const Json::Value& root, AnimationPara& animationPara) ParseSymbolAnimationPara() argument
437 ParseSymbolGroupParas(const Json::Value& root, std::vector<std::vector<PiecewiseParameter>>& groupParameters) ParseSymbolGroupParas() argument
461 PiecewiseParaCurveCase(const char* key, const Json::Value& root, PiecewiseParameter& piecewiseParameter) PiecewiseParaCurveCase() argument
476 PiecewiseParaDurationCase(const char* key, const Json::Value& root, PiecewiseParameter& piecewiseParameter) PiecewiseParaDurationCase() argument
486 PiecewiseParaDelayCase(const char* key, const Json::Value& root, PiecewiseParameter& piecewiseParameter) PiecewiseParaDelayCase() argument
495 ParseSymbolPiecewisePara(const Json::Value& root, PiecewiseParameter& piecewiseParameter) ParseSymbolPiecewisePara() argument
535 ParseSymbolCurveArgs(const Json::Value& root, std::map<std::string, float>& curveArgs) ParseSymbolCurveArgs() argument
552 ParseSymbolProperties(const Json::Value& root, std::map<std::string, std::vector<float>>& properties) ParseSymbolProperties() argument
576 ParseSymbolLayersGrouping(const Json::Value& root) ParseSymbolLayersGrouping() argument
589 SymbolGlyphCase(const char* key, const Json::Value& root, SymbolLayersGroups& symbolLayersGroups) SymbolGlyphCase() argument
598 ParseOneSymbolNativeCase(const char* key, const Json::Value& root, SymbolLayersGroups& symbolLayersGroups, uint16_t& nativeGlyphId) ParseOneSymbolNativeCase() argument
608 ParseOneSymbolLayerCase(const char* key, const Json::Value& root, SymbolLayersGroups& symbolLayersGroups) ParseOneSymbolLayerCase() argument
618 ParseOneSymbolRenderCase(const char* key, const Json::Value& root, SymbolLayersGroups& symbolLayersGroups) ParseOneSymbolRenderCase() argument
628 ParseOneSymbolAnimateCase(const char* key, const Json::Value& root, SymbolLayersGroups& symbolLayersGroups) ParseOneSymbolAnimateCase() argument
638 ParseOneSymbol(const Json::Value& root, std::unordered_map<uint16_t, SymbolLayersGroups>* hmSymbolConfig) ParseOneSymbol() argument
683 ParseLayers(const Json::Value& root, std::vector<std::vector<size_t>>& layers) ParseLayers() argument
705 ParseComponets(const Json::Value& root, std::vector<size_t>& components) ParseComponets() argument
716 ParseRenderModes(const Json::Value& root, std::map<SymbolRenderingStrategy, std::vector<RenderGroup>>& renderModesGroups) ParseRenderModes() argument
756 ParseRenderGroups(const Json::Value& root, std::vector<RenderGroup>& renderGroups) ParseRenderGroups() argument
778 ParseGroupIndexes(const Json::Value& root, std::vector<GroupInfo>& groupInfos) ParseGroupIndexes() argument
800 ParseLayerOrMaskIndexes(const Json::Value& root, std::vector<size_t>& indexes) ParseLayerOrMaskIndexes() argument
833 ParseAnimationSettings(const Json::Value& root, std::vector<AnimationSetting>& animationSettings) ParseAnimationSettings() argument
847 ParseAnimationSetting(const Json::Value& root, AnimationSetting& animationSetting) ParseAnimationSetting() argument
858 ParseAnimationTypes(const Json::Value& root, std::vector<AnimationType>& animationTypes) ParseAnimationTypes() argument
882 ParseGroupSettings(const Json::Value& root, std::vector<GroupSetting>& groupSettings) ParseGroupSettings() argument
895 ParseGroupSetting(const Json::Value& root, GroupSetting& groupSetting) ParseGroupSetting() argument
[all...]
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_misc.py27 t = tkinter.Toplevel(self.root, name='top')
32 t = tkinter.Toplevel(self.root)
40 root = self.root
41 root.tk_setPalette('black')
42 self.assertEqual(root['background'], 'black')
43 root.tk_setPalette('white')
44 self.assertEqual(root['background'], 'white')
47 root.tk_setPalette, 'spam')
49 root
[all...]
H A Dtest_variables.py25 self.root = Tcl()
28 del self.root
34 return self.root.getboolean(self.root.call("info", "exists", *args))
37 v = Variable(self.root)
42 v = Variable(self.root, "sample string", "varname")
48 v = Variable(self.root, "sample string", "varname")
56 v1 = Variable(self.root, name="name")
57 v2 = Variable(self.root, name="name")
68 v1 = Variable(self.root, nam
[all...]
H A Dtest_geometry_managers.py18 pack = tkinter.Toplevel(self.root, name='pack')
48 self.root.update()
79 self.root.update()
124 self.root.update()
166 self.root.update()
207 self.root.update()
262 self.root.update()
266 self.root.update()
284 t = tkinter.Toplevel(self.root, width=300, height=200, bd=0)
289 self.root
[all...]
/third_party/python/Lib/idlelib/
H A Dmacosx.py36 root = tkinter.Tk()
37 ws = root.tk.call('tk', 'windowingsystem')
42 elif 'AppKit' in root.tk.call('winfo', 'server', '.'):
46 root.destroy()
120 def addOpenEventSupport(root, flist):
132 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
134 def hideTkConsole(root):
136 root.tk.call('console', 'hide')
141 def overrideRootMenu(root, flist):
143 Replace the Tk root men
[all...]
/third_party/cJSON/
H A Dtest.c43 static int print_preallocated(cJSON *root) in print_preallocated() argument
53 out = cJSON_Print(root); in print_preallocated()
75 if (!cJSON_PrintPreallocated(root, buf, (int)len, 1)) { in print_preallocated()
92 if (cJSON_PrintPreallocated(root, buf_fail, (int)len_fail, 1)) { in print_preallocated()
112 cJSON *root = NULL; in create_objects() local
168 root = cJSON_CreateObject(); in create_objects()
169 cJSON_AddItemToObject(root, "name", cJSON_CreateString("Jack (\"Bee\") Nimble")); in create_objects()
170 cJSON_AddItemToObject(root, "format", fmt = cJSON_CreateObject()); in create_objects()
178 if (print_preallocated(root) != 0) { in create_objects()
179 cJSON_Delete(root); in create_objects()
[all...]
/third_party/selinux/libsepol/cil/test/unit/
H A Dtest_cil_resolve_ast.c80 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name()
82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name()
104 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name_invalid_type_neg()
106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name_invalid_type_neg()
118 test_db->ast->root = NULL; in test_cil_resolve_ast_curr_null_neg()
120 int rc = cil_resolve_ast(test_db, test_db->ast->root); in test_cil_resolve_ast_curr_null_neg()
143 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_roleallow()
[all...]
H A Dtest_cil_build_ast.c70 test_current = test_tree->root->cl_head->cl_head; in test_cil_parse_to_list()
101 test_current = test_tree->root->cl_head->cl_head; in test_cil_parse_to_list_currnull_neg()
132 test_current = test_tree->root->cl_head->cl_head; in test_cil_parse_to_list_listnull_neg()
164 int rc = cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_set_to_list()
188 test_tree->root->cl_head = NULL; in test_cil_set_to_list_cl_head_null_neg()
190 int rc = cil_set_to_list(test_tree->root, cil_l, 1); in test_cil_set_to_list_cl_head_null_neg()
201 int rc = cil_set_to_list(test_tree->root, NULL, 1); in test_cil_set_to_list_listnull_neg()
218 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block()
221 int rc = cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_gen_block()
240 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block_justblock_neg()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DTranslatorMetalDirect.cpp196 TIntermBlock *root, in ReplaceGLDepthRangeWithDriverUniform()
208 return ReplaceVariableWithTyped(compiler, root, depthRangeVar, angleEmulatedDepthRangeRef); in ReplaceGLDepthRangeWithDriverUniform()
211 TIntermSequence *GetMainSequence(TIntermBlock *root) in GetMainSequence() argument
213 TIntermFunctionDefinition *main = FindMain(root); in GetMainSequence()
219 TIntermBlock *root, in RotateAndFlipBuiltinVariable()
240 DeclareGlobalVariable(root, replacementVar); in RotateAndFlipBuiltinVariable()
244 if (!ReplaceVariable(compiler, root, builtin, replacementVar)) in RotateAndFlipBuiltinVariable()
282 return compiler->validateAST(root); in RotateAndFlipBuiltinVariable()
287 TIntermBlock *root, in InsertFragCoordCorrection()
317 return RotateAndFlipBuiltinVariable(compiler, root, insertSequenc in InsertFragCoordCorrection()
195 ReplaceGLDepthRangeWithDriverUniform(TCompiler *compiler, TIntermBlock *root, const DriverUniformMetal *driverUniforms, TSymbolTable *symbolTable) ReplaceGLDepthRangeWithDriverUniform() argument
218 RotateAndFlipBuiltinVariable(TCompiler *compiler, TIntermBlock *root, TIntermSequence *insertSequence, TIntermTyped *flipXY, TSymbolTable *symbolTable, const TVariable *builtin, const Name &flippedVariableName, TIntermTyped *pivot, TIntermTyped *fragRotation) RotateAndFlipBuiltinVariable() argument
285 InsertFragCoordCorrection(TCompiler *compiler, ShCompileOptions compileOptions, TIntermBlock *root, TIntermSequence *insertSequence, TSymbolTable *symbolTable, SpecConst *specConst, const DriverUniformMetal *driverUniforms) InsertFragCoordCorrection() argument
321 DeclareRightBeforeMain(TIntermBlock &root, const TVariable &var) DeclareRightBeforeMain() argument
326 AddFragColorDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) AddFragColorDeclaration() argument
332 AddFragDepthDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) AddFragDepthDeclaration() argument
338 AddFragDepthEXTDeclaration(TCompiler &compiler, TIntermBlock &root, TSymbolTable &symbolTable) AddFragDepthEXTDeclaration() argument
350 AddSampleMaskDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) AddSampleMaskDeclaration() argument
360 AddFragDataDeclaration(TCompiler &compiler, TIntermBlock &root) AddFragDataDeclaration() argument
412 EmulateInstanceID(TCompiler &compiler, TIntermBlock &root, DriverUniform &driverUniforms) EmulateInstanceID() argument
421 AppendVertexShaderTransformFeedbackOutputToMain(TCompiler &compiler, SymbolEnv &mSymbolEnv, TIntermBlock &root) AppendVertexShaderTransformFeedbackOutputToMain() argument
438 AppendVertexShaderPositionYCorrectionToMain(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable, TIntermTyped *negFlipY) AppendVertexShaderPositionYCorrectionToMain() argument
479 insertSampleMaskWritingLogic( TIntermBlock &root, DriverUniformMetal &driverUniforms) insertSampleMaskWritingLogic() argument
533 insertRasterizationDiscardLogic(TIntermBlock &root) insertRasterizationDiscardLogic() argument
576 transformDepthBeforeCorrection(TIntermBlock *root, const DriverUniformMetal *driverUniforms) transformDepthBeforeCorrection() argument
608 appendVertexShaderDepthCorrectionToMain(TIntermBlock *root) appendVertexShaderDepthCorrectionToMain() argument
650 translateImpl(TInfoSinkBase &sink, TIntermBlock *root, ShCompileOptions compileOptions, PerformanceDiagnostics * , SpecConst *specConst, DriverUniformMetal *driverUniforms) translateImpl() argument
1164 translate(TIntermBlock *root, ShCompileOptions compileOptions, PerformanceDiagnostics *perfDiagnostics) translate() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/type42/
H A Dt42parse.c114 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root )
115 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root )
118 (p)->root.funcs.to_int( &(p)->root )
120 (p)->root.funcs.to_bytes( &(p)->root, b, m, n, d )
123 (p)->root.funcs.to_fixed_array( &(p)->root,
[all...]
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1objs.c58 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs()
63 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs()
102 T1_Face face = (T1_Face)size->root.face; in FT_LOCAL_DEF()
105 error = funcs->create( size->root.face->memory, in FT_LOCAL_DEF()
125 error = FT_Request_Metrics( size->root.face, req ); in FT_LOCAL_DEF()
131 size->root.metrics.x_scale, in FT_LOCAL_DEF()
132 size->root.metrics.y_scale, in FT_LOCAL_DEF()
168 module = FT_Get_Module( slot->face->driver->root.library, in FT_LOCAL_DEF()
214 memory = face->root in T1_Face_Done()
375 FT_Face root = (FT_Face)&face->root; FT_LOCAL_DEF() local
513 FT_Face root = &face->root; FT_LOCAL_DEF() local
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
H A Dnode.js1 // inventory, path, realpath, root, and parent
3 // node.root is a reference to the root module in the tree (ie, typically the
6 // node.location is the /-delimited path from the root module to the node. In
7 // the case of link targets that may be outside of the root's package tree,
9 // root module is always '.'. node.location thus never contains drive letters
20 // Setting node.parent will set the node's root to the parent's root, as well
25 // root by that name. It's empty for non-root node
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_editor.py17 cls.root = Tk()
18 cls.root.withdraw()
22 cls.root.update_idletasks()
23 for id in cls.root.tk.call('after', 'info'):
24 cls.root.after_cancel(id)
25 cls.root.destroy()
26 del cls.root
29 e = Editor(root=self.root)
30 self.assertEqual(e.root, sel
[all...]
/third_party/skia/third_party/externals/freetype/src/cid/
H A Dcidparse.h41 * root ::
42 * The root PS_ParserRec fields.
70 PS_ParserRec root; member
103 (p)->root.funcs.skip_spaces( &(p)->root )
105 (p)->root.funcs.skip_PS_token( &(p)->root )
107 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root )
108 #define cid_parser_to_fixed( p, t ) (p)->root
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DTextFormatParseInfoTreeTest.java72 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation()
73 assertEquals(LOC0, root.getLocation(OPTIONAL_INT32, 0)); in testGetLocationReturnsSingleLocation()
74 assertEquals(1, root.getLocations(OPTIONAL_INT32).size()); in testGetLocationReturnsSingleLocation()
80 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField()
81 assertTrue(root.getLocations(OPTIONAL_INT32).isEmpty()); in testGetLocationsReturnsNoParseLocationsForUnknownField()
82 assertEquals(LOC0, root.getLocations(OPTIONAL_BOOLEAN).get(0)); in testGetLocationsReturnsNoParseLocationsForUnknownField()
87 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationThrowsIllegalArgumentExceptionForUnknownField()
89 root.getNestedTree(OPTIONAL_INT32, 0); in testGetLocationThrowsIllegalArgumentExceptionForUnknownField()
97 TextFormatParseInfoTree root = rootBuilder.setLocation(OPTIONAL_INT32, LOC0).build(); in testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()
99 root in testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()
[all...]
/third_party/rust/crates/memoffset/src/
H A Dspan_of.rs96 (@helper $root:ident, [] ..=) => {
99 (@helper $root:ident, [] ..) => {
103 (@helper $root:ident, $parent:path, [] ..) => {{
104 ($root as usize,
105 $root as usize + $crate::__priv::size_of_pointee($root))
107 (@helper $root:ident, $parent:path, [] ..= $end:tt) => {{
108 let end = raw_field!($root, $parent, $end);
109 ($root as usize, end as usize + $crate::__priv::size_of_pointee(end))
111 (@helper $root
[all...]
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dbuild_tree.py13 """Whether the given directory looks like the root of the PSA Crypto source tree."""
18 """Whether the given directory looks like the root of the Mbed TLS source tree."""
25 def crypto_core_directory(root: Optional[str] = None, relative: Optional[bool] = False) -> str:
33 if root is None:
34 root = guess_project_root()
35 if looks_like_tf_psa_crypto_root(root):
38 return os.path.join(root, "core")
39 elif looks_like_mbedtls_root(root):
42 return os.path.join(root, "library")
46 def crypto_library_filename(root
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Drbtree.h77 #define RB_EMPTY_ROOT(root) RB_EMPTY((struct linux_root *)root)
81 #define rb_insert_color(node, root) \
82 linux_root_RB_INSERT_COLOR((struct linux_root *)(root), (node))
83 #define rb_erase(node, root) \
84 (void)linux_root_RB_REMOVE((struct linux_root *)(root), (node))
87 #define rb_first(root) RB_MIN(linux_root, (struct linux_root *)(root))
88 #define rb_last(root) RB_MAX(linux_root, (struct linux_root *)(root))
102 rb_replace_node(struct rb_node *victim, struct rb_node *newnode, struct rb_root *root) rb_replace_node() argument
123 rb_insert_color_cached(struct rb_node *node, struct rb_root_cached *root, bool leftmost) rb_insert_color_cached() argument
132 rb_erase_cached(struct rb_node *node, struct rb_root_cached *root) rb_erase_cached() argument
145 rb_replace_node_cached(struct rb_node *old, struct rb_node *new, struct rb_root_cached *root) rb_replace_node_cached() argument
[all...]

Completed in 39 milliseconds

12345678910>>...69