Home
last modified time | relevance | path

Searched full:box (Results 1 – 25 of 10109) sorted by relevance

12345678910>>...405

/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1 //! The `Box<T>` type for heap allocation.
3 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
10 //! Move a value from the stack to the heap by creating a [`Box`]:
14 //! let boxed: Box<u8> = Box::new(val);
17 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
20 //! let boxed: Box<u8> = Box::new(5);
30 //! Cons(T, Box<List<T>>),
34 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
51 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
56 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1 //! The `Box<T>` type for heap allocation.
3 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
10 //! Move a value from the stack to the heap by creating a [`Box`]:
14 //! let boxed: Box<u8> = Box::new(val);
17 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
20 //! let boxed: Box<u8> = Box::new(5);
30 //! Cons(T, Box<List<T>>),
34 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
51 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
56 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1 //! The `Box<T>` type for heap allocation.
3 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
10 //! Move a value from the stack to the heap by creating a [`Box`]:
14 //! let boxed: Box<u8> = Box::new(val);
17 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
20 //! let boxed: Box<u8> = Box::new(5);
30 //! Cons(T, Box<List<T>>),
34 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
51 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
56 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1 //! The `Box<T>` type for heap allocation.
3 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
10 //! Move a value from the stack to the heap by creating a [`Box`]:
14 //! let boxed: Box<u8> = Box::new(val);
17 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
20 //! let boxed: Box<u8> = Box::new(5);
30 //! Cons(T, Box<List<T>>),
34 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
51 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
56 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1 //! The `Box<T>` type for heap allocation.
3 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
10 //! Move a value from the stack to the heap by creating a [`Box`]:
14 //! let boxed: Box<u8> = Box::new(val);
17 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
20 //! let boxed: Box<u8> = Box::new(5);
30 //! Cons(T, Box<List<T>>),
34 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
51 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
56 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/IdentityHashMap/
H A DBasic.java63 record Box(int i) { in Box() method in Basic
64 Box(Box other) { in Box() method
113 private void checkElements(Collection<Box> c, Box... given) { in checkElements()
120 private void checkEntries(Collection<Map.Entry<Box, Box>> c, Map.Entry<Box, Box>... given) { in checkEntries() argument
128 final Box k1a = new Box(17);
129 final Box k1b = new Box(17); // equals but != k1a
130 final Box k2 = new Box(42);
132 final Box v1a = new Box(30);
133 final Box v1b = new Box(30); // equals but != v1a
134 final Box v2 = new Box(99);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/rich/
Dbox.py16 class Box: class
29 box (str): Characters making up box.
30 ascii (bool, optional): True if this box uses ascii characters only. Default is False.
33 def __init__(self, box: str, *, ascii: bool = False) -> None:
34 self._box = box
36 line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
68 return "Box(...)"
73 def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box":
74 """Substitute this box for another if it won't render due to platform issues.
78 safe (bool, optional): Substitute this for another Box if there are known problems
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/rich/
Dbox.py16 class Box: class
29 box (str): Characters making up box.
30 ascii (bool, optional): True if this box uses ascii characters only. Default is False.
33 def __init__(self, box: str, *, ascii: bool = False) -> None:
34 self._box = box
36 line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
68 return "Box(...)"
73 def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box":
74 """Substitute this box for another if it won't render due to platform issues.
78 safe (bool, optional): Substitute this for another Box if there are known problems
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/rich/
Dbox.py16 class Box: class
29 box (str): Characters making up box.
30 ascii (bool, optional): True if this box uses ascii characters only. Default is False.
33 def __init__(self, box: str, *, ascii: bool = False) -> None:
34 self._box = box
36 line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
68 return "Box(...)"
73 def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box":
74 """Substitute this box for another if it won't render due to platform issues.
78 safe (bool, optional): Substitute this for another Box if there are known problems
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/rich/
Dbox.py16 class Box: class
29 box (str): Characters making up box.
30 ascii (bool, optional): True if this box uses ascii characters only. Default is False.
33 def __init__(self, box: str, *, ascii: bool = False) -> None:
34 self._box = box
36 line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
68 return "Box(...)"
73 def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box":
74 """Substitute this box for another if it won't render due to platform issues.
78 safe (bool, optional): Substitute this for another Box if there are known problems
[all …]
/aosp_15_r20/external/piex/src/
H A Dpiex_cr3.cc35 // Uuid of uuid box under the moov box.
39 // Uuid of uuid box containing PRVW box.
62 // Convenience class for a box.
63 class Box { class
65 Box() in Box() function in piex::__anon2af2df940111::Box
71 Box(const BoxTag& tag, size_t offset, size_t header_length, size_t length) in Box() function in piex::__anon2af2df940111::Box
83 // Returns offset from start of file, including box's header.
85 // Returns offset from start of file of the next box, accounting for size of
86 // this box.
104 // ISO/IEC 14496-12 specification that all box fields are big endian.
[all …]
/aosp_15_r20/external/mesa3d/src/util/
H A Dbox.h24 u_box_1d(unsigned x, unsigned w, struct pipe_box *box) in u_box_1d() argument
26 box->x = x; in u_box_1d()
27 box->y = 0; in u_box_1d()
28 box->z = 0; in u_box_1d()
29 box->width = w; in u_box_1d()
30 box->height = 1; in u_box_1d()
31 box->depth = 1; in u_box_1d()
35 u_box_2d(unsigned x,unsigned y, unsigned w, unsigned h, struct pipe_box *box) in u_box_2d() argument
37 box->x = x; in u_box_2d()
38 box->y = y; in u_box_2d()
[all …]
/aosp_15_r20/external/virglrenderer/tests/
H A Dtest_virgl_transfer.c40 struct virgl_box box; in START_TEST() local
42 ret = virgl_renderer_transfer_read_iov(1, 2, 0, 1, 1, &box, 0, NULL, 0); in START_TEST()
50 struct virgl_box box; in START_TEST() local
52 ret = virgl_renderer_transfer_write_iov(1, 2, 0, 1, 1, &box, 0, NULL, 0); in START_TEST()
61 struct virgl_box box; in START_TEST() local
63 ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, &box, 0, NULL, 0); in START_TEST()
71 struct virgl_box box; in START_TEST() local
73 ret = virgl_renderer_transfer_write_iov(1, 1, 0, 1, 1, &box, 0, NULL, 0); in START_TEST()
81 struct virgl_box box; in START_TEST() local
92 ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, &box, 0, NULL, 0); in START_TEST()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/pest_meta/src/
Dast.rs72 PosPred(Box<Expr>),
74 NegPred(Box<Expr>),
76 Seq(Box<Expr>, Box<Expr>),
78 Choice(Box<Expr>, Box<Expr>),
80 Opt(Box<Expr>),
82 Rep(Box<Expr>),
84 RepOnce(Box<Expr>),
86 RepExact(Box<Expr>, u32),
88 RepMin(Box<Expr>, u32),
90 RepMax(Box<Expr>, u32),
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/test/
H A Dtestcond.c39 void (*func)(toolbox_t *box);
45 void (*func)(toolbox_t *box);
95 toolbox_t *box = data; in thread_routine() local
97 box->func(box); in thread_routine()
104 static void lock_and_signal(toolbox_t *box) in lock_and_signal() argument
107 abts_case *tc = box->tc; in lock_and_signal()
109 rv = apr_thread_mutex_lock(box->mutex); in lock_and_signal()
112 rv = apr_thread_cond_signal(box->cond); in lock_and_signal()
115 rv = apr_thread_mutex_unlock(box->mutex); in lock_and_signal()
123 toolbox_t box[NTHREADS]; in dynamic_binding() local
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/encodings/
Dcp1125.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/encodings/
Dcp866.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
Dcp861.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
Dcp737.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/encodings/
Dcp860.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/encodings/
H A Dcp737.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/encodings/
Dcp866.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
Dcp863.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
/aosp_15_r20/external/python/cpython3/Lib/encodings/
Dcp863.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]
Dcp862.py99 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
100 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
101 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
102 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
103 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
104 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
105 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
106 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
107 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
108 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
[all …]

12345678910>>...405