Home
last modified time | relevance | path

Searched refs:from (Results 1 - 25 of 5630) sorted by relevance

12345678910>>...226

/third_party/rust/crates/glob/tests/
H A Dglob-std.rs85 PathBuf::from("r/another"), in main()
86 PathBuf::from("r/one"), in main()
87 PathBuf::from("r/one/another"), in main()
88 PathBuf::from("r/one/another/deep"), in main()
89 PathBuf::from("r/three"), in main()
90 PathBuf::from("r/two") in main()
98 PathBuf::from("r/another"), in main()
99 PathBuf::from("r/one"), in main()
100 PathBuf::from("r/one/another"), in main()
101 PathBuf::from(" in main()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypedArrays.js49 typedArrays[0] = Int8Array.from(obj);
50 typedArrays[1] = Uint8Array.from(obj);
51 typedArrays[2] = Int16Array.from(obj);
52 typedArrays[3] = Uint16Array.from(obj);
53 typedArrays[4] = Int32Array.from(obj);
54 typedArrays[5] = Uint32Array.from(obj);
55 typedArrays[6] = Float32Array.from(obj);
56 typedArrays[7] = Float64Array.from(obj);
57 typedArrays[8] = Uint8ClampedArray.from(obj);
64 typedArrays[0] = Int8Array.from(ob
[all...]
H A DramdaToolsNoInfinite2.js3 import { Extends } from "Any/Extends";
4 import { List } from "List/List";
14 import { Key } from "Any/Key";
25 import { Keys as UKeys } from "Union/Keys";
30 import { _Pick } from "Object/Pick";
31 import { Exclude } from "Union/Exclude";
32 import { Key } from "Any/Key";
33 import { Keys } from "Object/Keys";
39 import { Key } from "Any/Key";
40 import { Boolean } from "Boolea
[all...]
H A Des6ExportEqualsInterop.js127 import x1 from "interface";
128 import x2 from "variable";
129 import x3 from "interface-variable";
130 import x4 from "module";
131 import x5 from "interface-module";
132 import x6 from "variable-module";
133 import x7 from "function";
134 import x8 from "function-module";
135 import x9 from "class";
136 import x0 from "clas
[all...]
H A DpathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.js10 import { foo as foo1 } from "/foo";
11 import { bar as bar1 } from "/bar";
12 import { foo as foo2 } from "c:/foo";
13 import { bar as bar2 } from "c:/bar";
14 import { foo as foo3 } from "c:\\foo";
15 import { bar as bar3 } from "c:\\bar";
16 import { foo as foo4 } from "//server/foo";
17 import { bar as bar4 } from "//server/bar";
18 import { foo as foo5 } from "\\\\server\\foo";
19 import { bar as bar5 } from "\\\\serve
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c30 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
32 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
33 to->bits_per_component = from->bits_per_component; in copy_pps_fields()
34 to->convert_rgb = from->convert_rgb; in copy_pps_fields()
35 to->slice_width = from->slice_width; in copy_pps_fields()
36 to->slice_height = from->slice_height; in copy_pps_fields()
37 to->simple_422 = from->simple_422; in copy_pps_fields()
38 to->native_422 = from->native_422; in copy_pps_fields()
39 to->native_420 = from->native_420; in copy_pps_fields()
40 to->pic_width = from in copy_pps_fields()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c29 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
31 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
32 to->bits_per_component = from->bits_per_component; in copy_pps_fields()
33 to->convert_rgb = from->convert_rgb; in copy_pps_fields()
34 to->slice_width = from->slice_width; in copy_pps_fields()
35 to->slice_height = from->slice_height; in copy_pps_fields()
36 to->simple_422 = from->simple_422; in copy_pps_fields()
37 to->native_422 = from->native_422; in copy_pps_fields()
38 to->native_420 = from->native_420; in copy_pps_fields()
39 to->pic_width = from in copy_pps_fields()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
H A Dia_css_ctc2.host.c75 /* (void) = ia_css_ctc2_vmem_encode(*to, *from)
77 * VMEM Encode Function to translate Y parameters from userspace into ISP space
80 const struct ia_css_ctc2_config *from, in ia_css_ctc2_vmem_encode()
93 dydx0 = ctc2_slope(from->y_y1, from->y_y0, in ia_css_ctc2_vmem_encode()
94 from->y_x1, 0); in ia_css_ctc2_vmem_encode()
95 dydx1 = ctc2_slope(from->y_y2, from->y_y1, in ia_css_ctc2_vmem_encode()
96 from->y_x2, from in ia_css_ctc2_vmem_encode()
79 ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, const struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_vmem_encode() argument
144 ia_css_ctc2_encode(struct ia_css_isp_ctc2_dmem_params *to, struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
H A Dia_css_ctc2.host.c75 /* (void) = ia_css_ctc2_vmem_encode(*to, *from)
77 * VMEM Encode Function to translate Y parameters from userspace into ISP space
80 const struct ia_css_ctc2_config *from, in ia_css_ctc2_vmem_encode()
93 dydx0 = ctc2_slope(from->y_y1, from->y_y0, in ia_css_ctc2_vmem_encode()
94 from->y_x1, 0); in ia_css_ctc2_vmem_encode()
95 dydx1 = ctc2_slope(from->y_y2, from->y_y1, in ia_css_ctc2_vmem_encode()
96 from->y_x2, from in ia_css_ctc2_vmem_encode()
79 ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, const struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_vmem_encode() argument
144 ia_css_ctc2_encode(struct ia_css_isp_ctc2_dmem_params *to, struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_encode() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c37 /* Encodes a look-up table from BNLM public parameters to vmem parameters.
52 /* Create VMEM LUTs from the threshold and value arrays. in bnlm_lut_encode()
82 /* Copy data from first block to all blocks */ in bnlm_lut_encode()
100 const struct ia_css_bnlm_config *from, in ia_css_bnlm_vmem_encode()
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
110 from->sad_norm_lut_val, 16); in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
112 from in ia_css_bnlm_vmem_encode()
98 ia_css_bnlm_vmem_encode( struct bnlm_vmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_vmem_encode() argument
149 ia_css_bnlm_encode( struct bnlm_dmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c37 /* Encodes a look-up table from BNLM public parameters to vmem parameters.
52 /* Create VMEM LUTs from the threshold and value arrays. in bnlm_lut_encode()
82 /* Copy data from first block to all blocks */ in bnlm_lut_encode()
100 const struct ia_css_bnlm_config *from, in ia_css_bnlm_vmem_encode()
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
110 from->sad_norm_lut_val, 16); in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
112 from in ia_css_bnlm_vmem_encode()
98 ia_css_bnlm_vmem_encode( struct bnlm_vmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_vmem_encode() argument
149 ia_css_bnlm_encode( struct bnlm_dmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_encode() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c91 const struct ia_css_eed1_8_config *from, in ia_css_eed1_8_vmem_encode()
131 assert(from->dew_enhance_seg_x[j] > -1); in ia_css_eed1_8_vmem_encode()
132 assert(from->dew_enhance_seg_y[j] > -1); in ia_css_eed1_8_vmem_encode()
136 assert(from->dew_enhance_seg_x[j] > from->dew_enhance_seg_x[j - 1]); in ia_css_eed1_8_vmem_encode()
137 assert(from->dew_enhance_seg_y[j] > from->dew_enhance_seg_y[j - 1]); in ia_css_eed1_8_vmem_encode()
140 assert(from->dew_enhance_seg_x[0] == 0); in ia_css_eed1_8_vmem_encode()
141 assert(from->dew_enhance_seg_y[0] == 0); in ia_css_eed1_8_vmem_encode()
176 from in ia_css_eed1_8_vmem_encode()
89 ia_css_eed1_8_vmem_encode( struct eed1_8_vmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_vmem_encode() argument
227 ia_css_eed1_8_encode( struct eed1_8_dmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c91 const struct ia_css_eed1_8_config *from, in ia_css_eed1_8_vmem_encode()
131 assert(from->dew_enhance_seg_x[j] > -1); in ia_css_eed1_8_vmem_encode()
132 assert(from->dew_enhance_seg_y[j] > -1); in ia_css_eed1_8_vmem_encode()
136 assert(from->dew_enhance_seg_x[j] > from->dew_enhance_seg_x[j - 1]); in ia_css_eed1_8_vmem_encode()
137 assert(from->dew_enhance_seg_y[j] > from->dew_enhance_seg_y[j - 1]); in ia_css_eed1_8_vmem_encode()
140 assert(from->dew_enhance_seg_x[0] == 0); in ia_css_eed1_8_vmem_encode()
141 assert(from->dew_enhance_seg_y[0] == 0); in ia_css_eed1_8_vmem_encode()
176 from in ia_css_eed1_8_vmem_encode()
89 ia_css_eed1_8_vmem_encode( struct eed1_8_vmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_vmem_encode() argument
227 ia_css_eed1_8_encode( struct eed1_8_dmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_encode() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
H A Dia_css_ctc1_5.host.c75 const struct ia_css_ctc_config *from, in ia_css_ctc_encode()
79 to->y0 = from->y0; in ia_css_ctc_encode()
80 to->y1 = from->y1; in ia_css_ctc_encode()
81 to->y2 = from->y2; in ia_css_ctc_encode()
82 to->y3 = from->y3; in ia_css_ctc_encode()
83 to->y4 = from->y4; in ia_css_ctc_encode()
84 to->y5 = from->y5; in ia_css_ctc_encode()
86 to->ce_gain_exp = from->ce_gain_exp; in ia_css_ctc_encode()
88 to->x1 = from->x1; in ia_css_ctc_encode()
89 to->x2 = from in ia_css_ctc_encode()
73 ia_css_ctc_encode( struct sh_css_isp_ctc_params *to, const struct ia_css_ctc_config *from, unsigned int size) ia_css_ctc_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
H A Dia_css_ctc1_5.host.c75 const struct ia_css_ctc_config *from, in ia_css_ctc_encode()
79 to->y0 = from->y0; in ia_css_ctc_encode()
80 to->y1 = from->y1; in ia_css_ctc_encode()
81 to->y2 = from->y2; in ia_css_ctc_encode()
82 to->y3 = from->y3; in ia_css_ctc_encode()
83 to->y4 = from->y4; in ia_css_ctc_encode()
84 to->y5 = from->y5; in ia_css_ctc_encode()
86 to->ce_gain_exp = from->ce_gain_exp; in ia_css_ctc_encode()
88 to->x1 = from->x1; in ia_css_ctc_encode()
89 to->x2 = from in ia_css_ctc_encode()
73 ia_css_ctc_encode( struct sh_css_isp_ctc_params *to, const struct ia_css_ctc_config *from, unsigned int size) ia_css_ctc_encode() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/
H A Dia_css_dpc2.host.c22 const struct ia_css_dpc2_config *from, in ia_css_dpc2_encode()
27 assert((from->metric1 >= 0) && (from->metric1 <= METRIC1_ONE_FP)); in ia_css_dpc2_encode()
28 assert((from->metric3 >= 0) && (from->metric3 <= METRIC3_ONE_FP)); in ia_css_dpc2_encode()
29 assert((from->metric2 >= METRIC2_ONE_FP) && in ia_css_dpc2_encode()
30 (from->metric2 < 256 * METRIC2_ONE_FP)); in ia_css_dpc2_encode()
31 assert((from->wb_gain_gr > 0) && (from->wb_gain_gr < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
32 assert((from in ia_css_dpc2_encode()
20 ia_css_dpc2_encode( struct ia_css_isp_dpc2_params *to, const struct ia_css_dpc2_config *from, size_t size) ia_css_dpc2_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/
H A Dia_css_dpc2.host.c22 const struct ia_css_dpc2_config *from, in ia_css_dpc2_encode()
27 assert((from->metric1 >= 0) && (from->metric1 <= METRIC1_ONE_FP)); in ia_css_dpc2_encode()
28 assert((from->metric3 >= 0) && (from->metric3 <= METRIC3_ONE_FP)); in ia_css_dpc2_encode()
29 assert((from->metric2 >= METRIC2_ONE_FP) && in ia_css_dpc2_encode()
30 (from->metric2 < 256 * METRIC2_ONE_FP)); in ia_css_dpc2_encode()
31 assert((from->wb_gain_gr > 0) && (from->wb_gain_gr < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
32 assert((from in ia_css_dpc2_encode()
20 ia_css_dpc2_encode( struct ia_css_isp_dpc2_params *to, const struct ia_css_dpc2_config *from, size_t size) ia_css_dpc2_encode() argument
[all...]
/third_party/node/deps/npm/test/fixtures/
H A Deresolve-explanations.js2 // copied from arborist or generated there.
10 from: {
19 from: { location: '/some/project' },
33 from: { location: '/some/project' },
48 from: {
58 from: {
67 from: { location: '/some/project' },
88 from: {
98 from: {
107 from
[all...]
/third_party/ltp/tools/sparse/sparse-src/validation/backend/
H A Dcast.c10 #define DEFINE_CAST(from, to) \
11 static to from##2##to(from x) { \
15 #define DEFINE_CASTS(from) \
16 DEFINE_CAST(from, bool) \
17 DEFINE_CAST(from, char) \
18 DEFINE_CAST(from, schar) \
19 DEFINE_CAST(from, uchar) \
20 DEFINE_CAST(from, short) \
21 DEFINE_CAST(from, ushor
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-alloc.js33 const d = Buffer.from([]);
44 // Test creating a Buffer from a Uint8Array
47 const e = Buffer.from(ui8);
52 // Test creating a Buffer from a Uint8Array (old constructor)
61 // Test creating a Buffer from a Uint32Array
65 const e = Buffer.from(ui32);
70 // Test creating a Buffer from a Uint32Array (old constructor)
91 Buffer.from('');
92 Buffer.from('', 'ascii');
93 Buffer.from('', 'latin
[all...]
/kernel/linux/linux-6.6/arch/x86/lib/
H A Diomem.c6 #define movs(type,to,from) \
7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
9 /* Originally from i386/string.h */
10 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument
22 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
26 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in string_memcpy_fromio() argument
32 if (unlikely(1 & (unsigned long)from)) { in string_memcpy_fromio()
33 movs("b", to, from); in string_memcpy_fromio()
36 if (n > 1 && unlikely(2 & (unsigned long)from)) { in string_memcpy_fromio()
45 string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) string_memcpy_toio() argument
64 unrolled_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) unrolled_memcpy_fromio() argument
74 unrolled_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) unrolled_memcpy_toio() argument
93 memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) memcpy_fromio() argument
102 memcpy_toio(volatile void __iomem *to, const void *from, size_t n) memcpy_toio() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedGLEnums_autogen.h2 // Generated by gen_packed_gl_enums.py using data from packed_gl_enums.json.
24 Enum FromGLenum(GLenum from);
42 AlphaTestFunc FromGLenum<AlphaTestFunc>(GLenum from);
43 GLenum ToGLenum(AlphaTestFunc from);
67 BufferBinding FromGLenum<BufferBinding>(GLenum from);
68 GLenum ToGLenum(BufferBinding from);
88 BufferUsage FromGLenum<BufferUsage>(GLenum from);
89 GLenum ToGLenum(BufferUsage from);
105 ClientVertexArrayType FromGLenum<ClientVertexArrayType>(GLenum from);
106 GLenum ToGLenum(ClientVertexArrayType from);
[all...]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Duaccess.h25 * the "moves" instruction to access user space from kernel space. Other
185 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
186 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
228 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
232 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
233 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \
234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
238 __constant_copy_from_user(void *to, const void __user *from, unsigne argument
319 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) __constant_copy_to_user() argument
366 raw_copy_from_user(void *to, const void __user *from, unsigned long n) raw_copy_from_user() argument
374 raw_copy_to_user(void __user *to, const void *from, unsigned long n) raw_copy_to_user() argument
[all...]
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Duaccess.h18 * the "moves" instruction to access user space from kernel space. Other
182 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
183 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
225 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\
229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \
231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
235 __constant_copy_from_user(void *to, const void __user *from, unsigne argument
316 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) __constant_copy_to_user() argument
366 raw_copy_from_user(void *to, const void __user *from, unsigned long n) raw_copy_from_user() argument
374 raw_copy_to_user(void __user *to, const void *from, unsigned long n) raw_copy_to_user() argument
[all...]
/kernel/linux/linux-5.10/ipc/
H A Dcompat.c19 * This code is collected from the versions for sparc64, mips64, s390x, ia64,
39 struct compat_ipc64_perm __user *from) in get_compat_ipc64_perm()
42 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc64_perm()
51 struct compat_ipc_perm __user *from) in get_compat_ipc_perm()
54 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc_perm()
62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() argument
64 to->key = from->key; in to_compat_ipc64_perm()
65 to->uid = from->uid; in to_compat_ipc64_perm()
66 to->gid = from->gid; in to_compat_ipc64_perm()
67 to->cuid = from in to_compat_ipc64_perm()
38 get_compat_ipc64_perm(struct ipc64_perm *to, struct compat_ipc64_perm __user *from) get_compat_ipc64_perm() argument
50 get_compat_ipc_perm(struct ipc64_perm *to, struct compat_ipc_perm __user *from) get_compat_ipc_perm() argument
73 to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) to_compat_ipc_perm() argument
[all...]

Completed in 8 milliseconds

12345678910>>...226