Home
last modified time | relevance | path

Searched +full:alloc +full:- +full:ranges (Results 1 – 25 of 167) sorted by relevance

1234567

/freebsd/contrib/llvm-project/libcxx/include/
H A Dqueue1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
46 template<container-compatible-range<T> R> queue(from_range_t, R&& rg); // since C++23
47 template <class Alloc>
48 explicit queue(const Alloc& a);
49 template <class Alloc>
50 queue(const container_type& c, const Alloc& a);
51 template <class Alloc>
[all …]
H A Dstack1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
45 template<container-compatible-range<T> R> stack(from_range_t, R&& rg); // since C++23
46 template <class Alloc> explicit stack(const Alloc& a);
47 template <class Alloc> stack(const container_type& c, const Alloc& a);
48 template <class Alloc> stack(container_type&& c, const Alloc& a);
49 template <class Alloc> stack(const stack& c, const Alloc& a);
50 template <class Alloc> stack(stack&& c, const Alloc& a);
[all …]
H A Dmemory1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 // clang-format off
24 template <class T, class Alloc> struct uses_allocator;
53 template <class Alloc>
56 typedef Alloc allocator_type;
60 typedef Alloc::pointer | value_type* pointer;
61 typedef Alloc::const_pointer
[all …]
H A Dunordered_set1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 // clang-format off
25 class Alloc = allocator<Value>>
34 typedef Alloc allocator_type;
63 template<container-compatible-range<value_type> R>
86 template<container-compatible-range<value_type> R>
89 template<container-compatible-range<value_type> R>
[all …]
H A Dlist1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
19 template <class T, class Alloc = allocator<T> >
26 typedef Alloc allocator_type;
31 typedef implementation-defined iterator;
32 typedef implementation-defined const_iterator;
33 typedef implementation-defined size_type;
34 typedef implementation-defined difference_type;
[all …]
H A Dunordered_map1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
23 class Alloc = allocator<pair<const Key, T>>>
32 typedef Alloc allocator_type;
62 template<container-compatible-range<value_type> R>
90 template<container-compatible-range<value_type> R>
93 template<container-compatible-range<value_type> R>
136 template<container-compatible-range<value_type> R>
[all …]
/freebsd/contrib/lib9p/pytest/
H A Dnumalloc.py11 available after provided value". Note that next-after will
14 The free lists are thread-locked so that this code can be used
22 >>> a.alloc()
26 >>> a.alloc(8)
74 >>> r = NumAlloc(0, -1)
76 NumAlloc(0, -1)
77 >>> r.alloc() is None
83 Note that r.alloc() starts from where you last left off, even if
86 >>> r.alloc()
89 >>> r.alloc()
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dp1023si-post.dtsi4 * Copyright 2011 - 2014 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 #address-cells = <2>;
52 #size-cells = <1>;
53 compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus";
[all …]
H A Dp4080si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 compatible = "fsl,p4080-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
[all …]
H A Dp3041si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
[all …]
H A Dp2041si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 compatible = "fsl,p2041-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
[all …]
H A Dp5020si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10000 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10000 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10000 0>;
51 compatible = "fsl,p5020-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
[all …]
H A Dp5040si-post.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10000 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10000 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10000 0>;
51 compatible = "fsl,p5040-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
[all …]
H A Dt1023si-post.dtsi35 #include <dt-bindings/thermal/thermal.h>
38 compatible = "fsl,bman-fbpr";
39 alloc-ranges = <0 0 0x10000 0>;
43 compatible = "fsl,qman-fqd";
44 alloc-ranges = <0 0 0x10000 0>;
48 compatible = "fsl,qman-pfdr";
49 alloc-ranges = <0 0 0x10000 0>;
53 #address-cells = <2>;
54 #size-cells = <1>;
60 compatible = "fsl,t1023-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie";
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DCoalescingBitVector.h1 //===- llvm/ADT/CoalescingBitVector.h - A coalescing bitvector --*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
31 /// contain contiguous ranges. Bad for representing sets with lots of gaps
35 /// performance for non-sequential find() operations.
37 /// \tparam IndexT - The type of the index into the bitvector.
44 /// An interval map for closed integer ranges. The mapped values are unused.
56 CoalescingBitVector(Allocator &Alloc) in CoalescingBitVector() argument
57 : Alloc(&Alloc), Intervals(Alloc) {} in CoalescingBitVector()
[all …]
/freebsd/sys/contrib/device-tree/src/xtensa/
H A Dkc705.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 /include/ "xtfpga-flash-128m.dtsi"
7 compatible = "cdns,xtensa-kc705";
16 reserved-memory {
17 #address-cells = <1>;
18 #size-cells = <1>;
19 ranges;
23 compatible = "shared-dma-pool";
27 alloc-ranges = <0x00000000 0x20000000>;
[all …]
/freebsd/lib/libopenbsd/
H A Dohash_interval.340 They operate indifferently on NUL-terminated strings
47 or memory ranges
54 For NUL-terminated strings, as a side effect, those functions
65 the alloc field of
68 .Xr malloc 3 Ns -like
70 .Bd -literal -offset indent
71 p = (*info->alloc)(sz, info->data);
83 designed for NUL-terminated strings.
87 Those functions are completely non-standard and should be avoided in
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp1 //===-- LiveRangeEdit.cpp - Basic tools for editing a register live range -===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
29 STATISTIC(NumFracRanges, "Number of live ranges fractured by DCE");
38 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createEmptyIntervalFrom()
41 if (Parent && !Parent->isSpillable()) in createEmptyIntervalFrom()
45 // the main range here---it will be constructed later after the subranges in createEmptyIntervalFrom()
48 VNInfo::Allocator &Alloc = LIS.getVNInfoAllocator(); in createEmptyIntervalFrom() local
50 LI.createSubRange(Alloc, S.LaneMask); in createEmptyIntervalFrom()
[all …]
H A DLiveIntervalCalc.cpp1 //===- LiveIntervalCalc.cpp - Calculate live interval --------
33 createDeadDef(SlotIndexes & Indexes,VNInfo::Allocator & Alloc,LiveRange & LR,const MachineOperand & MO) createDeadDef() argument
46 VNInfo::Allocator *Alloc = getVNAlloc(); calculate() local
113 VNInfo::Allocator *Alloc = getVNAlloc(); constructMainRangeFromSubranges() local
127 VNInfo::Allocator *Alloc = getVNAlloc(); createDeadDefs() local
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp33 StackIds->PushBack(Key); in RecordStackId()
40 for (const auto &Segment : Module.ranges()) { in SegmentSizeBytes()
51 // ---------- Segment Info
53 // ---------- Segment Entry
59 // ----------
70 for (const auto &Segment : Module.ranges()) { in SerializeSegmentsToBuffer()
84 CHECK(ExpectedNumBytes >= static_cast<u64>(Ptr - Buffer) && in SerializeSegmentsToBuffer()
108 // ---------- Stack Info
110 // ---------- Stack Entry
115 // ----------
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h1 //===- LiveRangeCalc.h - Calculate live ranges -----------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // live ranges from scratch.
13 // non-overlapping live ranges. SplitKit uses that when computing the live
16 // A low-level interface is available to clients that know where a variable is
18 // propagate values down the dominator tree, and even insert PHI-defs where
21 //===----------------------------------------------------------------------===//
50 VNInfo::Allocator *Alloc = nullptr; variable
52 /// LiveOutPair - A value and the block that defined it. The domtree node is
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
66 TRACE_ALLOC_FAILURE = -1ULL,
67 TRACE_TOO_SMALL = -2ULL,
68 TRACE_FORCE_GANG = -3ULL,
69 TRACE_NOT_ALLOCATABLE = -4ULL,
70 TRACE_GROUP_FAILURE = -5ULL,
71 TRACE_ENOSPC = -6ULL,
72 TRACE_CONDENSING = -7ULL,
73 TRACE_VDEV_ERROR = -8ULL,
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx93-phycore-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 * https://www.phytec.eu/en/produkte/system-on-modules/phycore-imx-91-93/
11 #include <dt-bindings/leds/common.h>
16 model = "PHYTEC phyCORE-i.MX93";
17 compatible = "phytec,imx93-phycore-som", "fsl,imx93";
19 reserved-memory {
20 ranges;
21 #address-cells = <2>;
22 #size-cells = <2>;
25 compatible = "shared-dma-pool";
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
3 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
6 * This source code is licensed under both the BSD-style license (found in the
9 * You may select, at your option, one of the above-listed licenses.
15 /*-*************************************
24 /*-*************************************
39 /*-*************************************
54 * Several optimizations complicate that process of allocating memory ranges
57 * - These different internal datastructures have different setup requirements:
59 * - The static objects need to be cleared once and can then be trivially
[all …]
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dreserved-memory.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/reserved-memory.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: /reserved-memory Child Node Common
10 - devicetree-spec@vger.kernel.org
13 Reserved memory is specified as a node under the /reserved-memory node. The
19 Each child of the reserved-memory node specifies one or more regions
25 Following the generic-names recommended practice, node names should
26 reflect the purpose of the node (ie. "framebuffer" or "dma-pool").
[all …]

1234567