/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/ |
H A D | fortify.h | 93 #define __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND(bos_val, op, index, cond) \
95 (__builtin_constant_p(index) && bos_val op index && (cond)))
97 #define __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL(bos_val, op, index) \
98 __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND(bos_val, op, index, 1)
100 #define __DIAGNOSE_BOS_TRIVIALLY_GE(bos_val, index) __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL((bos_val), >=, (index))
101 #define __DIAGNOSE_BOS_TRIVIALLY_GT(bos_val, index) __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL((bos_val), >, (index))
|
/interface/sdk_c/multimedia/av_codec/ |
H A D | native_avcodec_videodecoder.h | 269 * will report the available input buffer and the corresponding index value. Once the buffer with the specified index 271 * callback is received again reporting that the buffer with the same index is available. In addition, for some 276 * @param index Enter the index value corresponding to the Buffer 282 * Buffer index should be given by {@link OH_AVCodecOnNeedInputData}. 290 OH_AVErrCode OH_VideoDecoder_PushInputData(OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr); 295 * calling this interface only returns the output buffer corresponding to the specified index to the decoder. 298 * @param index The index valu [all...] |
H A D | native_avcodec_videoencoder.h | 45 * @param index The index corresponding to the new OH_AVFormat instance 50 typedef void (*OH_VideoEncoder_OnNeedInputParameter)(OH_AVCodec *codec, uint32_t index, OH_AVFormat *parameter, 295 * @param index The index value corresponding to the output Buffer 300 * Buffer index should be given by {@link OH_AVCodecOnNewOutputData}. 308 OH_AVErrCode OH_VideoEncoder_FreeOutputData(OH_AVCodec *codec, uint32_t index); 330 * @param index Enter the index value corresponding to the Buffer 336 * Buffer index shoul [all...] |
H A D | native_avcodec_base.h | 83 * @param index The index corresponding to the newly available input buffer. 90 typedef void (*OH_AVCodecOnNeedInputData)(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData); 100 * @param index The index corresponding to the new output Buffer. 108 typedef void (*OH_AVCodecOnNewOutputData)(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, 117 * @param index The index corresponding to the newly available input buffer. 122 typedef void (*OH_AVCodecOnNeedInputBuffer)(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData); 130 * @param index Th [all...] |
H A D | native_avcodec_audiodecoder.h | 200 * will report the available input buffer and the corresponding index value. Once the buffer with the specified index 202 * callback is received again reporting that the buffer with the same index is available. In addition, for some 207 * @param index Enter the index value corresponding to the Buffer 215 OH_AVErrCode OH_AudioDecoder_PushInputData(OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr); 221 * @param index The index value corresponding to the output Buffer 228 OH_AVErrCode OH_AudioDecoder_FreeOutputData(OH_AVCodec *codec, uint32_t index);
|
/interface/sdk-js/build-tools/api_check_plugin/src/ |
H A D | check_legality.js | 161 comments.forEach((comment, index) => { 162 if (!checkInfoMap[index]) { 163 checkInfoMap[index] = { 190 checkInfoMap[index].missingTags.push(tagName); 201 checkInfoMap[index].illegalTags.push({ 204 index, 213 function checkTagsQuantity(comment, index, errorLogs) { 227 index, 236 index, 244 function checkTagValue(tag, index, nod [all...] |
/interface/sdk_c/arkui/ace_engine/native/ |
H A D | native_type.h | 1911 /** The index value is invalid. */ 2386 * @param index Indicates the index of the target water flow section. 2391 int32_t index, int32_t itemCount); 2394 * @brief Obtains the number of items in the water flow section that matches the specified index. 2397 * @param index Indicates the index of the target water flow section. 2401 int32_t OH_ArkUI_WaterFlowSectionOption_GetItemCount(ArkUI_WaterFlowSectionOption* option, int32_t index); 2408 * @param index Indicates the index o [all...] |
H A D | native_animate.h | 417 * @param index Indicates a state index. 423 int32_t OH_ArkUI_KeyframeAnimateOption_SetDuration(ArkUI_KeyframeAnimateOption* option, int32_t value, int32_t index); 432 * @param index Indicates a state index. 439 ArkUI_KeyframeAnimateOption* option, ArkUI_CurveHandle value, int32_t index); 448 * @param index Indicates a state index. 455 ArkUI_KeyframeAnimateOption* option, void* userData, void (*event)(void* userData), int32_t index); 479 * @param index Indicate [all...] |
H A D | native_node_napi.h | 166 * @brief Based on the given index value, obtain the length of the Navigation stack where the node is located. 180 * @brief Based on the given index value, obtain the page name of the corresponding position 185 * @param index The index of the NavDestination in the stack is queried. 186 * @param buffer The buffer to which NavDestination index writes to the memory, 196 * {@link ARKUI_ERROR_CODE_NODE_INDEX_INVALID} if index is an invalid value. 203 ArkUI_NodeHandle node, int32_t index, char* buffer, int32_t bufferSize, int32_t* writeLength); 242 * @brief Obtain the index of the NavDestination component on the Navigation stack where the node is located. 245 * @param index Index value, counted from 0. 248 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or index i [all...] |
/interface/sdk_c/multimedia/image_effect/ |
H A D | image_effect.h | 97 * @param index Indicates the position of the OH_EffectFilter witch is created and added 99 * @return Returns a pointer to an OH_EffectFilter instance if the index and filter name is valid, otherwise returns 103 OH_EffectFilter *OH_ImageEffect_InsertFilter(OH_ImageEffect *imageEffect, uint32_t index, const char *filterName); 110 * @param index Indicates the position of the OH_EffectFilter witch is added 114 * {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer or the index is invalid value 117 ImageEffect_ErrorCode OH_ImageEffect_InsertFilterByFilter(OH_ImageEffect *imageEffect, uint32_t index, 136 * @param index Indicates the position of the OH_EffectFilter witch is removed 139 * {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer or the index is invalid value 142 ImageEffect_ErrorCode OH_ImageEffect_RemoveFilterByIndex(OH_ImageEffect *imageEffect, uint32_t index); 149 * @param index Indicate [all...] |
/interface/sdk_c/graphic/graphic_2d/native_drawing/ |
H A D | drawing_font_mgr.h | 83 * @brief Gets the font family name by the index. 87 * @param index Indicates the index to get the font family name. 88 * @return Returns the font family name corresponding to the index value. 92 char* OH_Drawing_FontMgrGetFamilyName(OH_Drawing_FontMgr*, int index); 109 * @param index Indicates the index used to get the font style set object from the font manager object. 114 OH_Drawing_FontStyleSet* OH_Drawing_FontMgrCreateFontStyleSet(OH_Drawing_FontMgr*, int index); 170 * @brief Create a typeface for the given index. 174 * @param index Indicate [all...] |
H A D | drawing_text_line.h | 78 * @brief Get the text line object by index. 82 * @param index The text line object index. 86 OH_Drawing_TextLine* OH_Drawing_GetTextLineByIndex(OH_Drawing_Array* lines, size_t index); 133 * @brief Get the run object by index. 137 * @param index The run object index. 141 OH_Drawing_Run* OH_Drawing_GetRunByIndex(OH_Drawing_Array* runs, size_t index); 210 * @brief Gets the string index of the given position. 215 * @return Returns the string index fo [all...] |
H A D | drawing_text_run.h | 47 * @brief Gets the run glyph indices ,the offset of the index relative to the entire paragraph. 51 * @param start The run of start index. 59 * @brief Gets the run glyph indices by index. 63 * @param index The run of glyph index. 67 uint64_t OH_Drawing_GetRunStringIndicesByIndex(OH_Drawing_Array* stringIndices, size_t index); 138 * @param start The run of start index. 146 * @brief Gets the glyph identifier by index. 150 * @param index The run of glyph index [all...] |
H A D | drawing_typeface.h | 65 * @param index file index. 70 OH_Drawing_Typeface* OH_Drawing_TypefaceCreateFromFile(const char* path, int index); 116 * @param index memory stream index. 121 OH_Drawing_Typeface* OH_Drawing_TypefaceCreateFromStream(OH_Drawing_MemoryStream*, int32_t index);
|
/interface/sdk_c/third_party/openGLES/GLES3/ |
H A D | gl31.h | 366 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
403 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
407 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
418 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
419 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
441 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
442 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
443 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
496 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
497 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons [all...] |
H A D | gl3.h | 366 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
403 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
407 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
418 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
419 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
441 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
442 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
443 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
496 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
497 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons [all...] |
H A D | gl32.h | 366 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
403 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
407 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
418 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
419 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
441 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
442 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
443 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
496 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
497 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons [all...] |
/interface/sdk_c/third_party/openGLES/GLES2/ |
H A D | gl2.h | 366 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
403 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
407 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
418 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
419 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
441 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
442 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
443 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
496 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
497 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons [all...] |
/interface/sdk-js/build-tools/api_diff/src/ |
H A D | format_data.js | 121 let index = 1; 122 while (index < orderVersionArr.length) { 123 const versionUrl = getLink(url, orderVersionArr[index]); 130 mergeTwoVersionData(allMergeData, newVersionData, orderVersionArr[index]); 131 index++; 156 newVersionData.forEach((data, index) => { 157 if (!indexListSet.has(index)) {
|
/interface/sdk_c/distributeddatamgr/preferences/include/ |
H A D | oh_preferences_value.h | 95 * @param index Represents a target index of the pairs 101 const char *OH_PreferencesPair_GetKey(const OH_PreferencesPair *pairs, uint32_t index); 107 * @param index Index of the value to obtain. 113 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, uint32_t index);
|
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/ |
H A D | diff_processor_node.py | 157 if i != new_param_str_list.index(element) and i + 1 <= old_len: 242 def process_param_scene(old_param, new_param, index, parent_old, parent_new): 244 if old_param[index]['type'] != new_param[index]['type']: 245 old_param_type_content = old_param[index]['type'] 246 new_param_type_content = new_param[index]['type'] 252 if old_param[index]['name'] != new_param[index]['name']: 253 old_param_name_content = old_param[index]['name'] 254 new_param_name_content = new_param[index]['nam [all...] |
/interface/sdk-js/build-tools/permissions_converter/ |
H A D | convert.js | 85 permissions.forEach((permission, index) => { 98 const permissionName = `${index === 0 ? tabs : orOperator}'${permission.name}'${ 99 index === permissions.length - 1 ? '' : '\n'
|
/interface/sdk_c/ai/neural_network_runtime/ |
H A D | neural_network_runtime.h | 183 * The index of a tensor is determined by the order in which the tensor is added to the model. 187 * @param index Index of a tensor. 193 * <b>model</b> or <b>dataBuffer</b> is nullptr, or <b>length</b> is 0, or <b>index</b> is out of range.\n 199 OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuffer, size_t length); 205 * @param index Index of a tensor. 210 * is that the <b>model</b> or <b>quantParam</b> is nullptr, or <b>index</b> is out of range.\n 216 OH_NN_ReturnCode OH_NNModel_SetTensorQuantParams(OH_NNModel *model, uint32_t index, NN_QuantParam *quantParam); 222 * @param index Index of a tensor. 227 * is that the <b>model</b> is nullptr, or <b>index</b> is out of range, or <b>tensorType</b> is invalid.\n 233 OH_NN_ReturnCode OH_NNModel_SetTensorType(OH_NNModel *model, uint32_t index, OH_NN_TensorTyp [all...] |
/interface/sdk_c/multimedia/image_framework/include/image/ |
H A D | image_source_native.h | 191 * @brief Get index number for OH_DecodingOptions struct. 194 * @param index the number of image index. 198 Image_ErrorCode OH_DecodingOptions_GetIndex(OH_DecodingOptions *options, uint32_t *index); 201 * @brief Set index number for OH_DecodingOptions struct. 204 * @param index the number of image index. 208 Image_ErrorCode OH_DecodingOptions_SetIndex(OH_DecodingOptions *options, uint32_t index); 409 * @brief Obtains image source information from an <b>ImageSource</b> object by index. 412 * @param index Indicate [all...] |
/interface/sdk_c/multimedia/player_framework/ |
H A D | avplayer.h | 480 * @param index Track index 487 OH_AVErrCode OH_AVPlayer_SelectTrack(OH_AVPlayer *player, int32_t index); 498 * @param index Track index 505 OH_AVErrCode OH_AVPlayer_DeselectTrack(OH_AVPlayer *player, int32_t index); 508 * @brief Obtain the currently effective track index. 515 * @param index Track index 522 OH_AVErrCode OH_AVPlayer_GetCurrentTrack(OH_AVPlayer *player, int32_t trackType, int32_t *index); [all...] |