Home
last modified time | relevance | path

Searched refs:space (Results 1 - 25 of 587) sorted by relevance

12345678910>>...24

/third_party/alsa-utils/alsactl/
H A Dinit_parse.c63 struct space { struct
81 static void Perror(struct space *space, const char *fmt, ...) in Perror() argument
85 fprintf(stderr, "%s:%i: ", space->filename, space->linenum); in Perror()
96 static void free_space(struct space *space) in free_space() argument
98 struct pair *pair = space->pairs; in free_space()
108 space->pairs = NULL; in free_space()
109 if (space in free_space()
138 value_find(struct space *space, const char *key) value_find() argument
147 value_set(struct space *space, const char *key, const char *value) value_set() argument
178 init_space(struct space **space, int card) init_space() argument
218 cardinfo_get(struct space *space, const char *attr) cardinfo_get() argument
241 check_id_changed(struct space *space, unsigned int what) check_id_changed() argument
269 get_ctl_value(struct space *space) get_ctl_value() argument
340 set_ctl_value(struct space *space, const char *value, int all) set_ctl_value() argument
527 elemid_get(struct space *space, const char *attr) elemid_get() argument
748 elemid_set(struct space *space, const char *attr, const char *value) elemid_set() argument
942 get_key_attribute(struct space *space, char *str, char *res, size_t ressize) get_key_attribute() argument
966 get_format_attribute(struct space *space, char **str) get_format_attribute() argument
986 get_format_len(struct space *space, char **str) get_format_len() argument
1004 apply_format(struct space *space, char *string, size_t maxsize) apply_format() argument
1243 run_program1(struct space *space, const char *command0, char *result, size_t ressize, size_t *reslen ATTRIBUTE_UNUSED, int log ATTRIBUTE_UNUSED) run_program1() argument
1288 parse_line(struct space *space, char *line, size_t linesize ATTRIBUTE_UNUSED) parse_line() argument
1659 parse(struct space *space, const char *filename) parse() argument
1749 struct space *space; init() local
[all...]
H A Dinit_utils_run.c25 int run_program1(struct space *space,
30 int run_program0(struct space *space, in run_program0() argument
74 Perror(space, "pipe failed: %s", strerror(errno)); in run_program0()
80 Perror(space, "pipe failed: %s", strerror(errno)); in run_program0()
111 Perror(space, "open /dev/null failed: %s", strerror(errno)); in run_program0()
123 Perror(space, "exec of program '%s' failed", argv[0]); in run_program0()
126 Perror(space, "fork of '%s' failed: %s", argv[0], strerror(errno)); in run_program0()
169 Perror(space, "stdi in run_program0()
241 run_program(struct space *space, const char *command0, char *result, size_t ressize, size_t *reslen, int log) run_program() argument
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dobject-allocator.cc14 #include "src/heap/cppgc/heap-space.h"
60 void AddToFreeList(NormalPageSpace& space, Address start, size_t size) { in AddToFreeList() argument
63 space.free_list().Add({start, size}); in AddToFreeList()
71 void ReplaceLinearAllocationBuffer(NormalPageSpace& space, in ReplaceLinearAllocationBuffer() argument
74 auto& lab = space.linear_allocation_buffer(); in ReplaceLinearAllocationBuffer()
76 AddToFreeList(space, lab.start(), lab.size()); in ReplaceLinearAllocationBuffer()
92 void* AllocateLargeObject(PageBackend& page_backend, LargePageSpace& space, in AllocateLargeObject() argument
95 LargePage* page = LargePage::Create(page_backend, space, size); in AllocateLargeObject()
96 space.AddPage(page); in AllocateLargeObject()
119 void* ObjectAllocator::OutOfLineAllocate(NormalPageSpace& space, size_ argument
137 OutOfLineAllocateImpl(NormalPageSpace& space, size_t size, AlignVal alignment, GCInfoIndex gcinfo) OutOfLineAllocateImpl() argument
173 RefillLinearAllocationBuffer(NormalPageSpace& space, size_t size) RefillLinearAllocationBuffer() argument
207 RefillLinearAllocationBufferFromFreeList( NormalPageSpace& space, size_t size) RefillLinearAllocationBufferFromFreeList() argument
231 VisitNormalPageSpace(NormalPageSpace& space) ResetLinearAllocationBuffers() argument
[all...]
H A Dheap-page.cc14 #include "src/heap/cppgc/heap-space.h"
50 page->space() in Destroy()
102 // Check that the space has no linear allocation buffer. in TryObjectHeaderFromInnerAddress()
103 DCHECK(!NormalPageSpace::From(normal_page->space()) in TryObjectHeaderFromInnerAddress()
116 BasePage::BasePage(HeapBase& heap, BaseSpace& space, PageType type) in BasePage() argument
117 : heap_(heap), space_(space), type_(type) { in BasePage()
125 NormalPageSpace& space) { in Create()
126 void* memory = page_backend.AllocateNormalPageMemory(space.index()); in Create()
127 auto* normal_page = new (memory) NormalPage(*space.raw_heap()->heap(), space); in Create()
124 Create(PageBackend& page_backend, NormalPageSpace& space) Create() argument
155 const BaseSpace& space = page->space(); Destroy() local
163 NormalPage(HeapBase& heap, BaseSpace& space) NormalPage() argument
207 LargePage(HeapBase& heap, BaseSpace& space, size_t size) LargePage() argument
218 Create(PageBackend& page_backend, LargePageSpace& space, size_t size) Create() argument
242 const BaseSpace& space = page->space(); Destroy() local
[all...]
H A Dheap-visitor.h9 #include "src/heap/cppgc/heap-space.h"
24 for (auto& space : heap) { in Traverse()
25 Traverse(*space.get()); in Traverse()
29 void Traverse(BaseSpace& space) { in Traverse() argument
31 space.is_large() in Traverse()
32 ? VisitLargePageSpaceImpl(LargePageSpace::From(space)) in Traverse()
33 : VisitNormalPageSpaceImpl(NormalPageSpace::From(space)); in Traverse()
35 for (auto* page : space) { in Traverse()
68 bool VisitNormalPageSpaceImpl(NormalPageSpace& space) { in VisitNormalPageSpaceImpl() argument
69 return ToDerived().VisitNormalPageSpace(space); in VisitNormalPageSpaceImpl()
71 VisitLargePageSpaceImpl(LargePageSpace& space) VisitLargePageSpaceImpl() argument
[all...]
H A Dheap-space.h93 static NormalPageSpace& From(BaseSpace& space) { in From() argument
94 DCHECK(!space.is_large()); in From()
95 return static_cast<NormalPageSpace&>(space); in From()
97 static const NormalPageSpace& From(const BaseSpace& space) { in From() argument
98 return From(const_cast<BaseSpace&>(space)); in From()
118 static LargePageSpace& From(BaseSpace& space) { in From() argument
119 DCHECK(space.is_large()); in From()
120 return static_cast<LargePageSpace&>(space); in From()
122 static const LargePageSpace& From(const BaseSpace& space) { in From() argument
123 return From(const_cast<BaseSpace&>(space)); in From()
[all...]
H A Dcompactor.cc17 #include "src/heap/cppgc/heap-space.h"
106 if (value_page->is_large() || !value_page->space().is_compactable()) return; in AddOrFilter()
127 if (V8_LIKELY(!slot_page->space().is_compactable())) return; in AddOrFilter()
226 CompactionState(NormalPageSpace* space, MovableReferences& movable_references) in CompactionState() argument
227 : space_(space), movable_references_(movable_references) {} in CompactionState()
230 DCHECK_EQ(space_, &page->space()); in AddPage()
300 DCHECK_EQ(space_, &current_page_->space()); in ReturnCurrentPageToSpace()
320 // Additional pages in the current space that can be used as compaction
376 void CompactSpace(NormalPageSpace* space, in CompactSpace() argument
381 UnmarkedObjectsPoisoner().Traverse(*space); in CompactSpace()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dsweeper.h44 // Temporary filters old space sweeping lists. Requires the concurrent
59 // Iteration here is from most free space to least free space. in FilterOldSpaceSweepingPages()
84 void AddPage(AllocationSpace space, Page* page, AddPageMode mode);
105 void DrainSweepingWorklistForSpace(AllocationSpace space);
111 Page* GetSweptPageSafe(PagedSpace* space);
138 Page* page, Space* space,
163 ForAllSweepingSpaces([this, &is_done](AllocationSpace space) { in IsDoneSweeping()
164 if (!sweeping_list_[GetSweepSpaceIndex(space)].empty()) is_done = false; in IsDoneSweeping()
171 // Concurrently sweeps many page from the given space
186 IsValidIterabilitySpace(AllocationSpace space) IsValidIterabilitySpace() argument
190 IsValidSweepingSpace(AllocationSpace space) IsValidSweepingSpace() argument
195 GetSweepSpaceIndex(AllocationSpace space) GetSweepSpaceIndex() argument
[all...]
H A Dsweeper.cc107 // Do not sweep code space concurrently. in RunImpl()
154 ForAllSweepingSpaces([this, marking_state](AllocationSpace space) { in StartSweeping()
162 int space_index = GetSweepSpaceIndex(space); in StartSweeping()
182 Page* Sweeper::GetSweptPageSafe(PagedSpace* space) { in GetSweptPageSafe() argument
184 SweptList& list = swept_list_[GetSweepSpaceIndex(space->identity())]; in GetSweptPageSafe()
200 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
201 ParallelSweepSpace(space, SweepingMode::kLazyOrConcurrent, 0); in EnsureCompleted()
206 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
207 CHECK(sweeping_list_[GetSweepSpaceIndex(space)].empty()); in EnsureCompleted()
212 void Sweeper::DrainSweepingWorklistForSpace(AllocationSpace space) { in DrainSweepingWorklistForSpace() argument
229 FreeAndProcessFreedMemory( Address free_start, Address free_end, Page* page, Space* space, FreeListRebuildingMode free_list_mode, FreeSpaceTreatmentMode free_space_mode) FreeAndProcessFreedMemory() argument
334 Space* space = p->owner(); RawSweep() local
567 TryRemoveSweepingPageSafe(AllocationSpace space, Page* page) TryRemoveSweepingPageSafe() argument
590 AddPage(AllocationSpace space, Page* page, Sweeper::AddPageMode mode) AddPage() argument
607 PrepareToBeSweptPage(AllocationSpace space, Page* page) PrepareToBeSweptPage() argument
622 GetSweepingPageSafe(AllocationSpace space) GetSweepingPageSafe() argument
[all...]
H A Dmemory-chunk-layout.cc49 AllocationSpace space) { in ObjectStartOffsetInMemoryChunk()
50 if (space == CODE_SPACE || space == CODE_LO_SPACE) { in ObjectStartOffsetInMemoryChunk()
63 AllocationSpace space) { in AllocatableMemoryInMemoryChunk()
64 if (space == CODE_SPACE) { in AllocatableMemoryInMemoryChunk()
48 ObjectStartOffsetInMemoryChunk( AllocationSpace space) ObjectStartOffsetInMemoryChunk() argument
62 AllocatableMemoryInMemoryChunk( AllocationSpace space) AllocatableMemoryInMemoryChunk() argument
/third_party/node/tools/gyp/pylib/gyp/
H A Dninja_syntax.py130 # Find the rightmost space that would obey our width constraint and
131 # that's not an escaped space.
133 space = available_space
135 space = text.rfind(" ", 0, space)
136 if space < 0 or self._count_dollars_before_index(text, space) % 2 == 0:
139 if space < 0:
140 # No such space; just use the first unescaped space w
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dninja_syntax.py130 # Find the rightmost space that would obey our width constraint and
131 # that's not an escaped space.
133 space = available_space
135 space = text.rfind(" ", 0, space)
136 if space < 0 or self._count_dollars_before_index(text, space) % 2 == 0:
139 if space < 0:
140 # No such space; just use the first unescaped space w
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_cl.c59 cl_alloc_bo(struct v3dv_cl *cl, uint32_t space, bool use_branch) in cl_alloc_bo() argument
61 struct v3dv_bo *bo = v3dv_bo_alloc(cl->job->device, space, "CL", true); in cl_alloc_bo()
95 v3dv_cl_ensure_space(struct v3dv_cl *cl, uint32_t space, uint32_t alignment) in v3dv_cl_ensure_space() argument
99 if (offset + space <= cl->size) { in v3dv_cl_ensure_space()
104 cl_alloc_bo(cl, space, false); in v3dv_cl_ensure_space()
109 v3dv_cl_ensure_space_with_branch(struct v3dv_cl *cl, uint32_t space) in v3dv_cl_ensure_space_with_branch() argument
120 space += cl_packet_length(RETURN_FROM_SUB_LIST); in v3dv_cl_ensure_space_with_branch()
123 space += cl_packet_length(BRANCH); in v3dv_cl_ensure_space_with_branch()
126 if (v3dv_cl_offset(cl) + space <= cl->size) in v3dv_cl_ensure_space_with_branch()
132 cl_alloc_bo(cl, space, !needs_return_from_sub_lis in v3dv_cl_ensure_space_with_branch()
[all...]
/third_party/mesa3d/src/panfrost/util/
H A Dpan_ir.c44 unsigned space = in pan_to_bytemask() local
54 return space | (space << 1); in pan_to_bytemask()
58 unsigned space = in pan_to_bytemask() local
64 return space | (space << 1) | (space << 2) | (space << 3); in pan_to_bytemask()
/third_party/skia/tests/
H A DColorSpaceTest.cpp30 static void test_space(skiatest::Reporter* r, SkColorSpace* space, in test_space() argument
34 REPORTER_ASSERT(r, nullptr != space); in test_space()
35 REPORTER_ASSERT(r, expectSRGB == space->gammaCloseToSRGB()); in test_space()
38 space->toXYZD50(&mat); in test_space()
96 static void test_serialize(skiatest::Reporter* r, sk_sp<SkColorSpace> space, bool isNamed) { in test_serialize() argument
97 sk_sp<SkData> data1 = space->serialize(); in test_serialize()
99 size_t bytes = space->writeToMemory(nullptr); in test_serialize()
101 space->writeToMemory(data2->writable_data()); in test_serialize()
107 REPORTER_ASSERT(r, space.get() == newSpace1.get()); in test_serialize()
108 REPORTER_ASSERT(r, space in test_serialize()
225 sk_sp<SkColorSpace> space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, srgbToXYZ); DEF_TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
H A Dwebtreemap.js99 // Given a list of rectangles |nodes|, the 1-d space available
100 // |space|, and a starting rectangle index |start|, compute an span of
105 function selectSpan(nodes, space, start) {
126 var score = Math.max(5*space*space*rmax / (rsum*rsum),
127 1*rsum*rsum / (space*space*rmin));
166 var space; // Space available along layout axis.
168 space = (y2 - y1) * pixels_to_units;
170 space
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_model_ng.cpp284 void FlexModelNG::SetMainSpace(const std::optional<Dimension>& space) in SetMainSpace() argument
286 CHECK_NULL_VOID(space); in SetMainSpace()
287 if (GreatOrEqual(space->Value(), 0.0)) { in SetMainSpace()
288 ACE_UPDATE_LAYOUT_PROPERTY(FlexLayoutProperty, Space, space.value()); in SetMainSpace()
292 void FlexModelNG::SetCrossSpace(const std::optional<Dimension>& space) in SetCrossSpace() argument
294 CHECK_NULL_VOID(space); in SetCrossSpace()
295 if (GreatOrEqual(space->Value(), 0.0)) { in SetCrossSpace()
296 ACE_UPDATE_LAYOUT_PROPERTY(FlexLayoutProperty, CrossSpace, space.value()); in SetCrossSpace()
300 void FlexModelNG::SetMainSpace(FrameNode* frameNode, const std::optional<Dimension>& space) in SetMainSpace() argument
302 CHECK_NULL_VOID(space); in SetMainSpace()
308 SetCrossSpace(FrameNode* frameNode, const std::optional<Dimension>& space) SetCrossSpace() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_cl.c45 v3d_cl_ensure_space(struct v3d_cl *cl, uint32_t space, uint32_t alignment) in v3d_cl_ensure_space() argument
49 if (offset + space <= cl->size) { in v3d_cl_ensure_space()
55 cl->bo = v3d_bo_alloc(cl->job->v3d->screen, align(space, 4096), "CL"); in v3d_cl_ensure_space()
64 v3d_cl_ensure_space_with_branch(struct v3d_cl *cl, uint32_t space) in v3d_cl_ensure_space_with_branch() argument
66 if (cl_offset(cl) + space + cl_packet_length(BRANCH) <= cl->size) in v3d_cl_ensure_space_with_branch()
69 struct v3d_bo *new_bo = v3d_bo_alloc(cl->job->v3d->screen, space, "CL"); in v3d_cl_ensure_space_with_branch()
70 assert(space <= new_bo->size); in v3d_cl_ensure_space_with_branch()
/third_party/node/deps/v8/tools/debug_helper/
H A Dgen-heap-constants.py30 for (space, offset), (instance_type, name) in v8heapconst.KNOWN_MAPS.items():
31 if space == target_space:
33 for (space, offset), name in v8heapconst.KNOWN_OBJECTS.items():
34 if space == target_space and (space, offset) not in v8heapconst.KNOWN_MAPS:
51 for (space, offset), (instance_type, name) in v8heapconst.KNOWN_MAPS.items():
52 if space == target_space:
/third_party/toybox/toys/posix/
H A Dwc.c36 int i, space = 0, first = 1; in show_lengths() local
46 space = 7; in show_lengths()
50 printf(" %*ld"+first, space, lengths[i]); in show_lengths()
61 int len = 0, clen = 1, space = 0; in do_wc() local
95 space = iswspace(wchar); in do_wc()
97 } else space = isspace(toybuf[pos]); in do_wc()
99 if (space) word=0; in do_wc()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/
H A Drow_model_ng.cpp23 void RowModelNG::Create(const std::optional<Dimension>& space, AlignDeclaration*, const std::string& tag) in Create() argument
33 CHECK_NULL_VOID(space); in Create()
34 if (GreatOrEqual(space->Value(), 0.0)) { in Create()
35 ACE_UPDATE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value()); in Create()
39 void RowModelNG::SetSpace(FrameNode* frameNode, const std::optional<Dimension>& space) in SetSpace() argument
41 CHECK_NULL_VOID(space); in SetSpace()
42 if (GreatOrEqual(space->Value(), 0.0)) { in SetSpace()
43 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value(), frameNode); in SetSpace()
45 LOGE("Column: the space value is illegal due to space i in SetSpace()
[all...]
H A Dcolumn_model_ng.cpp23 void ColumnModelNG::Create(const std::optional<Dimension>& space, AlignDeclaration*, const std::string&) in Create() argument
33 CHECK_NULL_VOID(space); in Create()
34 if (GreatOrEqual(space->Value(), 0.0)) { in Create()
35 ACE_UPDATE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value()); in Create()
39 void ColumnModelNG::SetSpace(FrameNode* frameNode, const std::optional<Dimension>& space) in SetSpace() argument
41 CHECK_NULL_VOID(space); in SetSpace()
42 if (GreatOrEqual(space->Value(), 0.0)) { in SetSpace()
43 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value(), frameNode); in SetSpace()
45 LOGE("Column: the space value is illegal due to space i in SetSpace()
[all...]
/third_party/ninja/misc/
H A Dninja_syntax.py170 # Find the rightmost space that would obey our width constraint and
171 # that's not an escaped space.
173 space = available_space
175 space = text.rfind(' ', 0, space)
176 if (space < 0 or
177 self._count_dollars_before_index(text, space) % 2 == 0):
180 if space < 0:
181 # No such space; just use the first unescaped space w
[all...]
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.cpp29 int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty) in ChainAnimationNode()
30 : springProperty_(std::move(springProperty)), index_(index), space_(space), maxSpace_(maxSpace), in ChainAnimationNode()
31 minSpace_(minSpace), curPosition_(space) in ChainAnimationNode()
33 spring_ = AceType::MakeRefPtr<SpringMotion>(space, space, 0.0, springProperty_); in ChainAnimationNode()
69 ChainAnimation::ChainAnimation(float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty) in ChainAnimation() argument
70 : springProperty_(springProperty), space_(space), maxSpace_(maxSpace), minSpace_(minSpace) in ChainAnimation()
73 nodes_.emplace(i, AceType::MakeRefPtr<ChainAnimationNode>(i, space, maxSpace, minSpace, springProperty)); in ChainAnimation()
74 nodes_.emplace(-i, AceType::MakeRefPtr<ChainAnimationNode>(-i, space, maxSpace, minSpace, springProperty)); in ChainAnimation()
203 void ChainAnimation::SetSpace(float space, floa argument
28 ChainAnimationNode( int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty) ChainAnimationNode() argument
[all...]
/foundation/arkui/ace_engine/frameworks/base/log/
H A Ddump_log.cpp31 std::string space = " "; in Print() local
33 ostream_->write(space.c_str(), space.length()); in Print()
35 ostream_->write(space.c_str(), space.length()); in Print()
43 ostream_->write(space.c_str(), space.length()); in Print()
66 std::string space = " "; in Print() local
68 ostream_->write(space.c_str(), space in Print()
[all...]

Completed in 12 milliseconds

12345678910>>...24