/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-brcmstb.c | 277 * This is to convert the size of the inbound "BAR" region to the 280 static int brcm_pcie_encode_ibar_size(u64 size) in brcm_pcie_encode_ibar_size() argument 282 int log2_in = ilog2(size); in brcm_pcie_encode_ibar_size() 392 u64 pcie_addr, u64 size) in brcm_pcie_set_outbound_win() 405 limit_addr_mb = (cpu_addr + size - 1) / SZ_1M; in brcm_pcie_set_outbound_win() 786 u64 size = 0; in brcm_pcie_get_rc_bar2_size_and_offset() local 791 size += entry->res->end - entry->res->start + 1; in brcm_pcie_get_rc_bar2_size_and_offset() 807 pcie->memc_size[0] = 1ULL << fls64(size - 1); in brcm_pcie_get_rc_bar2_size_and_offset() 813 for (i = 0, size = 0; i < pcie->num_memc; i++) in brcm_pcie_get_rc_bar2_size_and_offset() 814 size in brcm_pcie_get_rc_bar2_size_and_offset() 390 brcm_pcie_set_outbound_win(struct brcm_pcie *pcie, unsigned int win, u64 cpu_addr, u64 pcie_addr, u64 size) brcm_pcie_set_outbound_win() argument 1099 const size_t size = sizeof(struct subdev_regulators) + alloc_subdev_regulators() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/svm/ |
H A D | nested.c | 242 static bool nested_svm_check_bitmap_pa(struct kvm_vcpu *vcpu, u64 pa, u32 size) in nested_svm_check_bitmap_pa() argument 247 kvm_vcpu_is_legal_gpa(vcpu, addr + size - 1); in nested_svm_check_bitmap_pa() 1276 unsigned port, size, iopm_len; in nested_svm_intercept_ioio() local 1285 size = (svm->vmcb->control.exit_info_1 & SVM_IOIO_SIZE_MASK) >> in nested_svm_intercept_ioio() 1289 iopm_len = (start_bit + size > 8) ? 2 : 1; in nested_svm_intercept_ioio() 1290 mask = (0xf >> (4 - size)) << start_bit; in nested_svm_intercept_ioio() 1586 .size = sizeof(kvm_state), in svm_get_nested_state() 1592 return kvm_state.size + KVM_STATE_NESTED_SVM_VMCB_SIZE; in svm_get_nested_state() 1596 if (user_data_size < kvm_state.size) in svm_get_nested_state() 1602 kvm_state.size in svm_get_nested_state() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 570 void __iomem *vaddr, u64 offset, unsigned long size, in ast_plane_init() 581 ast_plane->size = size; in ast_plane_init() 726 unsigned long size = ast->vram_fb_available - cursor_size; in ast_primary_plane_init() local 729 ret = ast_plane_init(dev, ast_primary_plane, vaddr, offset, size, in ast_primary_plane_init() 966 size_t size; in ast_cursor_plane_init() local 976 size = roundup(AST_HWC_SIZE + AST_HWC_SIGNATURE_SIZE, PAGE_SIZE); in ast_cursor_plane_init() 978 if (ast->vram_fb_available < size) in ast_cursor_plane_init() 981 vaddr = ast->vram + ast->vram_fb_available - size; in ast_cursor_plane_init() 982 offset = ast->vram_fb_available - size; in ast_cursor_plane_init() 569 ast_plane_init(struct drm_device *dev, struct ast_plane *ast_plane, void __iomem *vaddr, u64 offset, unsigned long size, uint32_t possible_crtcs, const struct drm_plane_funcs *funcs, const uint32_t *formats, unsigned int format_count, const uint64_t *format_modifiers, enum drm_plane_type type) ast_plane_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_cs.c | 38 * size is 70720 bytes, however, the power context and execlist context will 40 * on HSW) - so the final size, including the extra state required for the 260 * intel_engine_context_size() - return the size of the context for an engine 267 * Return: size (in bytes) of an engine class specific context image 269 * Note: this size includes the HWSP, which is part of the context image 309 * There is a discrepancy here between the size reported in intel_engine_context_size() 310 * by the register and the size of the context layout in intel_engine_context_size() 1342 frame->ring.size = sizeof(frame->cs); in measure_breadcrumb_dw() 1344 BITS_PER_TYPE(frame->ring.size) - ilog2(frame->ring.size); in measure_breadcrumb_dw() 2203 int size; print_request_ring() local [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/fs/ |
H A D | posix_fs_func_test.c | 1522 ssize_t size; variable 1529 size = write(fd, writeBuf, sizeof(writeBuf)); 1531 ICUNIT_ASSERT_NOT_EQUAL(size, -1, size); 1550 ssize_t size; variable 1557 size = write(fd, writeBuf, sizeof(writeBuf)); 1559 ICUNIT_ASSERT_NOT_EQUAL(size, -1, size); 1679 ssize_t size; variable 1686 size [all...] |
/kernel/linux/linux-6.6/net/9p/ |
H A D | client.c | 262 * @t_size: Buffer size for holding this request 264 * @r_size: Buffer size for holding server's reply on this request 461 * @size: size of packet 468 p9_parse_header(struct p9_fcall *pdu, int32_t *size, int8_t *type, in p9_parse_header() argument 487 if (size) in p9_parse_header() 488 *size = r_size; in p9_parse_header() 490 if (pdu->size != r_size || r_size < 7) { in p9_parse_header() 498 p9_debug(P9_DEBUG_9P, "<<< size=%d type: %d tag: %d\n", in p9_parse_header() 499 pdu->size, pd in p9_parse_header() [all...] |
/kernel/linux/linux-6.6/net/can/j1939/ |
H A D | transport.c | 50 * and the size of the message to be sent made this 97 /* Unexpected EDPO packet (ETP) or Message size > 1785 bytes 117 /* ECTS requested packets exceeds message size */ 150 return "Unexpected EDPO packet (ETP) or Message size > 1785 bytes (TP)"; in j1939_xtp_abort_to_str() 162 return "ECTS requested packets exceeds message size"; in j1939_xtp_abort_to_str() 397 netdev_dbg(priv->ndev, "%s: 0x%p: no skb found for start: %i, queue size: %i\n", in j1939_session_skb_get_by_offset() 1385 "%s: 0x%p: Incorrect size. Expected: %i; got: %i.\n", in j1939_xtp_rx_eoma_one() 1489 struct sk_buff *skb, size_t size) in j1939_session_new() 1504 session->total_message_size = size; in j1939_session_new() 1528 int size, in j1939_session_fresh_new() 1488 j1939_session_new(struct j1939_priv *priv, struct sk_buff *skb, size_t size) j1939_session_new() argument 1527 j1939_session_fresh_new(struct j1939_priv *priv, int size, const struct j1939_sk_buff_cb *rel_skcb) j1939_session_fresh_new() argument 1962 j1939_tp_send(struct j1939_priv *priv, struct sk_buff *skb, size_t size) j1939_tp_send() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | me_cmp.c | 911 #define VSAD_INTRA(size) \ 912 static int vsad_intra ## size ## _c(MpegEncContext *c, \ 919 for (x = 0; x < size; x += 4) { \ 933 #define VSAD(size) \ 934 static int vsad ## size ## _c(MpegEncContext *c, \ 941 for (x = 0; x < size; x++) \ 953 #define VSSE_INTRA(size) \ 954 static int vsse_intra ## size ## _c(MpegEncContext *c, \ 961 for (x = 0; x < size; x += 4) { \ 975 #define VSSE(size) \ [all...] |
/third_party/backends/backend/genesys/ |
H A D | gl847.cpp | 298 dev.interface->write_ahb(0x01000a00, phase_table.size(), phase_table.data()); in gl847_write_motor_phase_table() 375 dist = scan_table.table.size(); in gl847_init_motor_regs_scan() 410 unsigned min_restep = scan_table.table.size() / (2 * step_multiplier) - 1; in gl847_init_motor_regs_scan() 422 scan_table.table.size(), in gl847_init_motor_regs_scan() 436 reg->set8(REG_STEPNO, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 437 reg->set8(REG_FASTNO, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 438 reg->set8(REG_FSHDEC, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 439 reg->set8(REG_FMOVNO, fast_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 440 reg->set8(REG_FMOVDEC, fast_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 883 std::uint8_t* data, int size) cons in send_shading_data() [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 160 EXPECT_EQ("whose size is 1", Explain(m, container)); in TEST() 420 if (best_so_far_.size() == graph_->RhsSize()) break; in Compute() 432 if (matches_.size() > best_so_far_.size()) { in PushMatch() 456 if (best_so_far_.size() == graph_->RhsSize()) { in RecurseInto() 498 EXPECT_EQ(FindBacktrackingMaxBPM(graph).size(), matches.size()) in TEST_P() 505 for (size_t i = 0; i < matches.size(); ++i) { in TEST_P() 535 for (size_t i = 0; i < kEdges.size(); ++i) { in TEST_F() 549 EXPECT_EQ(FindBacktrackingMaxBPM(graph).size(), in TEST_P() [all...] |
/third_party/mesa3d/include/CL/ |
H A D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */ 168 size_t size; member 1080 size_t size, 1125 size_t size, 1196 size_t size, 1499 size_t size, 1530 size_t size, 1564 size_t size, 1577 size_t size, 1680 size_t size, [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 598 nir_ssa_def *size = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_gradient_cube_map() local 722 /* size has textureSize() of LOD 0 */ in lower_gradient_cube_map() 723 nir_ssa_def *L = nir_channel(b, size, 0); in lower_gradient_cube_map() 764 nir_ssa_def *size = in lower_gradient() local 777 nir_ssa_def *dPdx = nir_fmul(b, ddx, size); in lower_gradient() 778 nir_ssa_def *dPdy = nir_fmul(b, ddy, size); in lower_gradient() 907 * size rather than [0.0, 1.0] in saturate_src() 1227 /* Make sure the component encoding the array size (if any) is not in nir_lower_txs_lod() 1256 nir_ssa_def *size = &tex->dest.ssa; in nir_lower_txs_cube_array() local 1257 size in nir_lower_txs_cube_array() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_pipe.h | 117 /* We only support the minimum allowed value (512), so that we can pack a 3D block size 681 /* Maximum and current size */ 1349 void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res, uint64_t size, 1353 unsigned usage, unsigned size, unsigned alignment); 1355 unsigned usage, unsigned size, unsigned alignment); 1374 uint32_t size; member 1386 uint32_t size, uint32_t clear_value); 1416 uint64_t offset, uint64_t size, uint32_t *clear_value, 1420 unsigned dst_offset, unsigned size, 1424 uint64_t size, unsigne [all...] |
/third_party/node/test/parallel/ |
H A D | test-whatwg-readablestream.js | 195 ['a', {}, false].forEach((size) => { 197 new ReadableStream({}, { size }); 239 assert.strictEqual(strategy.size(new ArrayBuffer(10)), 10); 241 const { size } = strategy; 242 assert.strictEqual(size(new ArrayBuffer(10)), 10); 248 assert.strictEqual(strategy.size(new ArrayBuffer(10)), 1); 250 const { size } = strategy; 251 assert.strictEqual(size(new ArrayBuffer(10)), 1); 305 get size() { throw new Error('boom2'); } 967 size() { retur [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 595 size_t size; in hd_ringbuf_init() local 596 for (size = 1; size < bufsize; size <<= 1) in hd_ringbuf_init() 598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init() 602 ringbuf->mask = size - 1; in hd_ringbuf_init() 617 size_t size; in hd_ringbuf_reserve() local 623 for (size = 1; size < bufsize; size << in hd_ringbuf_reserve() [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_api.c | 180 uint32_t old_size = store->size; in realloc_prim_store() 181 store->size = prim_count; in realloc_prim_store() 182 assert (old_size < store->size); in realloc_prim_store() 183 store->prims = realloc(store->prims, store->size * sizeof(struct _mesa_prim)); in realloc_prim_store() 184 memset(&store->prims[old_size], 0, (store->size - old_size) * sizeof(struct _mesa_prim)); in realloc_prim_store() 289 const GLubyte size[VBO_ATTRIB_MAX], in compare_vao() 323 if (attrib->Format.Size != size[vbo_attr]) in compare_vao() 343 const GLubyte size[VBO_ATTRIB_MAX], in update_vao() 355 vao_enabled, size, type, offset)) in update_vao() 384 size[vbo_att in update_vao() 285 compare_vao(gl_vertex_processing_mode mode, const struct gl_vertex_array_object *vao, const struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vao_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) compare_vao() argument 338 update_vao(struct gl_context *ctx, gl_vertex_processing_mode mode, struct gl_vertex_array_object **vao, struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vbo_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) update_vao() argument [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 595 size_t size; in hd_ringbuf_init() local 596 for (size = 1; size < bufsize; size <<= 1) in hd_ringbuf_init() 598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init() 602 ringbuf->mask = size - 1; in hd_ringbuf_init() 617 size_t size; in hd_ringbuf_reserve() local 623 for (size = 1; size < bufsize; size << in hd_ringbuf_reserve() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | load-elimination.cc | 400 for (size_t i = 0; i < maps.size(); ++i) { in Print() 409 for (size_t i = 0u; i < this_fields.size(); ++i) { in FieldsEquals() 446 for (size_t i = 0; i < this_fields->size(); ++i) { in FieldsMerge() 613 if (i == fields_.size()) return this; in KillFields() 620 while (++i < fields_.size()) { in KillFields() 634 for (size_t i = 0; i < const_fields_.size(); ++i) { in KillAll() 692 if (state_->LookupMaps(other, &other_maps) && other_maps.size() == 1) { in MayAlias() 710 for (size_t i = 0; i < fields_.size(); ++i) { in Print() 716 for (size_t i = 0; i < const_fields_.size(); ++i) { in Print() 727 if (id < info_for_node_.size()) retur in Get() [all...] |
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | info.py | 1150 class Member(namedtuple('Member', 'name vartype size')): 1155 vartype = size = None 1157 size = raw.data 1159 size = int(raw.data) 1163 if 'size' in vartype: 1164 size = vartype.pop('size') 1165 if isinstance(size, str) and size.isdigit(): 1166 size [all...] |
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 445 # A constant likely larger than the underlying OS pipe buffer size, to 448 # 64 KiB pipe buffer size or 16 * PAGE_SIZE: take a few megs to be sure. 452 # A constant likely larger than the underlying OS socket buffer size, to make 783 def check_sizeof(test, o, size): 789 # add GC header size 792 size += _testinternalcapi.SIZEOF_PYGC_HEAD 793 msg = 'wrong size for %s: got %d, expected %d' \ 794 % (type(o), result, size) 795 test.assertEqual(result, size, msg) 865 # as size [all...] |
/third_party/opencl-headers/CL/ |
H A D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */ 177 size_t size; member 1089 size_t size, 1134 size_t size, 1205 size_t size, 1508 size_t size, 1539 size_t size, 1573 size_t size, 1586 size_t size, 1689 size_t size, [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 421 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex); in initialize() 620 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage() 912 deUint32 highestIndex = 0; // Store to highest index to calculate the vertices size in generateDrawData() 958 const deUint32 bufferSize = (deUint32)(m_data.indexes.size() * sizeof(deUint32)); in iterate() 965 bufferSize, // VkDeviceSize size; in iterate() 1122 if (m_data.commands.size() > 1 && !(features.multiDrawIndirect)) in draw() 1124 for (deUint32 cmdIdx = 0; cmdIdx < m_data.commands.size(); ++cmdIdx) in draw() 1132 m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), sizeof(vk::VkDrawIndirectCommand)); in draw() 1151 const vk::VkDeviceSize indirectInfoSize = m_data.commands.size() * sizeof(vk::VkDrawIndirectCommand); in iterate() 1158 indirectInfoSize, // VkDeviceSize size; in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiDisplayTests.cpp | 837 // Test the call correctly writes data in various size arrays in testGetPhysicalDeviceDisplayPropertiesKHR() 924 if (displaySet.size() != displayCountRetrieved) in testGetPhysicalDeviceDisplayPropertiesKHR() 987 // Test the call correctly writes data in various size arrays in testGetPhysicalDeviceDisplayPlanePropertiesKHR() 1123 // Test the call correctly writes data in various size arrays in testGetDisplayPlaneSupportedDisplaysKHR() 1213 // Test the call correctly writes data in various size arrays in testGetDisplayModePropertiesKHR() 1315 if (modes.size() < 1) in testCreateDisplayModeKHR() 1319 builtinModesCount = modes.size(); in testCreateDisplayModeKHR() 1376 if (builtinModesCount != modes.size()) in testCreateDisplayModeKHR() 1378 string(" to ") + de::toString(modes.size())); in testCreateDisplayModeKHR() 1443 displayIndex < displaysForPlane.size(); in testGetDisplayPlaneCapabilitiesKHR() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 419 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex); in initialize() 594 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage() 883 deUint32 highestIndex = 0; // Store to highest index to calculate the vertices size in generateDrawData() 929 const deUint32 bufferSize = (deUint32)(m_data.indexes.size() * sizeof(deUint32)); in iterate() 936 bufferSize, // VkDeviceSize size; in iterate() 1093 if (m_data.commands.size() > 1 && !(features.multiDrawIndirect)) in draw() 1095 for (deUint32 cmdIdx = 0; cmdIdx < m_data.commands.size(); ++cmdIdx) in draw() 1103 m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), sizeof(vk::VkDrawIndirectCommand)); in draw() 1122 const vk::VkDeviceSize indirectInfoSize = m_data.commands.size() * sizeof(vk::VkDrawIndirectCommand); in iterate() 1129 indirectInfoSize, // VkDeviceSize size; in iterate() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFContext.cpp | 140 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpDWARFv5StringOffsetsSection() 173 // In DWARF v5 the contribution size in the descriptor does not equal in dumpDWARFv5StringOffsetsSection() 177 OS << "Contribution size = " << (Contribution->Size + (Version < 5 ? 0 : 4)) in dumpDWARFv5StringOffsetsSection() 204 // a header containing size and version number. Alternatively, it may be a 222 uint64_t size = StringOffsetsSection.Data.size(); in dumpStringOffsetsSection() local 223 // Ensure that size is a multiple of the size of an entry. in dumpStringOffsetsSection() 224 if (size & ((uint64_t)(sizeof(uint32_t) - 1))) { in dumpStringOffsetsSection() 225 OS << "error: size o in dumpStringOffsetsSection() [all...] |