Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 25 of 121) sorted by relevance

12345

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dmacros.h26 #define META_GET_MACRO2_IMPL(p0, p1, macro, ...) macro argument
27 #define META_GET_MACRO3_IMPL(p0, p1, p2, macro, ...) macro argument
28 #define META_GET_MACRO4_IMPL(p0, p1, p2, p3, macro, ...) macro argument
29 #define META_GET_MACRO5_IMPL(p0, p1, p2, p3, p4, macro, ...) macro argument
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-standard-hck.md20 **DECLARE_HCK_LITE_HOOK**: macro used to declare an instrumentation interface. It generates the reg…
22 **REGISTER_HCK_LITE_HOOK**: macro used to register an instrumentation interface instance. The HCK s…
24 **REGISTER_HCK_LITE_DATA_HOOK**: macro used to register an instrumentation interface instance with …
26 **CALL_HCK_LITE_HOOK**: macro used to call an instrumentation interface, which replaces the code th…
45 …the hook interface in **kernel-x.x/include/linux/hck/lite_hck_xxx.h** by using the following macro:
56 // Declare the hook interface. The declaration macro contains the EXPORT interface, and you do not …
66 #include <linux/hck/lite_hck_sample.h> // Add the interface declaration header file after the macro
H A Dkernel-mini-appx-code.md44 …"></a><a name="p18864174964013"></a>Local variables, function parameters, macro parameters, struct…
227 If a function-like macro can be replaced by a function, use a function instead. Use inline function…
229 When defining a macro, use complete parentheses \(round brackets\). For example:
240 - Do not add parentheses for macro parameters used in \# or \#\# operations.
241 - Do not add parentheses for macro parameters used in string concatenation.
242 - If a macro parameter is used as a separate part in one side of an assignment operation\(includi…
243 - If a macro parameter is used as a separate part in a comma expression, function, or macro call …
263 …ch as **return**, **goto**, **continue**, and **break** in the function-like macro definition.
265 … such as **\#include**, **\#define**, and **\#ifdef**, in arguments for macro calling. Otherwise…
267 Do not end macro definitions with a semicolon \(;\).
[all …]
H A Dkernel-mini-memory-debug.md23 …he function, set this macro to **0** in **target_config.h**. If you want to obtain the memory wate…
41 …LINE == 1) // The function is enabled by default. To disable it, set this macro to 0 in target_con…
131 …k. This function is disabled by default. To enable the function, set this macro to **1** in **targ…
135 …** is called. You can change the value based on actual requirements. This macro is configured beca…
141 Correctly setting this macro can ignore invalid LRs and reduce memory consumption.
281 …k. This function is disabled by default. To enable the function, set this macro to **1** in **targ…
283 1. If this macro is enabled, the memory pool integrity will be checked in real time upon each memor…
285 2. If this macro is not enabled, you can call **LOS_MemIntegrityCheck** to check the memory pool in…
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dimplementation_macros.h103 #define META_GET_PROPERTY4(macro, propType, intf, type, name, defaultValue, flags) \ argument
104 macro(propType, intf, name, type, defaultValue, \
106 #define META_GET_PROPERTY3(macro, propType, intf, type, name, defaultValue) \ argument
107 macro(propType, intf, name, type, defaultValue, \
109 #define META_GET_PROPERTY2(macro, propType, intf, type, name) \ argument
110macro(propType, intf, name, type, {}, ::META_NS::DEFAULT_PROPERTY_FLAGS | ::META_NS::ObjectFlagBit…
111 #define META_GET_PROPERTY(macro, propType, ...) … argument
113 macro, propType, __VA_ARGS__))
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Dlog_8h.md59 …_TAG](_hi_log.md#log_tag), \_\_VA_ARGS\_\_)) | Outputs DEBUG logs. This is a function-like macro.|
60 …G_TAG](_hi_log.md#log_tag), \_\_VA_ARGS\_\_)) | Outputs INFO logs. This is a function-like macro.|
61 …G_TAG](_hi_log.md#log_tag), \_\_VA_ARGS\_\_)) | Outputs WARN logs. This is a function-like macro.|
62 …_TAG](_hi_log.md#log_tag), \_\_VA_ARGS\_\_)) | Outputs ERROR logs. This is a function-like macro.|
63 …_TAG](_hi_log.md#log_tag), \_\_VA_ARGS\_\_)) | Outputs FATAL logs. This is a function-like macro.|
H A D_hi_log.md31 …ain), [LOG_TAG](#log_tag), \_\_VA_ARGS\_\_)) | Outputs DEBUG logs. This is a function-like macro.|
32 …main), [LOG_TAG](#log_tag), \_\_VA_ARGS\_\_)) | Outputs INFO logs. This is a function-like macro.|
33 …main), [LOG_TAG](#log_tag), \_\_VA_ARGS\_\_)) | Outputs WARN logs. This is a function-like macro.|
34 …ain), [LOG_TAG](#log_tag), \_\_VA_ARGS\_\_)) | Outputs ERROR logs. This is a function-like macro.|
35 …ain), [LOG_TAG](#log_tag), \_\_VA_ARGS\_\_)) | Outputs FATAL logs. This is a function-like macro.|
101 Outputs DEBUG logs. This is a function-like macro.
128 Outputs ERROR logs. This is a function-like macro.
155 Outputs FATAL logs. This is a function-like macro.
182 Outputs INFO logs. This is a function-like macro.
209 Outputs WARN logs. This is a function-like macro.
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-c-coding-style-guide.md35 Names include file, function, variable, type, and macro names.
347 **If possible, use a function instead of a function-like macro. Define a function-like macro only w…
1699 ### <a name="r6-1"></a>Rule 6.1 Use complete parentheses for macro parameters when defining a macro.
1701macro parameter is replaced by text only when the macro is expanded. The value is calculated when …
1753 - If a macro parameter is used as a separate part in comma expressions, functions or macro call lis…
1769macro is expanded at the call point, the expressions and variables defined in the macro are integr…
1780macro is called as shown in the following example code, the `for` loop only executes the first sta…
1825 …text, if a function-like macro uses the same macro parameter multiple times and transfers expressi…
1827macro `SQUARE` is normal, but the `a++` expression with side effects is passed to the macro. As a …
1846 In addition, if the macro parameter contains a function call, the function may be called repeatedly…
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-security-selinux-develop-intro.md100macro **debug_only** to apply the policies customized for the root version for debugging. To enabl…
107macro to apply the policies customized for the developer mode. These policies are used for debuggi…
H A Dsubsys-dfx-hisysevent-logging.md223 1. In the corresponding file, define the **DOMAIN_MASKS** macro with content similar to DOMAIN_NAME…
225 …s configured in the current source code file: Define the **DOMAIN_MASKS** macro before importing t…
231 - Shielding event logging for event domains of the entire module: Define the **DOMAIN_MASKS** macro
238 - Shielding event logging for event domains globally: Define the **DOMAIN_MASKS** macro in **/build…
248 … Event logging is shielded for DOMAIN_NAME_1 because it has been defined in the DOMAIN_MASKS macro.
345 …K** and **POWER** domains in a **.cpp** file, define the **DOMAIN_MASKS** macro before including t…
356 …POWER** domains of the entire service module, define the **DOMAIN_MASKS** macro as follows in the …
364 …the **AAFWK** and **POWER** domains globally, define the **DOMAIN_MASKS** macro as follows in **/b…
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/log/
H A Dace_log.h29 #error Only one macro can be defined
75 #error One macro must be defined
/ohos5.0/docs/en/application-dev/dfx/
H A Dhilog-guidelines-ndk.md15 …G_DEBUG, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | Outputs DEBUG logs. This is a function-like macro.|
16 …LOG_INFO, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | Outputs INFO logs. This is a function-like macro.|
17 …LOG_WARN, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | Outputs WARN logs. This is a function-like macro.|
18 …G_ERROR, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | Outputs ERROR logs. This is a function-like macro.|
19 …G_FATAL, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | Outputs FATAL logs. This is a function-like macro.|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.22/
H A Dchangelogs-musl.md11 …hdr**, **mq_attr**, and **utmpx** structs conflicts with the **__unused** macro definition in **sy…
39 The **__unused** macro definition in **cdefs.h** is not affected.
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-sdk.md4 ## What is the macro definition of the arm64-v8a/armeabi-v7a directory in CMake? (API version 9)
23 The macro for accessing the directory is **${CMAKE_CURRENT_SOURCE_DIR}/../../../libs/${OHOS_ARCH}/x…
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/
H A DKconfig40 bool "Enable HDF config macro parser"
44 Answer Y to enable HDF config macro parser.
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime_macros/
H A DCargo.toml11 proc-macro = true
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dc_code_emitter.cpp151 std::string macro = StringHelper::StrToUpper(StringHelper::Replace(name, '.', '_')) + "_H"; in MacroName() local
152 return macro; in MacroName()
/ohos5.0/base/security/selinux_adapter/sepolicy/base/public/
H A Dglb_te_def.spt66 # The macro non_developer_mode is expected to strengthen the expressiveness for
72 # /data/local/tmp/debugserver. Without this macro, it seems very hard to tweak
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dhdi_c_code_emitter.cpp176 std::string macro = StringHelper::StrToUpper(StringHelper::Replace(name, '.', '_')) + "_H"; in MacroName() local
177 return macro; in MacroName()
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dvulkan__ohos_8h.md37 | [VK_OHOS_surface](_vulkan.md#vk_ohos_surface) 1 | Surface extension macro definition of OpenHar…
40 …mory](_vulkan.md#vk_ohos_external_memory) 1 | External memory extension macro definition of Open…
H A Degl.md20 To call the EGL extended APIs, include the following header file and add the macro definition to **…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Dnative__interface_8h.md24 …duleinterface)(nativeAPIVariantKind, structType, structPtr) | Obtains the macro function correspon…
/ohos5.0/build/rust/tests/test_proc_macro_cargo_crate/
H A DBUILD.gn18 crate_type = "proc-macro"
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.cpp249 std::string macro = StringHelper::StrToUpper(StringHelper::Replace(name, '.', '_')) + "_H"; in MacroName() local
250 return macro; in MacroName()
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-minichip-subsys-security.md33 2. Configure the macro to enable the code related to the hardware-based random number interface.
35 …According to the Mbed TLS compilation file, the macro is configured in the **MBEDTLS_CONFIG_FILE=\…

12345