/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/ |
H A D | unistd.h | 72 ssize_t pread(int fd, void* const __DIAGNOSE_PASS_OBJECT_SIZE0 buf, size_t count, off_t offset)
74 __DIAGNOSE_ERROR_IF_OVERFLOWS_SSIZET(count, pread)
75 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pread)
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() 80 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_NO_OVERFLOW(bos, count)) {
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() 81 return __DIAGNOSE_PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() 84 return __DIAGNOSE_PREAD_PREFIX(real)(fd, buf, count, offset);
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() 88 ssize_t pwrite(int fd, const void* const __DIAGNOSE_PASS_OBJECT_SIZE0 buf, size_t count, off_t offset)
90 __DIAGNOSE_ERROR_IF_OVERFLOWS_SSIZET(count, pwrite)
91 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pwrite)
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() 96 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_NO_OVERFLOW(bos, count)) {
in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() [all...] |
H A D | stdio.h | 41 size_t size, size_t count, FILE* stream)
43 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNSAFE_CHK_MUL_OVERFLOW(size, count),
44 "in call to 'fread', size * count overflows")
45 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count),
variable 46 "in call to 'fread', size * count is too large for the given buffer")
51 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_MUL(bos, size, count)) {
52 return __fread_chk(buf, size, count, stream, bos);
55 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(fread)(buf, size, count, stream);
60 size_t size, size_t count, FILE* stream)
62 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNSAFE_CHK_MUL_OVERFLOW(size, count),
64 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count), global() variable [all...] |
H A D | fortify.h | 117 #define __DIAGNOSE_BOS_TRIVIALLY_GE_MUL(bos_val, size, count) \
118 __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND(bos_val, >=, (size) * (count), \
119 !__DIAGNOSE_UNSAFE_CHK_MUL_OVERFLOW(size, count))
|
/interface/sdk_c/distributeddatamgr/udmf/include/ |
H A D | utd.h | 120 * @param count Represents the return types count. 125 const char** OH_Utd_GetBelongingToTypes(OH_Utd* pThis, unsigned int* count); 131 * @param count Represents the return file extensions count. 136 const char** OH_Utd_GetFilenameExtensions(OH_Utd* pThis, unsigned int* count); 142 * @param count Represents the mime types count. 147 const char** OH_Utd_GetMimeTypes(OH_Utd* pThis, unsigned int* count); 153 * @param count Represent [all...] |
H A D | udmf.h | 170 * @param count Represents the types count that is a output param. 176 char** OH_UdmfData_GetTypes(OH_UdmfData* pThis, unsigned int* count); 182 * @param count Represents the records count that is a output param. 187 OH_UdmfRecord** OH_UdmfData_GetRecords(OH_UdmfData* pThis, unsigned int* count); 270 * @param count Represents the size of data param. 277 int OH_UdmfRecord_AddGeneralEntry(OH_UdmfRecord* pThis, const char* typeId, unsigned char* entry, unsigned int count); 375 * @param count Represents the types count tha [all...] |
/interface/sdk_c/third_party/openGLES/GLES3/ |
H A D | gl31.h | 404 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
405 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
420 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
461 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
462 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
476 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
478 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
480 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
482 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
484 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, cons [all...] |
H A D | gl32.h | 404 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
405 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
420 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
461 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
462 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
476 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
478 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
480 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
482 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
484 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, cons [all...] |
H A D | gl3.h | 404 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
405 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
420 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
461 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
462 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
476 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
478 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
480 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
482 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
484 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, cons [all...] |
/interface/sdk_c/third_party/openGLES/GLES2/ |
H A D | gl2ext.h | 112 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
115 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
124 GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
127 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
147 typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
149 GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
331 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
332 typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
333 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
334 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenu [all...] |
H A D | gl2.h | 404 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
405 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
420 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
461 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
462 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
476 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
478 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
480 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
482 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
484 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, cons [all...] |
/interface/sdk_c/distributeddatamgr/relational_store/include/ |
H A D | oh_value_object.h | 62 * @param count If value is a pointer to a single numerical value, count = 1; 63 * if value is a pointer to an array, count is the size of the array. 68 int (*putInt64)(OH_VObject *valueObject, int64_t *value, uint32_t count); 75 * @param count If value is a pointer to a single numerical value, count = 1; 76 * if value is a pointer to an array, count is the size of the array. 81 int (*putDouble)(OH_VObject *valueObject, double *value, uint32_t count); 99 * @param count Indicates the size of the value. 104 int (*putTexts)(OH_VObject *valueObject, const char **value, uint32_t count); [all...] |
H A D | relational_store.h | 698 * @param count Indicates the count of tables you want to set. 708 int OH_Rdb_SetDistributedTables(OH_Rdb_Store *store, const char *tables[], uint32_t count, Rdb_DistributedType type, 754 * Indicates the count of the primary keys or row-ids. 756 int count; member 856 * @param count The count of changed cloud accounts. 859 typedef void (*Rdb_BriefObserver)(void *context, const char *values[], uint32_t count); 866 * @param count The count o [all...] |
H A D | oh_cursor.h | 105 * @param count This parameter is the output parameter, and the number of columns is written to this variable. 110 int (*getColumnCount)(OH_Cursor *cursor, int *count); 155 * @param count This parameter is the output parameter, 161 int (*getRowCount)(OH_Cursor *cursor, int *count);
|
H A D | data_asset.h | 331 * @param count Represents the count of {@link Data_Asset} to create. 337 Data_Asset **OH_Data_Asset_CreateMultiple(uint32_t count); 343 * @param count Represents the count of {@link Data_Asset} to destroy. 349 int OH_Data_Asset_DestroyMultiple(Data_Asset **assets, uint32_t count);
|
/interface/sdk_c/graphic/graphic_2d/native_drawing/ |
H A D | drawing_matrix.h | 448 * @param count Number of point in src and dst. 454 const OH_Drawing_Point2D* dst, uint32_t count); 463 * @param count Number of point in src and dst. 468 OH_Drawing_Point2D* dst, int count);
|
H A D | drawing_font.h | 239 * @param count Indicates the number of glyphs. 244 void OH_Drawing_FontGetWidths(const OH_Drawing_Font*, const uint16_t* glyphs, int count, float* widths); 506 * @param count Indicates the number of glyphs. 511 * and bounds is nullptr or count is 0. 515 OH_Drawing_ErrorCode OH_Drawing_FontGetBounds(const OH_Drawing_Font* font, const uint16_t* glyphs, uint32_t count,
|
H A D | drawing_path_effect.h | 54 * @param count Indicates the number of elements of the intervals array.
60 OH_Drawing_PathEffect* OH_Drawing_CreateDashPathEffect(float* intervals, int count, float phase);
|
H A D | drawing_text_lineTypography.h | 75 * @return Returns the count of the characters from startIndex that would cause the line break. 87 * @param count Indicates the characters count of the text range. 92 size_t startIndex, size_t count);
|
/interface/sdk-js/build-tools/api_label_detection/src/coreImpl/ |
H A D | detection_label.py | 72 count = 0 78 count = count + 1 79 if count == 0:
|
/interface/sdk_c/security/asset/inc/ |
H A D | asset_type.h | 437 uint32_t count; member 453 uint32_t count; member
|
/interface/sdk_c/sensors/sensor/ |
H A D | oh_sensor_type.h | 194 * @param count - Number of {@link Sensor_Info} instances to create. 200 Sensor_Info **OH_Sensor_CreateInfos(uint32_t count); 206 * @param count - Number of {@link Sensor_Info} instances to destroy. 211 int32_t OH_Sensor_DestroyInfos(Sensor_Info **sensors, uint32_t count);
|
H A D | oh_sensor.h | 47 * @param count - Pointer to the number of sensors on the device. 55 Sensor_Result OH_Sensor_GetInfos(Sensor_Info **infos, uint32_t *count);
|
/interface/sdk_c/BasicServicesKit/ |
H A D | ohprint.h | 134 uint32_t count; member 158 uint32_t count; member
|
/interface/sdk_c/arkui/ace_engine/native/ |
H A D | drag_and_drop.h | 264 * @param count Indicates the number of drag data types returned. 270 int32_t OH_ArkUI_DragEvent_GetDataTypeCount(ArkUI_DragEvent* event, int32_t* count); 478 * @param count Indicates length of an array. 484 int32_t OH_ArkUI_SetNodeAllowedDropDataTypes(ArkUI_NodeHandle node, const char* typesArray[], int32_t count); 602 * @brief Sets the count on the badge. 606 * @param forcedNumber Indicates the count on the badge.
|
/interface/sdk_c/multimodalinput/kits/c/input/ |
H A D | oh_input_manager.h | 1363 * @param count Number of {@Link Input_Hotkey} instances to be created. The count must be the same as the number of 1366 * operation fails, a null pointer is returned. The possible cause is memory allocation failure or count is not equal 1371 Input_Hotkey **OH_Input_CreateAllSystemHotkeys(int32_t count); 1378 * @param count Count of the array to be destroyed, which must be the same as the number of system shortcut keys. 1382 void OH_Input_DestroyAllSystemHotkeys(Input_Hotkey **hotkeys, int32_t count); 1389 * @param count Number of hot keys supported by the system. 1392 * {@link INPUT_PARAMETER_ERROR} The hotkey or count is NULL, or the value of count does not match the number 1397 Input_Result OH_Input_GetAllSystemHotkeys(Input_Hotkey **hotkey, int32_t *count); [all...] |