/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/ |
D | decimalPlurals.txt | 9 bs "", "v = 0 o f % 10 = 1 a f % 100 ! 11", "", "v = 0 o f % 10 = 2<4 a f % 100 ! 12<14", "", "" 25 hr "", "v = 0 o f % 10 = 1 a f % 100 ! 11", "", "v = 0 o f % 10 = 2<4 a f % 100 ! 12<14", "", "" 38 lt "", "", "", "", "f ! 0", "" 39 lv "v = 2 a f % 100 = 11<19", "v = 2 a f % 10 = 1 a f % 100 ! 11 o v ! 2 a f % 10 = 1", "", "", "",… 40 mk "", "v = 0 o f % 10 = 1 a f % 100 ! 11", "", "", "", "" 55 si "", "i = 0 a f = 1", "", "", "", "" 58 sr "", "v = 0 o f % 10 = 1 a f % 100 ! 11", "", "v = 0 o f % 10 = 2<4 a f % 100 ! 12<14", "", "" 64 tl "", "v = 0 o v = 0 o v ! 0 a f % 10 ! 4,6,9", "", "", "", ""
|
/base/startup/init/scripts/ |
D | param_cfg_to_code.py | 77 with open(code_name, "w") as f: 79 f.seek(0) 81 f.write('#ifndef PARAM_LITE_DEF_CFG_' + os.linesep) 82 f.write('#define PARAM_LITE_DEF_CFG_' + os.linesep) 83 f.write('#include <stdint.h>' + os.linesep + os.linesep) 84 f.write('#ifdef __cplusplus' + os.linesep) 85 f.write('#if __cplusplus' + os.linesep) 86 f.write('extern "C" {' + os.linesep) 87 f.write('#endif' + os.linesep) 88 f.write('#endif' + os.linesep + os.linesep) [all …]
|
/base/update/updater/test/fuzztest/fuzz_src_data/ |
D | test_native.us | 11 f = 1000; 12 Stdout(f); 18 f = a + b; 19 return f, a, b; 23 f = a + b; 24 return f, a, b;
|
D | test_math.us | 7 f = (a + b) / (a - 3); 13 f = e1 * 100; 15 //f = f / 0; 17 Stdout(a, b, c, f);
|
D | test_function.us | 4 f = a + b; 5 return f, a, b; 10 f = a + b; 11 return f, a, b;
|
D | testscript.us | 15 f = a + b; 16 return f, a, b; 20 f = a + b; 21 return f, a, b;
|
/base/update/updater/test/unittest/test_data/src/ |
D | test_native.us | 11 f = 1000; 12 Stdout(f); 18 f = a + b; 19 return f, a, b; 23 f = a + b; 24 return f, a, b;
|
D | test_math.us | 7 f = (a + b) / (a - 3); 13 f = e1 * 100; 15 //f = f / 0; 17 Stdout(a, b, c, f);
|
D | test_function.us | 4 f = a + b; 5 return f, a, b; 10 f = a + b; 11 return f, a, b;
|
D | testscript.us | 15 f = a + b; 16 return f, a, b; 20 f = a + b; 21 return f, a, b;
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
D | cert_manager_status.h | 52 #define ASSERT_FUNC(f) if (CMR_OK != (f)) { CM_LOG_W("Failed: %s\n", #f); return CMR_ERROR; } argument 54 #define ASSERT_CM_CALL(f) do {int32_t _rc = (f); if ((_rc) != CM_SUCCESS) { return CM_ERROR((_rc));… argument 56 #define TRY_FUNC(f, rc) do { \ argument 57 (rc) = (f); if ((rc)) { CM_LOG_W("Failed: %s, %d\n", #f, (rc)); goto finally; }} while (0) 65 #define TRY_HKS_CALL(f, rc) do {int32_t _rc = (f); if ((_rc) != HKS_SUCCESS) { \ argument 66 CM_LOG_W("Failed: %s, %d\n", #f, (_rc)); (rc) = CM_ERROR((_rc)); goto finally; }} while (0)
|
/base/hiviewdfx/hievent_lite/frameworks/ |
D | hiview_output_event.c | 99 static void GetEventCache(uint8 type, HiviewCache **c, HiviewFile **f); 174 HiviewFile *f = NULL; in CloseEventOutputFile() local 175 GetEventCache(type, &c, &f); in CloseEventOutputFile() 179 CloseHiviewFile(f); in CloseEventOutputFile() 232 HiviewFile *f = NULL; in OutputEvent() local 233 GetEventCache(event->type, &c, &f); in OutputEvent() 283 HiviewFile *f = NULL; in OutputEventRealtime() local 290 GetEventCache(event.type, &c, &f); in OutputEventRealtime() 324 HiviewFile *f = NULL; in Output2Flash() local 329 GetEventCache((uint8)eventType, &c, &f); in Output2Flash() [all …]
|
/base/powermgr/powermgr_lite/services/src/ |
D | screen_saver_feature.c | 42 ScreenSaverFeature *f = (ScreenSaverFeature *)feature; in OnScreenSaverFeatureInitialize() local 43 f->identity = identity; in OnScreenSaverFeatureInitialize() 52 ScreenSaverFeature *f = GetScreenSaverFeatureImpl(); in OnScreenSaverFeatureStop() local 53 if (f != NULL) { in OnScreenSaverFeatureStop() 54 f->identity.queueId = NULL; in OnScreenSaverFeatureStop() 55 f->identity.featureId = -1; in OnScreenSaverFeatureStop() 56 f->identity.serviceId = -1; in OnScreenSaverFeatureStop()
|
D | power_manage_feature.c | 40 PowerManageFeature *f = (PowerManageFeature *)feature; in OnPowerManageFeatureInitialize() local 41 f->identity = identity; in OnPowerManageFeatureInitialize() 49 PowerManageFeature *f = GetPowerManageFeatureImpl(); in OnPowerManageFeatureStop() local 50 if (f != NULL) { in OnPowerManageFeatureStop() 51 f->identity.queueId = NULL; in OnPowerManageFeatureStop() 52 f->identity.featureId = -1; in OnPowerManageFeatureStop() 53 f->identity.serviceId = -1; in OnPowerManageFeatureStop()
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
D | event_handler_post_task_module_test.cpp | 62 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anon8b61d4f90102() variable 66 bool postResult = handler->PostTask(f, taskName, delayTime, EventQueue::Priority::LOW); 88 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anon8b61d4f90202() variable 92 bool postResult = handler->PostTask(f, delayTime, EventQueue::Priority::HIGH); 113 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anon8b61d4f90302() variable 117 bool postResult = handler->PostImmediateTask(f, taskName); 139 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anon8b61d4f90402() variable 143 bool postResult = handler->PostHighPriorityTask(f, taskName, delayTime); 164 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anon8b61d4f90502() variable 168 bool postResult = handler->PostHighPriorityTask(f, delayTime); [all …]
|
D | event_handler_send_sync_event_module_test.cpp | 33 void WaitTaskCalled(const F &f, const std::shared_ptr<EventHandler> &handler) in WaitTaskCalled() argument 36 if (handler->PostTask(f)) { in WaitTaskCalled() 65 auto f = [](int *intPtr) { delete intPtr; }; in SendEventWithSmartPtr() local 66 auto uniquePtr = std::unique_ptr<int, void (*)(int *)>((new int(1)), f); in SendEventWithSmartPtr() 69 auto task = [&handler, &result, &sharedPtr, &weakPtr, &uniquePtr, &f, smartPointerType]() { in SendEventWithSmartPtr() 84 …ult = handler->SendSyncEvent(RUN_EVENT_ID, std::unique_ptr<int, void (*)(int *)>((new int(1)), f)); in SendEventWithSmartPtr() 190 auto f = [&handler, &event]() { in __anon57b069880402() variable 194 WaitTaskCalled(f, handler); 238 auto f = [&handler]() { in __anon57b069880502() variable 242 WaitTaskCalled(f, handler); [all …]
|
D | event_handler_set_get_remove_module_test.cpp | 156 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anoncb04b4590102() variable 157 auto event = InnerEvent::Get(f); 202 auto f = [&myHandler, &handler]() { myHandler = handler->Current(); }; in __anoncb04b4590202() variable 204 handler->PostTask(f); 244 auto f = [&handler, &myHandler]() { in __anoncb04b4590302() variable 254 handler->PostTask(f); 273 auto f = [&taskCalledCount]() { taskCalledCount++; }; in __anoncb04b4590502() variable 278 handler->PostTask(f, delayTime, EventQueue::Priority::HIGH); 414 auto f = []() { CommonUtils::TaskCalledSet(true); }; in __anoncb04b4590602() variable 417 handler->PostTask(f, taskName);
|
/base/update/updater/services/flashd/ |
D | Readme.md | 38 使用方法:`hdc_std format [-f] data` 40 (1) -f可选,表示强制执行命令,不需要用户确认,如果没有-f参数,客户端等待用户确认: 46 使用方法:`hdc_std erase [-f] parition_x ` 49 (2) -f可选,表示强制执行命令,不需要用户确认,如果没有-f参数,客户端等待用户确认:
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_event_runner_test.cpp | 43 static void WaitUntilTaskCalled(F const &f, const std::shared_ptr<EventHandler> &handler, const std… in WaitUntilTaskCalled() argument 48 if (handler->PostTask(f)) { in WaitUntilTaskCalled() 71 auto f = [&sameThreadName, &taskCalled, &threadName]() { in CreateRunnerWithName() local 85 WaitUntilTaskCalled(f, handler, taskCalled); in CreateRunnerWithName() 140 auto f = [&taskCalled]() { taskCalled.store(true); }; in __anon1fbc2ed60202() variable 146 WaitUntilTaskCalled(f, handler, taskCalled); 163 auto f = [&runner]() { runner->Stop(); }; in __anon1fbc2ed60302() variable 170 if (handler->PostTask(f)) { 236 auto f = [&runner]() { in __anon1fbc2ed60502() variable 242 std::thread newThread(f); [all …]
|
D | lib_event_handler_checker_test.cpp | 85 auto f = []() { in __anon279177500202() variable 107 handler->PostTask(f); 137 auto f = []() { in __anon279177500602() variable 159 handler->PostTask(f); 188 auto f = []() { in __anon279177500a02() variable 210 handler->PostTask(f, "eventHandlerCheckTest");
|
/base/update/updater/test/unittest/log_test/ |
D | log_unittest.cpp | 47 fstream f; variable 48 f.open("/data/updater/m_log.txt", ios::in); 50 f.getline(ch, 100); 53 f.close(); 58 f.close();
|
/base/notification/eventhandler/test/systemtest/ems_inner_event_system_test/ |
D | ems_inner_event_system_test.cpp | 43 auto f = [&callbackCalled]() { callbackCalled = true; }; in TestTaskInfo1() local 44 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo1() 57 auto f = [&callbackCalled]() { callbackCalled = true; }; in TestTaskInfo2() local 58 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo2() 71 auto f = [&callbackCalled]() { callbackCalled = true; }; in TestTaskInfo3() local 72 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo3() 85 auto f = [&callbackCalled]() { callbackCalled = true; }; in TestTaskInfo4() local 86 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo4() 99 auto f = [&callbackCalled]() { callbackCalled = true; }; in TestTaskInfo5() local 100 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo5()
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_thread_handler.h | 39 ON_CALL(*handler, PostTask).WillByDefault([](const ThreadHandler::Task &f) { in InvokeDirectly() 40 if (f) { in InvokeDirectly() 41 f(); in InvokeDirectly()
|
/base/telephony/data_storage/common/src/ |
D | parser_util.cpp | 265 FILE *f = fopen(realPath, "rb"); in LoaderJsonFile() local 266 if (f == nullptr) { in LoaderJsonFile() 270 int ret_seek_end = fseek(f, 0, SEEK_END); in LoaderJsonFile() 273 CloseFile(f); in LoaderJsonFile() 276 len = ftell(f); in LoaderJsonFile() 277 int ret_seek_set = fseek(f, 0, SEEK_SET); in LoaderJsonFile() 280 CloseFile(f); in LoaderJsonFile() 285 CloseFile(f); in LoaderJsonFile() 291 CloseFile(f); in LoaderJsonFile() 298 CloseFile(f); in LoaderJsonFile() [all …]
|
/base/update/updater/services/fs_manager/ |
D | partitions.cpp | 85 FILE *f = nullptr; in ReadDeviceSysfsFile() local 97 if ((f = fopen(realPath, "r")) == nullptr) { in ReadDeviceSysfsFile() 102 if (fgets(buf, BUFFER_SIZE, f) == nullptr) { in ReadDeviceSysfsFile() 103 fclose(f); in ReadDeviceSysfsFile() 108 fclose(f); in ReadDeviceSysfsFile() 155 FILE *f = nullptr; in ReadPartitionFromSys() local 169 if ((f = fopen(nameBuf, "r")) == nullptr) { in ReadPartitionFromSys() 173 while (!feof(f)) { in ReadPartitionFromSys() 174 …UPDATER_CHECK_ONLY_RETURN(fgets(buf, BUFFER_SIZE, f) != nullptr, fclose(f); free(partInf); return … in ReadPartitionFromSys() 179 sizeof(buf) - table.size()) == 0, fclose(f); free(partInf); return partString); in ReadPartitionFromSys() [all …]
|