/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/ |
H A D | socket.h | 36 ssize_t recvfrom(int fd, void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags,
39 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len),
45 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, len)) {
46 return __recvfrom_chk(fd, buf, len, bos, flags, src_addr, addr_len);
49 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(recvfrom)(fd, buf, len, flags, src_addr, addr_len);
53 ssize_t sendto(int fd, const void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags,
56 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len),
62 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, len)) {
63 return __sendto_chk(fd, buf, len, bos, flags, dest_addr, addr_len);
66 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(sendto)(fd, buf, len, flag [all...] |
H A D | string.h | 62 void *memmove(void *const dest __DIAGNOSE_PASS_OBJECT_SIZE0, const void *src, size_t len)
66 return __builtin___memmove_chk(dest, src, len, __DIAGNOSE_BOS(dest));
68 return __builtin_memmove(dest, src, len);
|
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/check/ |
H A D | check_syntax.py | 122 if len(error_file_list) >= 1: 123 error_file_name = os.path.normpath(error_file_list[len(error_file_list) - 1]) 124 if len(ret) != 0: 126 if len(error_message) == 1: 150 if len(result_child) == 0: 153 if len(original) == 2: 155 if len(original) == 3: 157 if len(original) == 4: 167 if len(matches) == 0: 171 if len(matche [all...] |
H A D | check_doc.py | 51 value['main_buggy_line'] = comment_start_line + tag_info['source'][len(tag_info['source'])-1]['number'] 131 if len(params) < index + 1: 374 'parm' in api_info.keys() and len(api_info['parm']) != param_tag_count: 449 if api_info['kind'] == CursorKind.TRANSLATION_UNIT.name and len(item['tags']) > 0 and\ 450 item['tags'][0]['tag'] == '}' and 'line_list' in api_info and index <= len(api_info['line_list']) - 1: 453 if index == len(result_json) - 1: 505 main_buggy_code = '' if (len(api_info['node_content']) == 0) else api_info['node_content']['content']
|
/interface/sdk_c/third_party/musl/ndk_musl_include/sys/ |
H A D | fanotify.h | 27 unsigned short len;
member 96 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, (struct fanotify_event_metadata*)(((char *)(meta)) + (meta)->event_len))
97 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && (long)(meta)->event_len <= (long)(len))
|
H A D | socket.h | 364 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
365 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr)))
366 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/ |
H A D | parse_include.py | 133 name_len = len(data['name']) 134 str1_len = len(data['node_content']['content']) 413 if len(children) > 0: 448 if len(syscap_list) > 1: 449 data["syscap"] = re.sub('@syscap', '', syscap_list[len(syscap_list) - 1], flags=re.IGNORECASE) 450 elif 1 == len(syscap_list): 461 if len(since_list) > 1: 462 data["since"] = since_list[len(since_list) - 1].replace('@since', '') 463 elif 1 == len(since_list): 474 if len(kit_lis [all...] |
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/ |
H A D | diff_processor_permission.py | 55 state_list = ['0' * (bin_len - len(x)) + x for x in state_list] 96 variable_length = len(self.variable_list) 135 if len(down_state.fail_data) > 0: 136 calculate_rsesult.state_up = permissor_tool.get_bool_in_list(down_state.fail_data, len(variable_list)) 138 if len(up_state.fail_data) > 0: 139 calculate_rsesult.state_down = permissor_tool.get_bool_in_list(up_state.fail_data, len(variable_list))
|
H A D | diff_processor_node.py | 153 old_len = len(old_param_list) 202 if 1 == len(param_infor): 214 old_len = len(old['parm']) 215 new_len = len(new['parm']) 330 if 1 == len(member_infor): 643 if len(old['children']) and len(new['children']) \ 651 elif 'children' not in old and 'children' in new and len(new['children']): 658 elif 'children' in old and 'children' not in new and len(old['children']): 693 if len(ol [all...] |
/interface/sdk-js/build-tools/api_label_detection/src/utils/ |
H A D | util.py | 34 return target_character[target_character.index(start_character) + len(start_character):] 56 if len(doc_info) > 0: 89 if len(js_doc_info_list) > 0: 90 return js_doc_info_list[len(js_doc_info_list) - 1]
|
/interface/sdk_c/IPCKit/ |
H A D | ipc_cparcel.h | 98 * @param len Length of the memory to allocate. 102 typedef void* (*OH_IPC_MemAllocator)(int32_t len); 388 * @param len Length of the data to write. 394 int OH_IPCParcel_WriteBuffer(OHIPCParcel *parcel, const uint8_t *buffer, int32_t len); 401 * @param len Length of the memory to be read. 403 * returns NULL if invalid parameters are found or <b>len</b> exceeds the readable length of <b>parcel</b>. 406 const uint8_t* OH_IPCParcel_ReadBuffer(const OHIPCParcel *parcel, int32_t len); 517 * @param len Pointer to the length of the interface token read, including the terminator. It cannot be NULL. 524 int OH_IPCParcel_ReadInterfaceToken(const OHIPCParcel *parcel, char **token, int32_t *len,
|
H A D | ipc_cskeleton.h | 144 * @param len Pointer to the length of the identity information. It cannot be NULL. 152 int OH_IPCSkeleton_ResetCallingIdentity(char **identity, int32_t *len, OH_IPC_MemAllocator allocator);
|
/interface/sdk_c/tee/include/ |
H A D | tee_arith_api.h | 94 * @param len Indicates the size of the memory pointed to by <b>TEE_BigInt</b>, in uint32_t. 99 void TEE_BigIntInit(TEE_BigInt *bigInt, size_t len); 105 * @param len Indicates the size of the memory pointed to by <b>context</b>, in uint32_t. 111 void TEE_BigIntInitFMMContext(TEE_BigIntFMMContext *context, size_t len, const TEE_BigInt *modulus); 117 * @param len Indicates the size of the memory pointed to by <b>context</b>, in uint32_t. 126 TEE_Result TEE_BigIntInitFMMContext1(TEE_BigIntFMMContext *context, size_t len, const TEE_BigInt *modulus); 132 * @param len Indicates the size of the memory pointed to by <b>bigIntFMM</b>, in uint32_t. 137 void TEE_BigIntInitFMM(TEE_BigIntFMM *bigIntFMM, size_t len);
|
H A D | rpmb_driver_rw_api.h | 215 * @param len Indicates the real length of the Secure Write Protect Entry array, which value is less than 4. 224 TEE_Result tee_ext_rpmb_protect_cfg_blk_write(uint8_t lun, struct rpmb_protect_cfg_blk_entry *entries, uint32_t len); 232 * @param len Indicates the real length of the Secure Read Protect Entry array, which value is less than 4. 241 TEE_Result tee_ext_rpmb_protect_cfg_blk_read(uint8_t lun, struct rpmb_protect_cfg_blk_entry *entries, uint32_t *len);
|
/interface/sdk-js/build-tools/api_label_detection/src/coreImpl/ |
H A D | detection_label.py | 36 if len(dict_data['jsDocInfos']) > 0: 128 if len(api_name_list) != 0: 183 if len(diff_vals) == 0: 242 if len(result_list) == 0: 245 print('File check failed,{} questions in total.Please check the table.'.format(len(result_list)))
|
/interface/sdk_c/third_party/icu4c/ndk_headers/unicode/ |
H A D | ucal.h | 723 * @param len The length of zoneID, or -1 if null-terminated.
737 int32_t len,
768 * @param len The length of zoneID, or -1 if null-terminated.
775 int32_t len,
1314 * @param len The length of id, or -1 if null-terminated.
1329 ucal_getCanonicalTimeZoneID(const UChar* id, int32_t len,
1543 * @param len The length of <code>id</code>, or -1 if null-terminated.
1553 ucal_getWindowsTimeZoneID(const UChar* id, int32_t len,
1574 * @param len The length of <code>winid</code>, or -1 if null-terminated.
1585 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, cons [all...] |
H A D | ucnv.h | 556 * @param len on input the capacity of subChars, on output the number
568 int8_t *len,
583 * @param len the number of bytes in subChars
585 * len is bigger than the maximum number of bytes allowed in subchars
593 int8_t len,
635 * @param len on input the capacity of errBytes, on output the number of
645 int8_t *len,
654 * @param len on input the capacity of errUChars, on output the number of
664 int8_t *len,
|
/interface/sdk_c/third_party/zlib/ |
H A D | zlib.h | 1136 call out(out_desc, buf, len) to write the uncompressed data buf[0..len-1]. 1395 ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len); 1397 Read and decompress up to len uncompressed bytes from file into buf. If 1420 len for end of file, or -1 for error. If len is too large to fit in an int, 1451 ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); 1453 Compress and write the len uncompressed bytes at buf to file. gzwrite 1494 ZEXTERN char * ZEXPORT gzgets(gzFile file, char *buf, int len); 1496 Read and decompress bytes from file into buf, until len [all...] |
/interface/sdk_c/build-tools/capi_parser/src/bin/ |
H A D | write_md.py | 25 if 1 == len(result_info_list): 55 if 1 == len(result_info_list_kit): 94 markdown_table += '{}{}{}'.format("|", "|".join(["---"] * len(headers)), "|\n")
|
/interface/sdk_c/distributeddatamgr/udmf/include/ |
H A D | uds.h | 645 * @param len Represents the length of data param. 652 int OH_UdsArrayBuffer_SetData(OH_UdsArrayBuffer* buffer, unsigned char* data, unsigned int len); 659 * @param len Represents the array buffer data length that is a output param. 666 int OH_UdsArrayBuffer_GetData(OH_UdsArrayBuffer* buffer, unsigned char** data, unsigned int* len);
|
/interface/sdk_c/hiviewdfx/hitrace/include/hitrace/ |
H A D | trace.h | 445 * @param len Length of the byte array. 451 void OH_HiTrace_IdFromBytes(HiTraceId *id, const uint8_t *pIdArray, int len); 598 * @param len Length of the byte array. 606 int OH_HiTrace_IdToBytes(const HiTraceId* id, uint8_t* pIdArray, int len);
|
/interface/sdk_c/multimedia/image_framework/include/ |
H A D | image_pixel_map_mdk.h | 173 * @param len Indicates the image size. 209 void* buf, size_t len, napi_value* res); 217 * @param len Indicates the image size. 221 * returns {@link IRNdkErrCode} IMAGE_RESULT_BAD_PARAMETER - if info, len and rowStride do not match. 234 void* buf, size_t len, int32_t rowStride, napi_value* res);
|
/interface/sdk_c/BasicServicesKit/ |
H A D | time_service.h | 62 * @param len Size of the memory allocated for the time zone ID character array. There is no upper limit for the length 67 * time zone ID (excluding the terminating character ('\0')) is greater than or equal to <b>len</b>. 71 TimeService_ErrCode OH_TimeService_GetTimeZone(char *timeZone, uint32_t len);
|
/interface/sdk_c/CryptoArchitectureKit/ |
H A D | crypto_common.h | 55 size_t len; member
|
/interface/sdk_c/third_party/musl/ndk_musl_include/netinet/ |
H A D | udp.h | 14 #define uh_ulen len
|