Home
last modified time | relevance | path

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

12345678910>>...90

/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...]
/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_listener.cpp59 Json::Value root; in OnEvent() local
63 if (parseFromStream(reader, is, &root, &errors)) { in OnEvent()
64 ProcessHiSysEvent(eventName, root); in OnEvent()
70 void BatteryStatsListener::ProcessHiSysEvent(const std::string& eventName, const Json::Value& root) in ProcessHiSysEvent() argument
77 ProcessWakelockEvent(data, root); in ProcessHiSysEvent()
80 ProcessDispalyEvent(data, root, eventName); in ProcessHiSysEvent()
82 ProcessBatteryEvent(data, root); in ProcessHiSysEvent()
86 ProcessThermalEvent(data, root); in ProcessHiSysEvent()
90 ProcessWorkschedulerEvent(data, root); in ProcessHiSysEvent()
92 ProcessPhoneEvent(data, root, eventNam in ProcessHiSysEvent()
119 ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessCameraEvent() argument
148 ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessAudioEvent() argument
174 ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessSensorEvent() argument
198 ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessGnssEvent() argument
216 ProcessBluetoothBrEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessBluetoothBrEvent() argument
250 ProcessBluetoothBleEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessBluetoothBleEvent() argument
280 ProcessBluetoothEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessBluetoothEvent() argument
291 ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessWifiEvent() argument
317 ProcessPhoneDebugInfo(StatsUtils::StatsData& data, const Json::Value& root) ProcessPhoneDebugInfo() argument
333 ProcessPhoneEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessPhoneEvent() argument
372 ProcessFlashlightEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessFlashlightEvent() argument
390 ProcessWakelockEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessWakelockEvent() argument
441 ProcessDispalyDebugInfo(StatsUtils::StatsData& data, const Json::Value& root) ProcessDispalyDebugInfo() argument
469 ProcessDispalyEvent(StatsUtils::StatsData& data, const Json::Value& root, const std::string& eventName) ProcessDispalyEvent() argument
499 ProcessBatteryEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessBatteryEvent() argument
519 ProcessThermalEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessThermalEvent() argument
546 ProcessPowerWorkschedulerEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessPowerWorkschedulerEvent() argument
566 ProcessOthersWorkschedulerEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessOthersWorkschedulerEvent() argument
595 ProcessWorkschedulerEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessWorkschedulerEvent() argument
607 ProcessDistributedSchedulerEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessDistributedSchedulerEvent() argument
636 ProcessAlarmEvent(StatsUtils::StatsData& data, const Json::Value& root) ProcessAlarmEvent() argument
[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...]
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_hisysevent.cpp49 Json::Value root; in WriteWifiStateHiSysEvent() local
51 root["WIFI_STATE"] = static_cast<int>(operType); in WriteWifiStateHiSysEvent()
52 root["TYPE"] = serviceType; in WriteWifiStateHiSysEvent()
53 WriteEvent("WIFI_CHR_EVENT", "EVENT_NAME", "EVENT_WIFI_STATE", "EVENT_VALUE", writer.write(root)); in WriteWifiStateHiSysEvent()
93 Json::Value root; in WriteWifiOperateStateHiSysEvent() local
95 root["OPERATE_TYPE"] = operateType; in WriteWifiOperateStateHiSysEvent()
96 root["OPERATE_STATE"] = operateState; in WriteWifiOperateStateHiSysEvent()
97 WriteEvent("WIFI_CHR_EVENT", "EVENT_NAME", "WIFI_OPERATE_STATE", "EVENT_VALUE", writer.write(root)); in WriteWifiOperateStateHiSysEvent()
102 Json::Value root; in WriteWifiAbnormalDisconnectHiSysEvent() local
104 root["ERROR_COD in WriteWifiAbnormalDisconnectHiSysEvent()
110 Json::Value root; WriteWifiConnectionInfoHiSysEvent() local
118 Json::Value root; WriteWifiOpenAndCloseFailedHiSysEvent() local
129 Json::Value root; WriteSoftApOpenAndCloseFailedEvent() local
138 Json::Value root; WriteWifiAccessIntFailedHiSysEvent() local
147 Json::Value root; WriteWifiPnoScanHiSysEvent() local
156 Json::Value root; WriteBrowserFailedForPortalHiSysEvent() local
165 Json::Value root; WriteWifiConnectFailedEventHiSysEvent() local
173 Json::Value root; WriteP2pKpiCountHiSysEvent() local
181 Json::Value root; WriteP2pConnectFailedHiSysEvent() local
190 Json::Value root; WriteP2pAbDisConnectHiSysEvent() local
199 Json::Value root; WriteSoftApAbDisconnectHiSysEvent() local
207 Json::Value root; WriteIsInternetHiSysEvent() local
216 Json::Value root; WriteSoftApConnectFailHiSysEvent() local
224 Json::Value root; WriteWifiScanApiFailHiSysEvent() local
233 Json::Value root; WriteWifiEncryptionFailHiSysEvent() local
244 Json::Value root; WritePortalStateHiSysEvent() local
252 Json::Value root; WriteArpInfoHiSysEvent() local
261 Json::Value root; WriteLinkInfoHiSysEvent() local
272 Json::Value root; WirteConnectTypeHiSysEvent() local
280 Json::Value root; WriteWifiWpaStateHiSysEvent() local
289 Json::Value root; WritePortalAuthExpiredHisysevent() local
310 Json::Value root; WriteWifiSelfcureHisysevent() local
[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...]
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/
H A Dhisysevent_observer.cpp46 {"RUNNINGLOCK", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
47 this->ProcessRunningLockEvent(root, eventName); in HiSysEventObserver()
49 {"STREAM_CHANGE", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
50 this->ProcessAudioEvent(root, eventName); in HiSysEventObserver()
52 {"CAMERA_CONNECT", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
53 this->ProcessCameraEvent(root, eventName); in HiSysEventObserver()
55 {"CAMERA_DISCONNECT", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
56 this->ProcessCameraEvent(root, eventName); in HiSysEventObserver()
58 {"BR_SWITCH_STATE", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
59 this->ProcessBluetoothEvent(root, eventNam in HiSysEventObserver()
100 nlohmann::json root = nlohmann::json::parse(eventDetail, nullptr, false); OnEvent() local
116 ProcessHiSysEvent(const std::string& eventName, const nlohmann::json& root) ProcessHiSysEvent() argument
132 ProcessAvCodecEvent(const nlohmann::json& root, const std::string& eventName) ProcessAvCodecEvent() argument
165 ProcessRunningLockEvent(const nlohmann::json& root, const std::string& eventName) ProcessRunningLockEvent() argument
218 ProcessAudioEvent(const nlohmann::json& root, const std::string& eventName) ProcessAudioEvent() argument
265 ProcessCameraEvent(const nlohmann::json& root, const std::string& eventName) ProcessCameraEvent() argument
290 ProcessBluetoothEvent(const nlohmann::json& root, const std::string& eventName) ProcessBluetoothEvent() argument
325 ProcessWifiEvent(const nlohmann::json& root, const std::string& eventName) ProcessWifiEvent() argument
[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/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/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...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_message.c367 static int32_t PackHandshakeMsgForFastData(AppInfo *appInfo, cJSON *root) in PackHandshakeMsgForFastData() argument
371 if (!AddNumberToJsonObject(root, JSON_KEY_ROUTE_TYPE, appInfo->routeType)) { in PackHandshakeMsgForFastData()
396 if (!AddStringToJsonObject(root, JSON_KEY_FIRST_DATA, (const char *)encodeFastData)) { in PackHandshakeMsgForFastData()
405 if (!AddNumber16ToJsonObject(root, JSON_KEY_FIRST_DATA_SIZE, appInfo->fastTransDataSize)) { in PackHandshakeMsgForFastData()
412 static int32_t PackHandshakeMsgForNormal(SessionKeyBase64 *sessionBase64, AppInfo *appInfo, cJSON *root) in PackHandshakeMsgForNormal() argument
422 if (!AddNumberToJsonObject(root, JSON_KEY_UID, appInfo->myData.uid) || in PackHandshakeMsgForNormal()
423 !AddNumberToJsonObject(root, JSON_KEY_PID, appInfo->myData.pid) || in PackHandshakeMsgForNormal()
424 !AddStringToJsonObject(root, JSON_KEY_GROUP_ID, appInfo->groupId) || in PackHandshakeMsgForNormal()
425 !AddStringToJsonObject(root, JSON_KEY_PKG_NAME, appInfo->myData.pkgName) || in PackHandshakeMsgForNormal()
426 !AddStringToJsonObject(root, JSON_KEY_SESSION_KE in PackHandshakeMsgForNormal()
448 cJSON *root = NULL; TransProxyPackHandshakeErrMsg() local
467 TransProxyAddJsonObject(cJSON *root, ProxyChannelInfo *info) TransProxyAddJsonObject() argument
483 cJSON *root = cJSON_CreateObject(); TransProxyPackHandshakeMsg() local
530 cJSON *root = NULL; TransProxyPackHandshakeAckMsg() local
589 cJSON *root = cJSON_ParseWithLength(msg, len); TransProxyUnPackHandshakeErrMsg() local
612 cJSON *root = cJSON_ParseWithLength(msg, len); TransProxyUnPackRestErrMsg() local
636 cJSON *root = cJSON_ParseWithLength(msg, len); TransProxyUnpackHandshakeAckMsg() local
685 UnpackPackHandshakeMsgForFastData(AppInfo *appInfo, cJSON *root) UnpackPackHandshakeMsgForFastData() argument
728 TransProxyUnpackNormalHandshakeMsg(cJSON *root, AppInfo *appInfo, char *sessionKey, int32_t keyLen) TransProxyUnpackNormalHandshakeMsg() argument
773 TransProxyUnpackAuthHandshakeMsg(cJSON *root, AppInfo *appInfo) TransProxyUnpackAuthHandshakeMsg() argument
787 TransProxyUnpackInnerHandshakeMsg(cJSON *root, AppInfo *appInfo, char *sessionKey, int32_t keyLen) TransProxyUnpackInnerHandshakeMsg() argument
803 TransProxyGetJsonObject(cJSON *root, const char *msg, int32_t len, ProxyChannelInfo *chan) TransProxyGetJsonObject() argument
828 cJSON *root = cJSON_ParseWithLength(msg, len); TransProxyUnpackHandshakeMsg() local
867 cJSON *root = NULL; TransProxyPackIdentity() local
894 cJSON *root = NULL; TransProxyUnpackIdentity() local
[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...]
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dnetfirewall_default_rule_parser_test.cpp57 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
65 cJSON_AddItemToObject(root, NET_FIREWALL_LOCAL_IP.c_str(), localIps); in HWTEST_F()
66 std::cout << "ParseIpList001 root=" << cJSON_Print(root) << std::endl; in HWTEST_F()
68 NetFirewallDefaultRuleParser::ParseIpList(list, root, NET_FIREWALL_LOCAL_IP); in HWTEST_F()
74 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
80 cJSON_AddItemToObject(root, NET_FIREWALL_RULE_DOMAIN.c_str(), array); in HWTEST_F()
82 NetFirewallDefaultRuleParser::ParseDomainList(list, root, NET_FIREWALL_RULE_DOMAIN); in HWTEST_F()
88 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
92 cJSON_AddItemToObject(root, NET_FIREWALL_DN in HWTEST_F()
100 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
112 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
124 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
137 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_default_rule_parser_test.cpp57 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
65 cJSON_AddItemToObject(root, NET_FIREWALL_LOCAL_IP.c_str(), localIps); in HWTEST_F()
66 std::cout << "ParseIpList001 root=" << cJSON_Print(root) << std::endl; in HWTEST_F()
68 NetFirewallDefaultRuleParser::ParseIpList(list, root, NET_FIREWALL_LOCAL_IP); in HWTEST_F()
74 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
80 cJSON_AddItemToObject(root, NET_FIREWALL_RULE_DOMAIN.c_str(), array); in HWTEST_F()
82 NetFirewallDefaultRuleParser::ParseDomainList(list, root, NET_FIREWALL_RULE_DOMAIN); in HWTEST_F()
88 cJSON *root = cJSON_CreateObject(); in HWTEST_F() local
92 cJSON_AddItemToObject(root, NET_FIREWALL_DN in HWTEST_F()
100 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
112 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
124 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
137 cJSON *root = cJSON_CreateObject(); HWTEST_F() local
[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...]
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dconvert_utils.cpp75 cJSON *root = GetJsonAbilityInfo(abilityInfo); in ConvertAbilityInfoToString() local
76 if (root == nullptr) { in ConvertAbilityInfoToString()
79 char *str = cJSON_PrintUnformatted(root); in ConvertAbilityInfoToString()
80 cJSON_Delete(root); in ConvertAbilityInfoToString()
89 cJSON *root = GetJsonBundleInfo(bundleInfo); in ConvertBundleInfoToString() local
90 if (root == nullptr) { in ConvertBundleInfoToString()
93 char *str = cJSON_PrintUnformatted(root); in ConvertBundleInfoToString()
94 cJSON_Delete(root); in ConvertBundleInfoToString()
125 cJSON *root = cJSON_ParseWithLength(str, buffSize); in ConvertStringToAbilityInfo() local
126 if (root in ConvertStringToAbilityInfo()
153 cJSON *root = cJSON_ParseWithLength(str, buffSize); ConvertStringToBundleInfo() local
216 cJSON *root = cJSON_CreateObject(); GetJsonBundleInfo() local
237 ConvertBundleInfoPartToJson(const BundleInfo *bundleInfo, cJSON *root) ConvertBundleInfoPartToJson() argument
272 ConvertModuleInfosToJson(const BundleInfo *bundleInfo, cJSON *root) ConvertModuleInfosToJson() argument
298 ConvertAbilityInfosToJson(const BundleInfo *bundleInfo, cJSON *root) ConvertAbilityInfosToJson() argument
540 cJSON *root = cJSON_CreateObject(); GetJsonAbilityInfo() local
571 ConvertJsonToBundleInfo(const cJSON *root, BundleInfo *bundleInfo) ConvertJsonToBundleInfo() argument
771 ConvertJsonToAbilityInfo(const cJSON *root, AbilityInfo *abilityInfo) ConvertJsonToAbilityInfo() argument
[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...]

Completed in 24 milliseconds

12345678910>>...90