/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
H A D | cryp_rsa.c | 271 int mbedtls_get_random(hi_void *param, hi_u8 *rand, size_t size) in mbedtls_get_random() argument 280 for (i = 0; i < (hi_u32)size; i += WORD_WIDTH) { in mbedtls_get_random() 287 left_size = (size - i) > WORD_WIDTH ? WORD_WIDTH : (size - i); in mbedtls_get_random() 302 hi_log_error("left size %u is error\n", left_size); in mbedtls_get_random()
|
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/ |
H A D | cmsis_liteos2.c | 1307 uint32_t size;
in osMessageQueueGetMsgSize() local 1311 size = 0U;
in osMessageQueueGetMsgSize() 1313 size = pstQueue->queueSize - sizeof(UINT32);
in osMessageQueueGetMsgSize() 1316 return (size);
in osMessageQueueGetMsgSize()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
H A D | uart_drv.c | 56 udd->rx_transfer->size = rx_buf_size; in uart_init_circ_buf() 68 udd->tx_transfer->size = tx_buf_size; in uart_init_circ_buf() 121 hi_u32 buf_size = transfer->size; in uart_read_circ_buf() 175 hi_u32 buf_size = transfer->size; in uart_write_circ_buf() 507 hi_char buf[64] = { 0 }; /* size 64 */ in uart_drv_irq()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dvdsubdec.c | 228 uint32_t size; in decode_dvd_subtitles() local 244 size = READ_OFFSET(buf + (big_offsets ? 2 : 0)); in decode_dvd_subtitles() 248 if (cmd_pos > size) { in decode_dvd_subtitles() 521 int buf_size = avpkt->size; in dvdsub_decode() 644 } else if (strncmp("size:", data, 5) == 0) { in dvdsub_parse_extradata()
|
H A D | vp6.c | 82 av_log(s->avctx, AV_LOG_ERROR, "Invalid size %dx%d\n", cols << 4, rows << 4); in vp6_parse_header() 264 const uint8_t *map, unsigned size, VLC *vlc) in vp6_build_huff_tree() 266 Node nodes[2*VP6_MAX_HUFF_SIZE], *tmp = &nodes[size]; in vp6_build_huff_tree() 271 for (i=0; i<size-1; i++) { in vp6_build_huff_tree() 280 return ff_huff_build_tree(s->avctx, vlc, size, FF_HUFFMAN_BITS, in vp6_build_huff_tree() 263 vp6_build_huff_tree(VP56Context *s, uint8_t coeff_model[], const uint8_t *map, unsigned size, VLC *vlc) vp6_build_huff_tree() argument
|
H A D | vaapi_hevc.c | 119 av_unused uint32_t size) in vaapi_hevc_start_frame() 409 uint32_t size) in vaapi_hevc_decode_slice() 437 .slice_data_size = size, in vaapi_hevc_decode_slice() 510 pic->last_size = size; in vaapi_hevc_decode_slice() 117 vaapi_hevc_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_hevc_start_frame() argument 407 vaapi_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_hevc_decode_slice() argument
|
H A D | mss3.c | 278 static void rac_init(RangeCoder *c, const uint8_t *src, int size) in rac_init() argument 283 c->src_end = src + size; in rac_init() 285 for (i = 0; i < FFMIN(size, 4); i++) in rac_init() 689 int buf_size = avpkt->size; in mss3_decode_frame()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_getlocation.c | 318 block of size zero. */ in __libdw_intern_expression() 330 /* Address, depends on address size of CU. */ in __libdw_intern_expression() 356 /* DW_FORM_ref_addr, depends on offset size of CU. */ in __libdw_intern_expression() 534 /* DW_FORM_ref_addr, depends on offset size of CU. */ in __libdw_intern_expression() 557 size_t size; in __libdw_intern_expression() local 564 size = *data++; in __libdw_intern_expression() 565 if (unlikely ((Dwarf_Word) (end_data - data) < size)) in __libdw_intern_expression() 567 data += size; /* Skip the block. */ in __libdw_intern_expression()
|
/third_party/glfw/src/ |
H A D | internal.h | 568 GLFWwindowsizefun size; member 977 void _glfwAllocGammaArrays(GLFWgammaramp* ramp, unsigned int size); 1019 void* _glfw_calloc(size_t count, size_t size); 1020 void* _glfw_realloc(void* pointer, size_t size);
|
/third_party/backends/backend/ |
H A D | dc210.c | 1466 pic->size = (buffer[8] & 0xFF) << 24; in get_picture_info() 1467 pic->size |= (buffer[9] & 0xFF) << 16; in get_picture_info() 1468 pic->size |= (buffer[10] & 0xFF) << 8; in get_picture_info() 1469 pic->size |= (buffer[11] & 0xFF); in get_picture_info()
|
H A D | hp-accessor.c | 454 SANE_Int size = 0; in sanei_hp_accessor_choice_maxsize() local 457 if ((SANE_Int)strlen(choice->name) >= size) in sanei_hp_accessor_choice_maxsize() 458 size = strlen(choice->name) + 1; in sanei_hp_accessor_choice_maxsize() 459 return size; in sanei_hp_accessor_choice_maxsize()
|
H A D | ricoh2.c | 238 od->size = sizeof (SANE_Word); in init_options() 251 od->size = MAX_OPTION_STRING_SIZE; in init_options() 255 dev->val[OPT_MODE].s = malloc (od->size); in init_options() 267 od->size = sizeof (SANE_Word); in init_options() 612 DBG (128, "sending a packet of size %lu\n", io_size); in send_receive() 623 DBG (128, "receiving a packet of size %lu\n", io_size); in send_receive() 635 DBG (1, "unexpected size of received packet: expected %lu, " in send_receive() 829 DBG (128, "Receiving data of size %zi\n", transfer.to_receive); in sane_read() 854 /* we've just reached expected data size */ in sane_read()
|
/third_party/gn/src/gn/ |
H A D | xcode_writer.cc | 157 for (size_t i = 0; i < std::size(kXCTestFileSuffixes); ++i) { in IsXCTestFile() 209 build_settings->root_path_utf8().size() + 1)); in FilePathToSourceFile() 354 DCHECK_EQ(hash.size() % 4, 0u); 358 for (size_t i = 0; i < hash.size() / 4; i++)
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationIterator.java | 336 while(offsets.size() <= ceBuffer.length) { in previousCE() 941 assert(offsets.size() < ceBuffer.length); in previousCEUnsafe() 946 while(offsets.size() < ceBuffer.length) { in previousCEUnsafe() 950 assert(offsets.size() == ceBuffer.length); in previousCEUnsafe()
|
/third_party/icu/icu4c/source/common/ |
H A D | udata.cpp | 12 * tab size: 8 (not used) 104 * that they really need, reducing the size of binaries that take advantage 1463 if(pInfo->size>dataInfoSize) { in udata_getInfo() 1464 pInfo->size=dataInfoSize; in udata_getInfo() 1466 uprv_memcpy((uint16_t *)pInfo+1, (const uint16_t *)info+1, pInfo->size-2); in udata_getInfo() 1473 pInfo->size=0; in udata_getInfo()
|
H A D | uhash.cpp | 101 0.0F, 1.0F /* U_FIXED: Never change size */ 204 * Allocate internal data array of a size determined by the given 331 * The size of the table should be prime for this algorithm to work; 554 int32_t size, in uhash_openSize() 557 /* Find the smallest index i for which PRIMES[i] >= size. */ in uhash_openSize() 559 while (i<(PRIMES_LENGTH-1) && PRIMES[i]<size) { in uhash_openSize() 581 int32_t size, in uhash_initSize() 584 // Find the smallest index i for which PRIMES[i] >= size. in uhash_initSize() 586 while (i<(PRIMES_LENGTH-1) && PRIMES[i]<size) { in uhash_initSize() 551 uhash_openSize(UHashFunction *keyHash, UKeyComparator *keyComp, UValueComparator *valueComp, int32_t size, UErrorCode *status) uhash_openSize() argument 577 uhash_initSize(UHashtable *fillinResult, UHashFunction *keyHash, UKeyComparator *keyComp, UValueComparator *valueComp, int32_t size, UErrorCode *status) uhash_initSize() argument
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | ICUServiceTest.java | 143 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI() 149 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI() 161 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI() 171 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | UnicodeMap.java | 237 * Logically reduces the size of the internal arrays. 599 result = (U) new LinkedHashSet<T>(availableValues.size()); in values() 847 return size() == 0; in isEmpty() 917 * @see java.util.Map#size() 919 public int size() { in size() method in UnicodeMap 920 int result = stringMap == null ? 0 : stringMap.size(); in size()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | RBBIMonkeyTest.java | 527 int charClassIndex = rand.next() % rules.fCharClassList.size(); in set() 529 if (cclass.fSet.size() == 0) { in set() 533 int charIndex = rand.next() % cclass.fSet.size(); in set() 574 for (ruleNum=0; ruleNum<rules.fBreakRules.size(); ruleNum++) { in set()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBIMonkeyTest.java | 524 int charClassIndex = rand.next() % rules.fCharClassList.size(); in set() 526 if (cclass.fSet.size() == 0) { in set() 530 int charIndex = rand.next() % cclass.fSet.size(); in set() 573 for (ruleNum=0; ruleNum<rules.fBreakRules.size(); ruleNum++) { in set()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ICUServiceTest.java | 140 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI() 146 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI() 158 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI() 168 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationIterator.java | 338 while(offsets.size() <= ceBuffer.length) { in previousCE() 943 assert(offsets.size() < ceBuffer.length); in previousCEUnsafe() 948 while(offsets.size() < ceBuffer.length) { in previousCEUnsafe() 952 assert(offsets.size() == ceBuffer.length); in previousCEUnsafe()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodeMap.java | 234 * Logically reduces the size of the internal arrays. 596 result = (U) new LinkedHashSet<T>(availableValues.size()); in values() 844 return size() == 0; in isEmpty() 914 * @see java.util.Map#size() 916 public int size() { in size() method in UnicodeMap 917 int result = stringMap == null ? 0 : stringMap.size(); in size()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationiterator.cpp | 873 while(offsets.size() <= ceBuffer.length) { in previousCE() 928 U_ASSERT(offsets.size() < ceBuffer.length); in previousCEUnsafe() 933 while(offsets.size() < ceBuffer.length) { in previousCEUnsafe() 937 U_ASSERT(offsets.size() == ceBuffer.length); in previousCEUnsafe()
|
/third_party/libuv/src/unix/ |
H A D | os390.c | 155 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 160 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 167 return uv__search_path(args, buffer, size); in uv_exepath() 184 /* Use CVTRLSTG to get the size of actual real storage online at IPL in K. */ in uv_get_total_memory() 293 /* Assume maximum buffer size allowable */ in uv__interface_addresses_v6() 426 /* Assume maximum buffer size allowable */ in uv_interface_addresses()
|