/interface/sdk-js/api/ |
D | @ohos.account.appAccount.d.ts | 62 addAccount(name: string, callback: AsyncCallback<void>): void; 78 addAccount(name: string, extraInfo: string, callback: AsyncCallback<void>): void; 94 addAccount(name: string, extraInfo?: string): Promise<void>; 112 createAccount(name: string, callback: AsyncCallback<void>): void; 132 createAccount(name: string, options: CreateAccountOptions, callback: AsyncCallback<void>): void; 152 createAccount(name: string, options?: CreateAccountOptions): Promise<void>; 222 deleteAccount(name: string, callback: AsyncCallback<void>): void; 236 deleteAccount(name: string): Promise<void>; 253 removeAccount(name: string, callback: AsyncCallback<void>): void; 270 removeAccount(name: string): Promise<void>; [all …]
|
D | @ohos.settings.d.ts | 998 function getURI(name: string, callback: AsyncCallback<object>): void; 1010 function getURI(name: string): Promise<object>; 1025 …function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<obje… 1041 function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>; 1054 function getValue(context: Context, name: string, callback: AsyncCallback<string>): void; 1067 function getValue(context: Context, name: string): Promise<string>; 1081 function getValue(context: Context, name: string, domainName: string): Promise<string>; 1098 …function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: Asy… 1115 …function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<bool… 1129 …function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>)… [all …]
|
D | @ohos.url.d.ts | 82 append(name: string, value: string): void; 93 delete(name: string): void; 105 getAll(name: string): string[]; 141 get(name: string): string | null; 153 has(name: string): boolean; 168 set(name: string, value: string): void; 334 append(name: string, value: string): void; 372 delete(name: string): void; 413 getAll(name: string): string[]; 527 get(name: string): string | null; [all …]
|
D | @ohos.hiviewdfx.hiAppEvent.d.ts | 482 name: string; property 620 …function setEventParam(params: Record<string, ParamType>, domain: string, name?: string): Promise<… 931 name: string; 973 name: string; 1121 function setUserId(name: string, value: string): void; 1136 function getUserId(name: string): string; 1151 function setUserProperty(name: string, value: string): void; 1166 function getUserProperty(name: string): string; 1195 name?: string; 1225 name: string;
|
D | @ohos.multimedia.drm.d.ts | 420 name: string; property 552 name: string; property 589 name: string; property 707 name: string; property 728 function getMediaKeySystemUuid(name: string): string; 752 function createMediaKeySystem(name: string): MediaKeySystem; 768 …function isMediaKeySystemSupported(name: string, mimeType: string, level: ContentProtectionLevel):… 783 function isMediaKeySystemSupported(name: string, mimeType: string): boolean; 797 function isMediaKeySystemSupported(name: string): boolean;
|
D | @ohos.data.preferences.d.ts | 169 name: string; property 238 …function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): voi… 328 function getPreferences(context: Context, name: string): Promise<Preferences>; 470 function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void; 578 function deletePreferences(context: Context, name: string): Promise<void>; 680 …function removePreferencesFromCache(context: Context, name: string, callback: AsyncCallback<void>)… 778 function removePreferencesFromCache(context: Context, name: string): Promise<void>; 858 function removePreferencesFromCacheSync(context: Context, name: string): void;
|
D | @ohos.xml.d.ts | 162 setAttributes(name: string, value: string): void; 200 addEmptyElement(name: string): void; 261 startElement(name: string): void; 1118 tagValueCallbackFunction?: (name: string, value: string) => boolean; 1141 attributeValueCallbackFunction?: (name: string, value: string) => boolean;
|
D | @ohos.runningLock.d.ts | 197 …function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback<RunningLoc… 214 function createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>; 233 function create(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void; 251 function create(name: string, type: RunningLockType): Promise<RunningLock>;
|
D | @ohos.app.ability.InsightIntentExecutor.d.ts | 58 …onExecuteInUIAbilityForegroundMode(name: string, param: Record<string, Object>, pageLoader: window… 72 onExecuteInUIAbilityBackgroundMode(name: string, param: Record<string, Object>): 86 …onExecuteInUIExtensionAbility(name: string, param: Record<string, Object>, pageLoader: UIExtension… 99 onExecuteInServiceExtensionAbility(name: string, param: Record<string, Object>):
|
D | @ohos.pluginComponent.d.ts | 91 name: string; property 158 name: string; property 215 name: string; property 272 name: string; property 384 type OnRequestEventCallback = (source: Want, name: string, data: KVObject) => RequestEventResult;
|
D | @ohos.hiTraceMeter.d.ts | 62 function startTrace(name: string, taskId: number): void; 76 function finishTrace(name: string, taskId: number): void; 86 function traceByValue(name: string, count: number): void;
|
D | @ohos.bytrace.d.ts | 64 function startTrace(name: string, taskId: number, expectedTime?: number): void; 80 function finishTrace(name: string, taskId: number): void; 92 function traceByValue(name: string, count: number): void;
|
/interface/sdk_c/third_party/libuv/include/uv/ |
D | tree.h | 64 #define SPLAY_HEAD(name, type) \ argument 65 struct name { \ 121 #define SPLAY_PROTOTYPE(name, type, field, cmp) \ argument 122 void name##_SPLAY(struct name *, struct type *); \ 123 void name##_SPLAY_MINMAX(struct name *, int); \ 124 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \ 125 struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \ 129 name##_SPLAY_FIND(struct name *head, struct type *elm) \ 133 name##_SPLAY(head, elm); \ 140 name##_SPLAY_NEXT(struct name *head, struct type *elm) \ [all …]
|
/interface/sdk_c/hiviewdfx/hiappevent/include/hiappevent/ |
D | hiappevent.h | 122 const char* name; member 140 const char* name; member 229 ParamList OH_HiAppEvent_AddBoolParam(ParamList list, const char* name, bool boolean); 242 ParamList OH_HiAppEvent_AddBoolArrayParam(ParamList list, const char* name, const bool* booleans, i… 254 ParamList OH_HiAppEvent_AddInt8Param(ParamList list, const char* name, int8_t num); 267 ParamList OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int… 279 ParamList OH_HiAppEvent_AddInt16Param(ParamList list, const char* name, int16_t num); 292 ParamList OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, i… 304 ParamList OH_HiAppEvent_AddInt32Param(ParamList list, const char* name, int32_t num); 317 ParamList OH_HiAppEvent_AddInt32ArrayParam(ParamList list, const char* name, const int32_t* nums, i… [all …]
|
/interface/sdk-js/build-tools/api_check_plugin/src/ |
D | check_hump.js | 48 if (node.name.escapedText) { 49 str = node.name.escapedText.toString(); 50 } else if (node.name.text) { 51 str = node.name.text.toString(); 56 function isConstantDecorator(node, name) { argument 57 return hasAPINote(node) && getApiInfo(node).isConstant && !checkAllUppercaseHump(name); 70 const name = getName(node); 71 if (!checkAllUppercaseHump(name)) { 72 checkResult = `This name [${name}] should be named by all uppercase.`; 76 const name = getName(node); [all …]
|
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
D | asynchronousFunctionProcessor.ts | 48 const apiName: string = node.name ? node.name.getText() : ''; 76 if (cNode.name && ts.isIdentifier(cNode.name)) { 77 functionName = cNode.name.escapedText.toString(); 81 preNode.name = functionName; 84 preNode.name = ''; 88 if (preNode.name === '') { 91 if (preNode.name === functionName) { 97 preNode.name = ''; 102 preNode.name = ''; 126 name: string; property in PreNode [all …]
|
/interface/sdk-js/build-tools/api_diff/src/ |
D | api_data.js | 287 EnumType: { name: '枚举', code: 0 }, property 288 EnumMember: { name: '枚举成员', code: 1 }, property 289 ClassType: { name: '类', code: 2 }, property 290 ClassProperty: { name: '类属性', code: 3 }, property 291 ClassMethod: { name: '类方法', code: 4 }, property 292 InterfaceType: { name: '接口', code: 5 }, property 293 InterfaceMethod: { name: '接口方法', code: 6 }, property 294 InterfaceProperty: { name: '接口属性', code: 7 }, property 295 ExportType: { name: '类型导出', code: 8 }, property 296 FunctionType: { name: '方法', code: 9 }, property [all …]
|
D | api_collector.js | 59 const apiName = propertySignature.name.getText(); 74 const apiName = methodDeclaration.name.getText(); 81 const apiName = typeAliasDeclaration.name.getText(); 88 const apiName = callSignature.name ? callSignature.name.getText() : className; 103 const apiName = methodSignature.name.getText(); 116 const className = interfaceDec.name.getText(); 137 const apiName = property.name.getText(); 164 const className = classDec.name ? classDec.name.text : ''; 185 const apiName = enumMember.name.getText(); 198 const className = enumNode.name.getText(); [all …]
|
/interface/sdk-js/api/@internal/component/ets/ |
D | navigation.d.ts | 651 constructor(name: string, param: unknown, onPop?: import('../api/@ohos.base').Callback<PopInfo>); 670 name: string; 821 pushPathByName(name: string, param: unknown, animated?: boolean): void; 846 …pushPathByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<PopInfo>, … 885 pushDestinationByName(name: string, param: Object, animated?: boolean): Promise<void>; 926 …pushDestinationByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<Pop… 970 replacePathByName(name: string, param: Object, animated?: boolean): void; 1012 removeByName(name: string): number; 1077 popToName(name: string, animated?: boolean): number; 1102 popToName(name: string, result: Object, animated?: boolean): number; [all …]
|
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/check/ |
D | check_name.py | 28 name = api_info['name'] 29 self_developed_function_result = re.match(r'^[OH|OS]+([\_]([A-Z]+[a-z0-9]*)+)*$', name) 30 ordinary_function_result = re.match(r'^([A-Z][a-z0-9]*)*$', name) 35 … ErrorMessage[api_info['kind']].value.replace('$$', name), name) 60 name = api_info['name'] 62 name = api_info['def_func_name'] 63 result = re.match(CheckName['ALL_UPPERCASE_HUMP'].value, name) 66 … ErrorMessage[api_info['kind']].value.replace('$$', name), name) 102 name = api_info['name'] 103 result = re.match(CheckName[function_type].value, name) [all …]
|
/interface/sdk_c/tee/include/ |
D | tee_property_api.h | 83 TEE_Result TEE_GetPropertyAsString(TEE_PropSetHandle propsetOrEnumerator, const char *name, char *v… 99 TEE_Result TEE_GetPropertyAsBool(TEE_PropSetHandle propsetOrEnumerator, const char *name, bool *val… 114 TEE_Result TEE_GetPropertyAsU32(TEE_PropSetHandle propsetOrEnumerator, const char *name, uint32_t *… 130 TEE_Result TEE_GetPropertyAsU64(TEE_PropSetHandle propsetOrEnumerator, const char *name, uint64_t *… 148 TEE_Result TEE_GetPropertyAsBinaryBlock(TEE_PropSetHandle propsetOrEnumerator, const char *name, vo… 164 TEE_Result TEE_GetPropertyAsUUID(TEE_PropSetHandle propsetOrEnumerator, const char *name, TEE_UUID … 179 TEE_Result TEE_GetPropertyAsIdentity(TEE_PropSetHandle propsetOrEnumerator, const char *name, TEE_I…
|
/interface/sdk-js/build-tools/dts_parser/src/typedef/parser/ |
D | ResultsInfo.ts | 28 name: string = ''; // api的名称 property in ApiInfo 61 setName(name: string | undefined): ApiInfo { 62 if (!name) { 65 this.name = name; 244 name: string = ''; property in ExportDefaultInfo 250 setName(name: string): ExportDefaultInfo { 251 this.name = name; 259 addImportValue(name: string, type: string): ImportInfo { 260 this.importValues.push({ key: name, value: type || name });
|
/interface/sdk-js/build-tools/ |
D | delete_systemapi_plugin.js | 108 return !needDeleteExportName.has(item.name.escapedText.toString()); 142 if (importClause.name) { 143 if (currImportInfo.default === importClause.name.escapedText.toString()) { 147 defaultName = importClause.name.escapedText.toString(); 156 element.name.escapedText.toString(); 158 … importNodeNamedBindings.push(factory.createImportSpecifier(element.propertyName, element.name)); 160 needDeleteExportName.add(element.name.escapedText.toString()); 443 statement.name, 511 if (!clauseNode.namedBindings && clauseNode.name && ts.isIdentifier(clauseNode.name)) { 513 clauseSet.add(clauseNode.name.escapedText.toString()); [all …]
|
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/ |
D | parse_include.py | 183 CursorKind.ENUM_CONSTANT_DECL.name: processing_enum, 184 CursorKind.MACRO_DEFINITION.name: processing_def, 185 CursorKind.FUNCTION_DECL.name: processing_func, 186 CursorKind.VAR_DECL.name: judgment_extern, 187 CursorKind.PARM_DECL.name: processing_parm, 188 CursorKind.FIELD_DECL.name: distinction_member, 189 CursorKind.MACRO_INSTANTIATION.name: processing_type, 190 CursorKind.INCLUSION_DIRECTIVE.name: processing_type, 191 CursorKind.BINARY_OPERATOR.name: binary_operator, 192 CursorKind.PAREN_EXPR.name: processing_name, [all …]
|
/interface/sdk-js/api/bundleManager/ |
D | BundlePackInfo.d.ts | 78 readonly name: string; property 178 readonly name: string; property 328 readonly name: string; property 378 readonly name: string; property 468 readonly name: string; property
|