Searched refs:arg (Results 1 – 9 of 9) sorted by relevance
/ide/tools/previewer/cli/ |
D | CommandLine.h | 29 CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 83 bool IsBoolType(std::string arg) const; 84 bool IsIntType(std::string arg) const; 85 bool IsOneDigitFloatType(std::string arg, bool allowNegativeNumber) const; 110 TouchPressCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 120 TouchMoveCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 130 TouchReleaseCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 139 MouseWheelCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 149 BackClickedCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 158 RestartCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); [all …]
|
D | CommandLine.cpp | 41 CommandLine::CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket) in CommandLine() argument 42 : args(arg), cliSocket(socket), type(commandType), commandName("") in CommandLine() 142 bool CommandLine::IsBoolType(std::string arg) const in IsBoolType() 145 if (regex_match(arg, tofrx)) { in IsBoolType() 151 bool CommandLine::IsIntType(string arg) const in IsIntType() 154 return regex_match(arg, isInt); in IsIntType() 157 bool CommandLine::IsOneDigitFloatType(string arg, bool allowNegativeNumber) const in IsOneDigitFloatType() argument 161 return regex_match(arg, isFloat); in IsOneDigitFloatType() 164 return regex_match(arg, isFloat); in IsOneDigitFloatType() 212 TouchPressCommand::TouchPressCommand(CommandType commandType, const Json::Value& arg, const LocalSo… in TouchPressCommand() argument [all …]
|
/ide/tools/previewer/automock/mock-generate/src/generate/ |
D | generateCommonMethodSignature.ts | 67 value.args.forEach(arg => { 68 argSet.add(arg.paramName); 69 if (arg.paramName.toLowerCase().includes('callback')) { 71 if (arg.paramTypeString) { 72 argParamsSet = arg.paramTypeString; 76 arg.paramTypeString.startsWith("'") && arg.paramTypeString.endsWith("'") || 77 arg.paramTypeString.startsWith('"') && arg.paramTypeString.endsWith('"')
|
D | generateCommonFunction.ts | 76 value.args.forEach(arg => { 77 argSet.add(arg.paramName); 78 if (arg.paramName.toLowerCase().includes('callback')) { 80 if (arg.paramTypeString) { 81 argParamsSet = arg.paramTypeString; 85 arg.paramTypeString.startsWith("'") && arg.paramTypeString.endsWith("'") || 86 arg.paramTypeString.startsWith('"') && arg.paramTypeString.endsWith('"')
|
D | generateCommonMethod.ts | 76 value.args.forEach(arg => { 77 argSet.add(arg.paramName); 78 if (arg.paramName.toLowerCase().includes('callback')) { 80 if (arg.paramTypeString) { 81 argParamsSet = arg.paramTypeString; 85 arg.paramTypeString.startsWith("'") && arg.paramTypeString.endsWith("'") || 86 arg.paramTypeString.startsWith('"') && arg.paramTypeString.endsWith('"')
|
D | generateCommonUtil.ts | 523 functionBody.args.forEach(arg => { 525 arg.paramTypeString.startsWith("'") && arg.paramTypeString.endsWith("'") || 526 arg.paramTypeString.startsWith('"') && arg.paramTypeString.endsWith('"') 528 const paramTypeStringArr = arg.paramTypeString.split('|'); 531 …if (['callback', 'observercallback', 'listener', 'synccallback'].includes(arg.paramName.toLowerCas… 532 callbackParamContent += getCallbackBody(mockApi, arg.paramTypeString);
|
/ide/tools/previewer/mock/lite/ |
D | AsyncWorkManager.cpp | 44 void AsyncWorkManager::AppendAsyncWork(OHOS::ACELite::AsyncWorkHandler work, void* arg) in AppendAsyncWork() argument 47 workList.push_back(std::make_pair(work, arg)); in AppendAsyncWork()
|
D | AsyncWorkManager.h | 29 void AppendAsyncWork(OHOS::ACELite::AsyncWorkHandler work, void* arg);
|
D | GeoLocation.cpp | 43 …on(LocDataUpdateCallback callback, LocTimeoutCallback timeoutCallback, void *arg, uint32_t timeout) in GetGeoLocation() argument 46 (void)arg; in GetGeoLocation()
|