/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_diag.c | 147 size_t size = 0; in tcp_diag_get_aux_size() local 162 size += nla_total_size(md5sig_count * in tcp_diag_get_aux_size() 172 size += nla_total_size(0) + in tcp_diag_get_aux_size() 175 size += ulp_ops->get_info_size(sk); in tcp_diag_get_aux_size() 178 return size; in tcp_diag_get_aux_size()
|
/kernel/linux/linux-6.6/tools/bootconfig/scripts/ |
H A D | bconf2ftrace.sh | 145 if xbc_has_key "${1}.size"; then 146 echo -n ":size="`xbc_get_val ${1}.size` 233 size2kb() { # size[KB|MB] 268 size=`xbc_get_val ${instance}.buffer_size 1` 269 size=`eval size2kb $size` 270 run_cmd "echo $size >> ${instancedir}/buffer_size_kb"
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 65 __u32 size; member 132 __le64 size; member 140 __le16 size; member 216 __le32 size; member 228 __le32 size; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 77 __u32 size; member 133 __le64 size; member 140 __le16 size; member 198 __le32 size; member 209 __le32 size; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 77 __u32 size; member 133 __le64 size; member 140 __le16 size; member 198 __le32 size; member 209 __le32 size; member
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | dump_handler.cpp | 34 index = begin + startStr.size(); in GetMiddleStr() 94 auto windowId = atoi(windowIdValue.substr(1, windowIdValue.size() - 2).c_str()); in AddExtraAttrs() 99 auto accessibilityId = accessibilityIdInfo.substr(1, accessibilityIdInfo.size() - 2); in AddExtraAttrs() 124 auto childCount = childrenData.size(); in AddExtraAttrs() 134 for (size_t i = 0; i < allWidget.size(); ++i) { in DumpWindowInfoToJson()
|
/test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
H A D | huks_cipher_rsa_test_common.cpp | 40 int32_t ret1 = HksMemCmp(inData->data, cipherText->data, inData->size); in HksRsaCipherTestEncryptAbnormal() 64 int32_t ret1 = HksMemCmp(inData->data, cipherText->data, inData->size); in HksRsaCipherTestEncrypt() 88 int32_t ret1 = HksMemCmp(inData->data, plainText->data, inData->size); in HksRsaCipherTestDecrypt() 110 struct OH_Huks_Blob newKeyAlias = {.size = strlen(tmpKey), .data = (uint8_t *)tmpKey}; in HksRsaCipherTestCase() 149 struct OH_Huks_Blob newKeyAlias = {.size = strlen(tmpKey), .data = (uint8_t *)tmpKey}; in HksRsaCipherTestCaseAbnormal()
|
/third_party/ffmpeg/libavcodec/ |
H A D | libtwolame.c | 126 avpkt->size); in twolame_encode_frame() 133 avpkt->data, avpkt->size); in twolame_encode_frame() 139 avpkt->data, avpkt->size); in twolame_encode_frame() 146 avpkt->data, avpkt->size); in twolame_encode_frame() 154 ret = twolame_encode_flush(s->glopts, avpkt->data, avpkt->size); in twolame_encode_frame()
|
H A D | nvdec_h264.c | 48 const uint8_t *buffer, uint32_t size) in nvdec_h264_start_frame() 132 uint32_t size) in nvdec_h264_decode_slice() 141 ctx->bitstream_len + size + 3); in nvdec_h264_decode_slice() 153 memcpy(ctx->bitstream + ctx->bitstream_len + 3, buffer, size); in nvdec_h264_decode_slice() 155 ctx->bitstream_len += size + 3; in nvdec_h264_decode_slice() 47 nvdec_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_h264_start_frame() argument 131 nvdec_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_h264_decode_slice() argument
|
H A D | sunrastenc.c | 39 int size; member 168 s->size = 32 + s->maplength + s->length * s->type; in sunrast_encode_init() 179 if ((ret = ff_alloc_packet(avctx, avpkt, s->size)) < 0) in sunrast_encode_frame() 182 bytestream2_init_writer(&s->p, avpkt->data, avpkt->size); in sunrast_encode_frame() 192 avpkt->size = bytestream2_tell_p(&s->p); in sunrast_encode_frame()
|
/third_party/ffmpeg/doc/examples/ |
H A D | hw_decode.c | 82 int size; in decode_write() local 118 size = av_image_get_buffer_size(tmp_frame->format, tmp_frame->width, in decode_write() 120 buffer = av_malloc(size); in decode_write() 126 ret = av_image_copy_to_buffer(buffer, size, in decode_write() 135 if ((ret = fwrite(buffer, 1, size, output_file)) < 0) { in decode_write()
|
H A D | vaapi_encode.c | 92 ret = fwrite(enc_pkt->data, enc_pkt->size, 1, fout); in encode_write() 104 int size, err; in main() local 118 size = width * height; in main() 177 if ((err = fread((uint8_t*)(sw_frame->data[0]), size, 1, fin)) <= 0) in main() 179 if ((err = fread((uint8_t*)(sw_frame->data[1]), size/2, 1, fin)) <= 0) in main()
|
/third_party/f2fs-tools/fsck/ |
H A D | quotaio.c | 85 void *buf, unsigned int size) in quota_write_nomount() 89 written = f2fs_write(qf->sbi, qf->ino, buf, size, offset); in quota_write_nomount() 92 if (written != size) in quota_write_nomount() 98 void *buf, unsigned int size) in quota_read_nomount() 100 return f2fs_read(qf->sbi, qf->ino, buf, size, offset); in quota_read_nomount() 83 quota_write_nomount(struct quota_file *qf, long offset, void *buf, unsigned int size) quota_write_nomount() argument 97 quota_read_nomount(struct quota_file *qf, long offset, void *buf, unsigned int size) quota_read_nomount() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | avio.h | 92 int64_t size; /**< File size in bytes, -1 if unknown. */ member 134 * that is cut into multiple write callbacks due to limited IO buffer size. 228 int buffer_size; /**< Maximum buffer size */ 248 unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); 396 * @param buffer_size The buffer size is very important for performance. 398 * For others a typical size is a cache page, e.g. 4kb. 428 void avio_write(AVIOContext *s, const unsigned char *buf, int size); 564 * Read size bytes from AVIOContext into buf. 567 int avio_read(AVIOContext *s, unsigned char *buf, int size); [all...] |
H A D | anm.c | 35 int size; member 149 p->size = avio_rl16(pb); in read_header() 200 /* fetch record size */ in read_packet() 208 pkt->size = av_get_packet(s->pb, pkt, record_size); in read_packet() 209 if (pkt->size < 0) in read_packet() 210 return pkt->size; in read_packet()
|
H A D | rtpenc_mpegts.c | 141 int ret = 0, size; in rtp_mpegts_write_packet() local 151 size = avio_close_dyn_buf(chain->mpegts_ctx->pb, &buf); in rtp_mpegts_write_packet() 153 if (size == 0) { in rtp_mpegts_write_packet() 159 local_pkt->size = size; in rtp_mpegts_write_packet()
|
/third_party/curl/src/ |
H A D | tool_cb_hdr.c | 68 size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata) in tool_header_cb() argument 76 const size_t cb = size * nmemb; in tool_header_cb() 84 if(size * nmemb > (size_t)CURL_MAX_HTTP_HEADER) { in tool_header_cb() 101 size_t rc = fwrite(ptr, size, nmemb, heads->stream); in tool_header_cb() 124 fwrite(etag_h, size, etag_length, etag_save->stream); in tool_header_cb()
|
/third_party/gn/src/gn/ |
H A D | hash_table_base.h | 27 // open-addressing scheme with a buckets array size which is always 249 size_t size() const { return count_; } in size() function in HashTableBase 476 // the table size changed, and that existing iterators were invalidated. 488 // Return true to indicate a table size change, ie. that existing 501 size_t size = size_; in GrowBuckets() local 502 size_t new_size = (size == 1) ? 8 : size * 2; in GrowBuckets() 509 for (size_t src_index = 0; src_index < size; ++src_index) { in GrowBuckets()
|
H A D | setup_unittest.cc | 20 CHECK_EQ(static_cast<int>(data.size()), // Way smaller than INT_MAX. in WriteFile() 21 base::WriteFile(file, data.data(), data.size())); in WriteFile() 46 ASSERT_EQ(1u, gen_deps.size()); in TEST_F() 195 ASSERT_EQ(3u, export_cc.size()); in TEST_F() 232 ASSERT_EQ(1u, root_patterns.size()); in TEST_F() 271 ASSERT_EQ(2u, root_patterns.size()); 334 ASSERT_EQ(1u, root_patterns.size());
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | hevc_sao.c | 41 #define randomize_buffers(buf0, buf1, size) \ 45 for (k = 0; k < size; k += 4) { \ 52 #define randomize_buffers2(buf, size) \ 57 for (k = 0; k < size; k++) { \ 62 for (k = 0; k < size; k++) { \
|
/third_party/backends/backend/escl/ |
H A D | escl_pdf.c | 51 set_file_in_buffer(FILE *fp, int *size) in set_file_in_buffer() argument 71 *size = nx; in set_file_in_buffer() 143 int size = 0; in get_PDF_data() local 146 data = (char*)set_file_in_buffer(scanner->tmp, &size); in get_PDF_data() 153 doc = poppler_document_new_from_data (data, size, NULL, NULL); in get_PDF_data()
|
/third_party/curl/docs/examples/ |
H A D | synctime.c | 132 size_t SyncTime_CURL_WriteOutput(void *ptr, size_t size, size_t nmemb, in SyncTime_CURL_WriteOutput() argument 135 fwrite(ptr, size, nmemb, stream); in SyncTime_CURL_WriteOutput() 136 return (nmemb*size); in SyncTime_CURL_WriteOutput() 139 size_t SyncTime_CURL_WriteHeader(void *ptr, size_t size, size_t nmemb, in SyncTime_CURL_WriteHeader() argument 188 return (nmemb*size); in SyncTime_CURL_WriteHeader()
|
/third_party/benchmark/src/ |
H A D | string_util.cc | 26 // We require that all three arrays have the same size. 28 "SI and IEC unit arrays must be the same size"); 30 "Small SI and Big SI unit arrays must be the same size"); 117 // allocation guess what the size might be in StrFormatImp() 122 auto ret = vsnprintf(local_buff.data(), local_buff.size(), msg, args_cp); in StrFormatImp() 128 if (static_cast<std::size_t>(ret) < local_buff.size()) in StrFormatImp() 132 // add 1 to size to account for null-byte in size cast to prevent overflow in StrFormatImp() 133 std::size_t size = static_cast<std::size_t>(ret) + 1; in StrFormatImp() 134 auto buff_ptr = std::unique_ptr<char[]>(new char[size]); in StrFormatImp() [all...] |
/third_party/googletest/googletest/src/hwext/ |
H A D | gtest-ext.cc | 53 for (unsigned int i = 0; i < testDefInfos.size(); i++)
in findDefFor() 129 for (unsigned int i = 0; i < testDefInfos.size(); i++) {
in getLevel() 178 for (unsigned int i = 0; i < testDefInfos.size(); i++) {
in getTestFlags() 207 int size = (info->flags >> posSize);
in getTestFlags() local 212 flagList[indexSize] = size;
in getTestFlags()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | MixedUnitLongNameHandler.java | 77 for (int i = 0; i < individualUnits.size(); i++) { in forMeasureUnit() 116 assert (fMixedUnitData.size() > 1); in processQuantity() 132 assert (fMixedUnitData.size() > 1); in processQuantityWithMicros() 160 if (micros.mixedMeasures.size() == 0) { in getMixedUnitModifier() 186 for (int i = 0; i < micros.mixedMeasures.size(); i++) { in getMixedUnitModifier()
|