/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 372 uint8_t *tmpBuffer = new uint8_t[attr.size]; in WriteOutputFrame() 373 if (memcpy_s(tmpBuffer, attr.size, OH_AVMemory_GetAddr(buffer), attr.size) != EOK) { in WriteOutputFrame() 376 fwrite(tmpBuffer, 1, attr.size, outFile); in WriteOutputFrame() 377 SHA512_Update(&c, tmpBuffer, attr.size); in WriteOutputFrame() 408 return signal_->outIdxQueue_.size() > 0; in OutputFunc() 463 attr.size = bufferSize + START_CODE_SIZE; in CopyStartCode() 472 attr.size = bufferSize + START_CODE_SIZE; in CopyStartCode() 517 int32_t size = OH_AVMemory_GetSize(buffer); in SendData() local 518 if (size < att in SendData() 597 InputFunc_FUZZ(const uint8_t *data, size_t size) InputFunc_FUZZ() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dss_sp.c | 360 /* TODO: what is 7? size of subframe? */ in dss_sp_unpack_coeffs() 493 static void dss_sp_scale_vector(int32_t *vec, int bits, int size) in dss_sp_scale_vector() argument 498 for (i = 0; i < size; i++) in dss_sp_scale_vector() 501 for (i = 0; i < size; i++) in dss_sp_scale_vector() 573 static int dss_sp_get_normalize_bits(int32_t *vector_buf, int16_t size) in dss_sp_get_normalize_bits() argument 580 for (i = 0; i < size; i++) in dss_sp_get_normalize_bits() 588 static int dss_sp_vector_sum(DssSpContext *p, int size) in dss_sp_vector_sum() argument 591 for (i = 0; i < size; i++) in dss_sp_vector_sum() 597 int32_t *dst, int size) in dss_sp_sf_synthesis() 604 if (size > in dss_sp_sf_synthesis() 596 dss_sp_sf_synthesis(DssSpContext *p, int32_t lpc_filter, int32_t *dst, int size) dss_sp_sf_synthesis() argument 698 dss_sp_32to16bit(int16_t *dst, int32_t *src, int size) dss_sp_32to16bit() argument [all...] |
H A D | wmavoice.c | 57 #define SFRAME_CACHE_MAXSIZE 256 ///< maximum cache size for frame data that 386 "Invalid extradata size %d (should be 46)\n", in wmavoice_decode_init() 503 * @param size input buffer size 509 int size, float alpha, float *gain_mem) in adaptive_gain_control() 515 for (i = 0; i < size; i++) { in adaptive_gain_control() 522 for (i = 0; i < size; i++) { in adaptive_gain_control() 543 * @param size input/output buffer size 549 const float *in, float *out, int size) in kalman_smoothen() 507 adaptive_gain_control(float *out, const float *in, const float *speech_synth, int size, float alpha, float *gain_mem) adaptive_gain_control() argument 548 kalman_smoothen(WMAVoiceContext *s, int pitch, const float *in, float *out, int size) kalman_smoothen() argument 726 wiener_denoise(WMAVoiceContext *s, int fcb_type, float *synth_pf, int size, const float *lpcs) wiener_denoise() argument 808 postfilter(WMAVoiceContext *s, const float *synth, float *samples, int size, const float *lpcs, float *zero_exc_pf, int fcb_type, int pitch) postfilter() argument 1277 synth_block_hardcoded(WMAVoiceContext *s, GetBitContext *gb, int block_idx, int size, const struct frame_type_desc *frame_desc, float *excitation) synth_block_hardcoded() argument 1308 synth_block_fcb_acb(WMAVoiceContext *s, GetBitContext *gb, int block_idx, int size, int block_pitch_sh2, const struct frame_type_desc *frame_desc, float *excitation) synth_block_fcb_acb() argument 1442 synth_block(WMAVoiceContext *s, GetBitContext *gb, int block_idx, int size, int block_pitch_sh2, const double *lsps, const double *prev_lsps, const struct frame_type_desc *frame_desc, float *excitation, float *synth) synth_block() argument 1882 copy_bits(PutBitContext *pb, const uint8_t *data, int size, GetBitContext *gb, int nbits) copy_bits() argument 1916 int size, res, pos; wmavoice_decode_packet() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_atadenoise.c | 61 int size, mid, radius; member 80 { "s", "set how many frames to use", OFFSET(size), AV_OPT_TYPE_INT, {.i64=9}, 5, SIZE, VF }, 127 if (!(s->size & 1)) { in init() 128 av_log(ctx, AV_LOG_WARNING, "size %d is invalid. Must be an odd value, setting it to %d.\n", s->size, s->size|1); in init() 129 s->size |= 1; in init() 131 s->radius = s->size / 2; in init() 144 int w, int mid, int size, \ 159 for (int j = mid - 1, i = mid + 1; j >= 0 && i < size; 341 const int size = s->size; filter_slice() local [all...] |
/third_party/mesa3d/src/asahi/lib/ |
H A D | decode.c | 61 if (mmap_array[i].type == AGX_ALLOC_REGULAR && addr >= mmap_array[i].ptr.gpu && (addr - mmap_array[i].ptr.gpu) < mmap_array[i].size) in agxdecode_find_mapped_gpu_mem_containing_rw() 74 mprotect(mem->ptr.cpu, mem->size, PROT_READ); in agxdecode_find_mapped_gpu_mem_containing() 206 uint64_t gpu_va, size_t size, in __agxdecode_fetch_gpu_mem() 220 assert(size + (gpu_va - mem->ptr.gpu) <= mem->size); in __agxdecode_fetch_gpu_mem() 225 #define agxdecode_fetch_gpu_mem(gpu_va, size) \ 226 __agxdecode_fetch_gpu_mem(NULL, gpu_va, size, __LINE__, __FILE__) 233 mprotect(ro_mappings[i]->ptr.cpu, ro_mappings[i]->size, in agxdecode_map_read_write() 262 hexdump(agxdecode_dump_stream, bo->ptr.cpu, bo->size, false); in agxdecode_dump_bo() 279 uint8_t *end = (uint8_t *) alloc->ptr.cpu + alloc->size; in agxdecode_stateful() 205 __agxdecode_fetch_gpu_mem(const struct agx_bo *mem, uint64_t gpu_va, size_t size, int line, const char *filename) __agxdecode_fetch_gpu_mem() argument 391 agxdecode_record(uint64_t va, size_t size, bool verbose) agxdecode_record() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | memory.cpp | 106 cl_mem_flags d_flags, size_t size, in clCreateBufferWithProperties() 117 if (!size || in clCreateBufferWithProperties() 118 size > fold(maximum(), cl_ulong(0), in clCreateBufferWithProperties() 124 return new root_buffer(ctx, properties, flags, size, host_ptr); in clCreateBufferWithProperties() 132 clCreateBuffer(cl_context d_ctx, cl_mem_flags d_flags, size_t size, in clCreateBuffer() argument 134 return clCreateBufferWithProperties(d_ctx, NULL, d_flags, size, in clCreateBuffer() 149 reg->origin > parent.size() || in clCreateSubBuffer() 150 reg->origin + reg->size > parent.size()) in clCreateSubBuffer() 153 if (!reg->size) in clCreateSubBuffer() 104 clCreateBufferWithProperties(cl_context d_ctx, const cl_mem_properties *d_properties, cl_mem_flags d_flags, size_t size, void *host_ptr, cl_int *r_errcode) clCreateBufferWithProperties() argument 406 clGetMemObjectInfo(cl_mem d_mem, cl_mem_info param, size_t size, void *r_buf, size_t *r_size) clGetMemObjectInfo() argument 485 clGetImageInfo(cl_mem d_mem, cl_image_info param, size_t size, void *r_buf, size_t *r_size) clGetImageInfo() argument 583 clSVMAlloc(cl_context d_ctx, cl_svm_mem_flags flags, size_t size, unsigned int alignment) clSVMAlloc() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-cff-common.hh | 51 unsigned int size = 1; in calcOffSize() local 55 size++; in calcOffSize() 58 /* format does not support size > 4; caller should handle it as an error */ in calcOffSize() 59 return size; in calcOffSize() 75 unsigned int size = 0; in total_size() local 77 size += (*this)[i].length; in total_size() 78 return size; in total_size() 98 unsigned int size = get_size (); in copy() local 99 CFFIndex *out = c->allocate_size<CFFIndex> (size); in copy() 101 memcpy (out, this, size); in copy() 108 unsigned int size = src.get_size (); serialize() local 239 unsigned int size = offSize; set_offset_at() local 252 unsigned int size = offSize; offset_at() local 436 unsigned int size; global() member 561 unsigned int size = src.get_size (num_glyphs); serialize() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 143 * @param left string on the left of this node, should have {@code size() > 0} 144 * @param right string on the right of this node, should have {@code size() > 0} 149 leftLength = left.size(); in RopeByteString() 150 totalLength = leftLength + right.size(); in RopeByteString() 168 if (right.size() == 0) { in concatenate() 172 if (left.size() == 0) { in concatenate() 176 final int newLength = left.size() + right.size(); in concatenate() 185 if (leftRope.right.size() + right.size() < CONCATENATE_BY_COPY_SIZ in concatenate() 295 public int size() { size() method in RopeByteString [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglMakeCurrentPerfTests.cpp | 226 DE_ASSERT((int)types.size() <= m_spec.surfaceCount); in createSurfaces() 231 SurfaceType type = types[surfaceNdx % types.size()]; in createSurfaces() 334 if (m_surfaces.size() > 0) in destroySurfaces() 393 if (m_contexts.size() > 0) in destroyContexts() 415 log << TestLog::Message << "Context count: " << m_contexts.size() << TestLog::EndMessage; in logTestInfo() 416 log << TestLog::Message << "Surfaces count: " << m_surfaces.size() << TestLog::EndMessage; in logTestInfo() 419 log << TestLog::Message << "Window count: " << m_windows.size() << TestLog::EndMessage; in logTestInfo() 420 log << TestLog::Message << "Pixmap count: " << m_pixmaps.size() << TestLog::EndMessage; in logTestInfo() 421 log << TestLog::Message << "PBuffer count: " << (m_surfaces.size() - m_windows.size() in logTestInfo() [all...] |
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | mmu.c | 35 phys_addr_t size) in __stage2_range_addr_end() 37 phys_addr_t boundary = ALIGN_DOWN(addr + size, size); in __stage2_range_addr_end() 44 phys_addr_t size = kvm_granule_size(KVM_PGTABLE_MIN_BLOCK_LEVEL); in stage2_range_addr_end() local 46 return __stage2_range_addr_end(addr, end, size); in stage2_range_addr_end() 200 static void *kvm_host_zalloc_pages_exact(size_t size) in kvm_host_zalloc_pages_exact() argument 202 return alloc_pages_exact(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_host_zalloc_pages_exact() 205 static void *kvm_s2_zalloc_pages_exact(size_t size) in kvm_s2_zalloc_pages_exact() argument 207 void *virt = kvm_host_zalloc_pages_exact(size); in kvm_s2_zalloc_pages_exact() 210 kvm_account_pgtable_pages(virt, (size >> PAGE_SHIF in kvm_s2_zalloc_pages_exact() 34 __stage2_range_addr_end(phys_addr_t addr, phys_addr_t end, phys_addr_t size) __stage2_range_addr_end() argument 214 kvm_s2_free_pages_exact(void *virt, size_t size) kvm_s2_free_pages_exact() argument 273 clean_dcache_guest_page(void *va, size_t size) clean_dcache_guest_page() argument 278 invalidate_icache_guest_page(void *va, size_t size) invalidate_icache_guest_page() argument 319 __unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size, bool may_block) __unmap_stage2_range() argument 331 unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size) unmap_stage2_range() argument 404 __create_hyp_mappings(unsigned long start, unsigned long size, unsigned long phys, enum kvm_pgtable_prot prot) __create_hyp_mappings() argument 633 hyp_alloc_private_va_range(size_t size, unsigned long *haddr) hyp_alloc_private_va_range() argument 661 __create_hyp_private_mapping(phys_addr_t phys_addr, size_t size, unsigned long *haddr, enum kvm_pgtable_prot prot) __create_hyp_private_mapping() argument 694 size_t size; create_hyp_stack() local 740 create_hyp_io_mappings(phys_addr_t phys_addr, size_t size, void __iomem **kaddr, void __iomem **haddr) create_hyp_io_mappings() argument 778 create_hyp_exec_mappings(phys_addr_t phys_addr, size_t size, void **haddr) create_hyp_exec_mappings() argument 946 phys_addr_t size = PAGE_SIZE * memslot->npages; stage2_unmap_memslot() local 1064 kvm_phys_addr_ioremap(struct kvm *kvm, phys_addr_t guest_ipa, phys_addr_t pa, unsigned long size, bool writable) kvm_phys_addr_ioremap() argument 1217 size_t size; fault_supports_stage2_huge_mapping() local 1372 sanitise_mte_tags(struct kvm *kvm, kvm_pfn_t pfn, unsigned long size) sanitise_mte_tags() argument 1819 u64 size = (range->end - range->start) << PAGE_SHIFT; kvm_age_gfn() local 1831 u64 size = (range->end - range->start) << PAGE_SHIFT; kvm_test_age_gfn() local 1853 unsigned long size = hyp_idmap_end - hyp_idmap_start; kvm_map_idmap_text() local 2085 phys_addr_t size = slot->npages << PAGE_SHIFT; kvm_arch_flush_shadow_memslot() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | aviobuf.c | 232 void avio_write(AVIOContext *s, const unsigned char *buf, int size) in avio_write() argument 236 writeout(s, buf, size); in avio_write() 239 while (size > 0) { in avio_write() 240 int len = FFMIN(s->buf_end - s->buf_ptr, size); in avio_write() 248 size -= len; in avio_write() 355 int64_t size; in avio_size() local 365 size = s->seek(s->opaque, 0, AVSEEK_SIZE); in avio_size() 366 if (size < 0) { in avio_size() 367 if ((size = s->seek(s->opaque, -1, SEEK_END)) < 0) in avio_size() 368 return size; in avio_size() 527 read_packet_wrapper(AVIOContext *s, uint8_t *buf, int size) read_packet_wrapper() argument 641 avio_read(AVIOContext *s, unsigned char *buf, int size) avio_read() argument 691 ffio_read_size(AVIOContext *s, unsigned char *buf, int size) ffio_read_size() argument 701 ffio_read_indirect(AVIOContext *s, unsigned char *buf, int size, const unsigned char **data) ffio_read_indirect() argument 713 avio_read_partial(AVIOContext *s, unsigned char *buf, int size) avio_read_partial() argument 1093 ffio_limit(AVIOContext *s, int size) ffio_limit() argument 1393 int pos, size, allocated_size; global() member 1531 int size; avio_close_dyn_buf() local 1591 int size; ffio_close_null_buf() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 80 void genTexCoords (std::vector<tcu::Vec2>& coords, const tcu::UVec2& size) in genTexCoords() argument 82 for (deUint32 y = 0; y < size.y(); y++) in genTexCoords() 83 for (deUint32 x = 0; x < size.x(); x++) in genTexCoords() 88 const float fw = (float)size.x(); in genTexCoords() 89 const float fh = (float)size.y(); in genTexCoords() 392 (deUint32)bufferBarriers.size(), &bufferBarriers[0], in uploadYCbCrImage() 475 void logBoundImages (tcu::TestLog& log, const tcu::UVec2 size, const std::vector<tcu::Vec4>& minBounds, const std::vector<tcu::Vec4>& maxBounds) in logBoundImages() argument 477 tcu::TextureLevel minImage (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), size.x(), size.y()); in logBoundImages() 478 tcu::TextureLevel maxImage (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), size in logBoundImages() 818 renderYCbCrToColor(ProtectedContext& ctx, const tcu::UVec2 size, const vk::VkSampler ycbcrSampler, const vk::VkImageView ycbcrImageView, const vk::VkImage colorImage, const vk::VkImageView colorImageView, const std::vector<YCbCrValidationData>& referenceData, const std::vector<tcu::Vec2>& posCoords, const deUint32 combinedSamplerDescriptorCount) renderYCbCrToColor() argument 996 generateYCbCrImage(ProtectedContext& ctx, const TestConfig& config, const tcu::UVec2 size, const std::vector<tcu::Vec2>& texCoords, ycbcr::MultiPlaneImageData& ycbcrSrc, std::vector<tcu::Vec4>& ycbcrMinBounds, std::vector<tcu::Vec4>& ycbcrMaxBounds) generateYCbCrImage() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 80 void genTexCoords (std::vector<tcu::Vec2>& coords, const tcu::UVec2& size) in genTexCoords() argument 82 for (deUint32 y = 0; y < size.y(); y++) in genTexCoords() 83 for (deUint32 x = 0; x < size.x(); x++) in genTexCoords() 88 const float fw = (float)size.x(); in genTexCoords() 89 const float fh = (float)size.y(); in genTexCoords() 392 (deUint32)bufferBarriers.size(), &bufferBarriers[0], in uploadYCbCrImage() 475 void logBoundImages (tcu::TestLog& log, const tcu::UVec2 size, const std::vector<tcu::Vec4>& minBounds, const std::vector<tcu::Vec4>& maxBounds) in logBoundImages() argument 477 tcu::TextureLevel minImage (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), size.x(), size.y()); in logBoundImages() 478 tcu::TextureLevel maxImage (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), size in logBoundImages() 818 renderYCbCrToColor(ProtectedContext& ctx, const tcu::UVec2 size, const vk::VkSampler ycbcrSampler, const vk::VkImageView ycbcrImageView, const vk::VkImage colorImage, const vk::VkImageView colorImageView, const std::vector<YCbCrValidationData>& referenceData, const std::vector<tcu::Vec2>& posCoords, const deUint32 combinedSamplerDescriptorCount) renderYCbCrToColor() argument 996 generateYCbCrImage(ProtectedContext& ctx, const TestConfig& config, const tcu::UVec2 size, const std::vector<tcu::Vec2>& texCoords, ycbcr::MultiPlaneImageData& ycbcrSrc, std::vector<tcu::Vec4>& ycbcrMinBounds, std::vector<tcu::Vec4>& ycbcrMaxBounds) generateYCbCrImage() argument [all...] |
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_utils.cpp | 77 napi_value outBuffer = GenerateArrayBuffer(env, blob->data, blob->size);
in ConvertArrayToNapiValue() 83 napi_create_typedarray(env, napi_uint8_array, blob->size, outBuffer, 0, &element);
in ConvertArrayToNapiValue() 92 napi_value GenerateArrayBuffer(napi_env env, uint8_t *data, uint32_t size)
in GenerateArrayBuffer() argument 94 uint8_t *buffer = static_cast<uint8_t *>(CfMalloc(size, 0));
in GenerateArrayBuffer() 100 if (memcpy_s(buffer, size, data, size) != EOK) {
in GenerateArrayBuffer() 108 env, buffer, size, [](napi_env env, void *data, void *hint) { CfFree(data); }, nullptr, &outBuffer);
in GenerateArrayBuffer() 243 if (blob == nullptr || blob->data == nullptr || blob->size == 0) {
in ConvertBlobToUint8ArrNapiValue() 248 uint8_t *buffer = static_cast<uint8_t *>(CfMalloc(blob->size, 0));
in ConvertBlobToUint8ArrNapiValue() 254 if (memcpy_s(buffer, blob->size, blo in ConvertBlobToUint8ArrNapiValue() [all...] |
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | tuner-xc2028.c | 25 /* Max transfer size done by I2C transfer functions */ 81 unsigned int size; member 123 #define i2c_send(priv, buf, size) ({ \ 125 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ 126 if (size != _rc) \ 128 _rc, (int)size); \ 313 endp = p + fw->size; in load_all_firmwares() 315 if (fw->size < sizeof(name) - 1 + 2 + 2) { in load_all_firmwares() 316 tuner_err("Error: firmware file %s has invalid size!\n", in load_all_firmwares() 345 __u32 type, size; in load_all_firmwares() local 567 __u16 size; load_firmware() local [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | xc2028.c | 25 /* Max transfer size done by I2C transfer functions */ 81 unsigned int size; member 123 #define i2c_send(priv, buf, size) ({ \ 125 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ 126 if (size != _rc) \ 128 _rc, (int)size); \ 313 endp = p + fw->size; in load_all_firmwares() 315 if (fw->size < sizeof(name) - 1 + 2 + 2) { in load_all_firmwares() 316 tuner_err("Error: firmware file %s has invalid size!\n", in load_all_firmwares() 345 __u32 type, size; in load_all_firmwares() local 567 __u16 size; load_firmware() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu10_hwmgr.c | 1033 uint32_t i, now, size = 0; in smu10_print_clock_levels() local 1049 size += sprintf(buf + size, "0: %uMhz %s\n", in smu10_print_clock_levels() 1052 size += sprintf(buf + size, "1: %uMhz %s\n", in smu10_print_clock_levels() 1055 size += sprintf(buf + size, "2: %uMhz %s\n", in smu10_print_clock_levels() 1063 size += sprintf(buf + size, "%d: %uMhz %s\n", in smu10_print_clock_levels() 1078 size in smu10_print_clock_levels() 1292 smu10_read_sensor(struct pp_hwmgr *hwmgr, int idx, void *value, int *size) smu10_read_sensor() argument 1443 uint32_t i, size = 0; smu10_get_power_profile_mode() local 1486 smu10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) smu10_set_power_profile_mode() argument 1528 smu10_set_fine_grain_clk_vol(struct pp_hwmgr *hwmgr, enum PP_OD_DPM_TABLE_COMMAND type, long *input, uint32_t size) smu10_set_fine_grain_clk_vol() argument [all...] |
/third_party/curl/tests/ |
H A D | ftpserver.pl | 688 my $size = 0; 690 $size = hex($1); 693 read_datasockf(\$line, $size); 695 logmsg "> Throwing away $size bytes on closed connection\n"; 857 my $size; 867 $size = $1; 876 # Check the capabilities for SIZE and if the specified size is 877 # greater than the message size then reject it 880 if ($size > $1) { 887 sendcontrol "552 Message size to [all...] |
/third_party/gn/src/gn/ |
H A D | command_format.cc | 116 .size()); in CountLines() 328 if (margin() + trimmed.size() <= kMaximumWidth) { in PrintTrailingCommentsWrapped() 336 for (size_t j = 0; j < split_on_spaces.size(); ++j) { in PrintTrailingCommentsWrapped() 346 (j < split_on_spaces.size() - 1 && in PrintTrailingCommentsWrapped() 347 CurrentColumn() + split_on_spaces[j + 1].size() > kMaximumWidth)) { in PrintTrailingCommentsWrapped() 386 size_t n = output_.size(); in Trim() 393 size_t n = output_.size(); in HaveBlankLine() 454 for (size_t i = 0; i < statements.size(); ++i) { in SortImports() 489 return import.size() >= 3 && import[0] == '"' && import[1] == '/' && in SortImports() 625 while (n < static_cast<int>(output_.size()) in CurrentColumn() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RBBITableBuilder.java | 556 for (tx=1; tx<fDStates.size(); tx++) { in buildStateTable() 590 Assert.assrt(U.size() > 0); in buildStateTable() 592 for (ix=0; ix<fDStates.size(); ix++) { in buildStateTable() 609 ux = fDStates.size()-1; in buildStateTable() 696 for (i=0; i<endMarkerNodes.size(); i++) { in flagAcceptingStates() 698 for (n=0; n<fDStates.size(); n++) { in flagAcceptingStates() 738 for (i=0; i<lookAheadNodes.size(); i++) { in flagLookAheadStates() 740 for (n=0; n<fDStates.size(); n++) { in flagLookAheadStates() 766 for (i=0; i<tagNodes.size(); i++) { // For each tag node t (all of 'em) in flagTaggedStates() 769 for (n=0; n<fDStates.size(); in flagTaggedStates() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RBBITableBuilder.java | 549 for (tx=1; tx<fDStates.size(); tx++) { in buildStateTable() 583 Assert.assrt(U.size() > 0); in buildStateTable() 585 for (ix=0; ix<fDStates.size(); ix++) { in buildStateTable() 602 ux = fDStates.size()-1; in buildStateTable() 690 for (i=0; i<endMarkerNodes.size(); i++) { in flagAcceptingStates() 692 for (n=0; n<fDStates.size(); n++) { in flagAcceptingStates() 733 for (i=0; i<lookAheadNodes.size(); i++) { in flagLookAheadStates() 735 for (n=0; n<fDStates.size(); n++) { in flagLookAheadStates() 761 for (i=0; i<tagNodes.size(); i++) { // For each tag node t (all of 'em) in flagTaggedStates() 764 for (n=0; n<fDStates.size(); in flagTaggedStates() [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfread.c | 87 FT_FRAME_ULONG_LE( size ), /* rounded up to a multiple of 4 */ 104 FT_ULong size; in pcf_read_TOC() local 115 if ( stream->size < 16 ) in pcf_read_TOC() 120 if ( toc->count > ( stream->size >> 4 ) || in pcf_read_TOC() 126 FT_MIN( stream->size >> 4, 9 ) )); in pcf_read_TOC() 127 toc->count = FT_MIN( stream->size >> 4, 9 ); in pcf_read_TOC() 167 if ( ( tables[i].size > tables[i + 1].offset ) || in pcf_read_TOC() 168 ( tables[i].offset > tables[i + 1].offset - tables[i].size ) ) in pcf_read_TOC() 180 * We now check whether the `size' and `offset' values are reasonable: in pcf_read_TOC() 181 * `offset' + `size' mus in pcf_read_TOC() 485 FT_ULong format, size; pcf_get_properties() local 683 FT_ULong format, size; pcf_get_metrics() local 818 FT_ULong format, size, pos; pcf_get_bitmaps() local 981 FT_ULong format, size; pcf_get_encodings() local 1193 FT_ULong format, size; pcf_get_accel() local [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | osdmap.c | 59 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket() 71 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 74 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 77 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 78 for (j = 0; j < b->h.size; j++) { in crush_decode_list_bucket() 109 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 112 b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 115 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket() 116 for (j = 0; j < b->h.size; j++) { in crush_decode_straw_bucket() 130 b->item_weights = kcalloc(b->h.size, sizeo in crush_decode_straw2_bucket() 460 int size = 0; crush_decode() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | vangogh_ppt.c | 589 int i, idx, size = 0, ret = 0; in vangogh_print_legacy_clk_levels() local 599 smu_cmn_get_sysfs_buf(&buf, &size); in vangogh_print_legacy_clk_levels() 604 size += sysfs_emit_at(buf, size, "%s:\n", "OD_SCLK"); in vangogh_print_legacy_clk_levels() 605 size += sysfs_emit_at(buf, size, "0: %10uMhz\n", in vangogh_print_legacy_clk_levels() 607 size += sysfs_emit_at(buf, size, "1: %10uMhz\n", in vangogh_print_legacy_clk_levels() 613 size += sysfs_emit_at(buf, size, "CCLK_RANG in vangogh_print_legacy_clk_levels() 691 int i, idx, size = 0, ret = 0; vangogh_print_clk_levels() local 1051 uint32_t i, size = 0; vangogh_get_power_profile_mode() local 1076 vangogh_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) vangogh_set_power_profile_mode() argument 1527 vangogh_read_sensor(struct smu_context *smu, enum amd_pp_sensors sensor, void *data, uint32_t *size) vangogh_read_sensor() argument 2049 vangogh_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, long input[], uint32_t size) vangogh_od_edit_dpm_table() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | osdmap.c | 75 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket() 87 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 90 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 93 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 94 for (j = 0; j < b->h.size; j++) { in crush_decode_list_bucket() 125 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 128 b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 131 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket() 132 for (j = 0; j < b->h.size; j++) { in crush_decode_straw_bucket() 146 b->item_weights = kcalloc(b->h.size, sizeo in crush_decode_straw2_bucket() 476 int size = 0; crush_decode() local [all...] |