/third_party/typescript/tests/baselines/reference/ |
H A D | jsxExcessPropsAndAssignability.js | 4 import * as React from 'react';
|
H A D | lambdaParameterWithTupleArgsHasCorrectAssignability.js | 8 from: GenericFunction<T> | undefined;
|
H A D | tsxReactPropsInferenceSucceedsOnIntersections.js | 4 import React from "react";
|
H A D | typeofImportTypeOnlyExport.js | 4 import {classMap} from './lit.js';
|
H A D | umd-augmentation-2.js | 22 import * as Math2d from 'math2d';
|
H A D | umd-augmentation-4.js | 28 import * as Math2d from 'math2d';
|
/third_party/protobuf/js/experimental/runtime/testing/ |
H A D | jasmine_protobuf.js | 74 const arr = Array.from(new Uint8Array(this));
|
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
H A D | conformance_testee_runner_node.js | 53 writeBuffer(new Buffer.from(serializedResponse));
|
/third_party/rust/crates/regex/tests/ |
H A D | api_str.rs | 32 assert_eq!(caps.get(0).map(From::from), Some("foo")); in match_as_str()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | openat.rs | 22 Ok(f) => Ok(Some(File::from(f))), in test_openat_tmpfile()
|
/test/xts/acts/graphic/graphicnapidrawingtest/ |
H A D | OH_Drawing_TypographyTest.cpp | 1853 size_t from = 10; // 10 means font size for test in HWTEST_F() local 1856 OH_Drawing_TypographyUpdateFontSize(typography, from, to, fontSize); in HWTEST_F() 1857 OH_Drawing_TypographyUpdateFontSize(nullptr, from, to, fontSize); in HWTEST_F() 2104 OH_Drawing_TypographyStyle* from = OH_Drawing_CreateTypographyStyle(); in HWTEST_F() local 2106 bool result = OH_Drawing_TypographyStyleEquals(from, to); in HWTEST_F() 2110 result = OH_Drawing_TypographyStyleEquals(from, nullptr); in HWTEST_F() 2112 OH_Drawing_DestroyTypographyStyle(from); in HWTEST_F() 2114 from = nullptr; in HWTEST_F() 2116 EXPECT_TRUE(from == nullptr); in HWTEST_F() 2177 * @tc.desc: test for getting all font metrics array from curren 2295 OH_Drawing_StrutStyle* from = new OH_Drawing_StrutStyle(); HWTEST_F() local [all...] |
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 485 b.iter(|| String::from(s)) in bench_from_str() 492 b.iter(|| String::from(s)) in bench_from() 506 let mut x = String::from(s); in bench_insert_char_short() 516 let mut x = String::from(s); in bench_insert_char_long() 526 let mut x = String::from(s); in bench_insert_str_short() 536 let mut x = String::from(s); in bench_insert_str_long() 2040 // peculiar numbers to stop LLVM from optimising the summation in iterator() 2497 let mut bheap = BinaryHeap::from(vec![42]); in bench_peek_mut_deref_mut() 2520 b.iter(|| BinaryHeap::from(vec.clone())) in bench_from_vec() 3320 let b: Arc<[u32]> = Arc::from( in slice() 18513 fn from(s: &str) -> String { from() functions 18524 fn from(s: &mut str) -> String { from() functions 18532 fn from(s: &String) -> String { from() functions 18555 fn from(s: Box<str>) -> String { from() functions 18575 fn from(s: String) -> Box<str> { from() functions 18582 fn from(s: Cow<'a, str>) -> String { from() functions 18600 fn from(s: &'a str) -> Cow<'a, str> { from() functions 18620 fn from(s: String) -> Cow<'a, str> { from() functions 18639 fn from(s: &'a String) -> Cow<'a, str> { from() functions 18681 fn from(string: String) -> Vec<u8> { from_iter() functions 18812 fn from(c: char) -> Self { from() functions 21210 fn from(t: T) -> Self { fmt() functions 21228 fn from(v: &[T]) -> Rc<[T]> { from() functions 21245 fn from(v: &str) -> Rc<str> { from() functions 21264 fn from(v: String) -> Rc<str> { from() functions 21282 fn from(v: Box<T>) -> Rc<T> { from() functions 21300 fn from(mut v: Vec<T>) -> Rc<[T]> { from() functions 21319 fn from(cow: Cow<'a, B>) -> Rc<B> { from() functions 23216 fn from(waker: Arc<W>) -> Waker { from() functions 23228 fn from(waker: Arc<W>) -> RawWaker { from() functions 25551 fn from(t: T) -> Self { from() functions 25569 fn from(v: &[T]) -> Arc<[T]> { from() functions 25586 fn from(v: &str) -> Arc<str> { from() functions 25605 fn from(v: String) -> Arc<str> { from() functions 25623 fn from(v: Box<T>) -> Arc<T> { from() functions 25641 fn from(mut v: Vec<T>) -> Arc<[T]> { from() functions 25660 fn from(cow: Cow<'a, B>) -> Arc<B> { from() functions 39977 fn from(_: LayoutError) -> Self { from() functions 40320 pub fn from(to: &'a mut VecDeque<T>, from: &'b VecDeque<T>) -> Self { from() functions 43209 fn from(mut other: Vec<T>) -> Self { fmt() functions 43265 fn from(mut other: VecDeque<T>) -> Self { from() functions 45727 fn from(vec: Vec<T>) -> BinaryHeap<T> { from() functions 45740 fn from(heap: BinaryHeap<T>) -> Vec<T> { from() functions 49534 fn from(s: &[T]) -> Vec<T> { from() functions 49538 fn from(s: &[T]) -> Vec<T> { from() functions 49553 fn from(s: &mut [T]) -> Vec<T> { from() functions 49557 fn from(s: &mut [T]) -> Vec<T> { from() functions 49565 fn from(s: [T; N]) -> Vec<T> { from() functions 49576 fn from(s: [T; N]) -> Vec<T> { from() functions 49600 fn from(s: Cow<'a, [T]>) -> Vec<T> { from() functions 49618 fn from(s: Box<[T], A>) -> Self { from() functions 49637 fn from(v: Vec<T, A>) -> Self { from() functions 49651 fn from(s: &str) -> Vec<u8> { from() functions 49884 fn from(s: &'a [T]) -> Cow<'a, [T]> { from() functions 49891 fn from(v: Vec<T>) -> Cow<'a, [T]> { from() functions 49898 fn from(v: &'a Vec<T>) -> Cow<'a, [T]> { from() functions 51369 fn from(t: T) -> Self { from() functions 51382 fn from(boxed: Box<T, A>) -> Self { from() functions 51402 fn from(slice: &[T]) -> Box<[T]> { from() functions 51415 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { from() functions 51436 fn from(s: &str) -> Box<str> { from() functions 51444 fn from(cow: Cow<'_, str>) -> Box<str> { from() functions 51471 fn from(s: Box<str, A>) -> Self { from() functions 51488 fn from(array: [T; N]) -> Box<[T]> { from() functions [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | elements.cc | 190 // CopyElements, it copies all of elements from source after source_start to 217 FixedArray from = FixedArray::cast(from_base); in CopyObjectToObjectElements() 226 to.CopyElements(isolate, to_start, from, from_start, copy_size, in CopyObjectToObjectElements() 235 NumberDictionary from = NumberDictionary::cast(from_base); in CopyDictionaryToObjectElements() local 239 copy_size = from.max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements() 257 InternalIndex entry = from.FindEntry(isolate, i + from_start); in CopyDictionaryToObjectElements() 259 Object value = from.ValueAt(entry); in CopyDictionaryToObjectElements() 297 Handle<FixedDoubleArray> from(FixedDoubleArray::cast(from_base), isolate); in CopyDoubleToObjectElements() 309 FixedDoubleArray::get(*from, i + from_start, isolate); in CopyDoubleToObjectElements() 331 FixedDoubleArray from in CopyDoubleToDoubleElements() 445 NumberDictionary from = NumberDictionary::cast(from_base); CopyDictionaryToDoubleElements() local 975 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument 994 FixedArrayBase from = from_holder.elements(); global() variable 1469 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument 2508 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument 2925 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument 4886 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument 5078 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx8.asm | 215 s_mov_b32 s_save_exec_lo, exec_lo //save EXEC and use EXEC for the go signal from SPI 345 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 365 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 426 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 495 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on //be consistent with SAVE although can be moved ahead 530 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on //be consistent with SAVE although can be moved ahead 574 s_sub_u32 s_restore_mem_offset, s_restore_mem_offset, 16*4 // restore SGPR from S[n] to S[0], by 16 sgprs group 593 s_sub_u32 m0, m0, 16 // Restore from S[n] to S[0] 633 s_waitcnt lgkmcnt(0) //from now on, it is safe to restore STATUS and IB_STS 665 s_barrier //barrier to ensure the readiness of LDS before access attempts from an [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 6 * General Public License (GPL) Version 2, available from the file 1189 static int mlx5_copy_to_msg(struct mlx5_cmd_msg *to, void *from, int size, in mlx5_copy_to_msg() argument 1196 if (!to || !from) in mlx5_copy_to_msg() 1200 memcpy(to->first.data, from, copy); in mlx5_copy_to_msg() 1202 from += copy; in mlx5_copy_to_msg() 1213 memcpy(block->data, from, copy); in mlx5_copy_to_msg() 1214 from += copy; in mlx5_copy_to_msg() 1223 static int mlx5_copy_from_msg(void *to, struct mlx5_cmd_msg *from, int size) in mlx5_copy_from_msg() argument 1229 if (!to || !from) in mlx5_copy_from_msg() 1232 copy = min_t(int, size, sizeof(from in mlx5_copy_from_msg() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | xdr.c | 383 /* Copy from the inlined pages into the tail */ in _shift_data_right_tail() 401 * Copies data from an arbitrary memory location into an array of pages 445 * Copies data into an arbitrary memory location from an array of pages 513 * @len: bytes to remove from buf->head[0] 543 /* Copy from the inlined pages into the tail */ in xdr_shrink_bufhead() 559 /* Do we also need to copy data from the head into the tail ? */ in xdr_shrink_bufhead() 598 * @len: bytes to remove from buf->pages 630 * xdr_stream_pos - Return the current offset from the start of the xdr_stream 640 * xdr_page_pos - Return the current offset from the start of the xdr pages 850 * and xdr->p points at offset len from th 1268 unsigned int from, bytes; xdr_align_data() local 1305 unsigned int from; xdr_expand_hole() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | libfs.c | 461 * to be read from the directory. 838 size_t from = offset_in_folio(folio, pos); in simple_write_begin() local 840 folio_zero_segments(folio, 0, from, in simple_write_begin() 841 from + len, folio_size(folio)); in simple_write_begin() 880 size_t from = offset_in_folio(folio, pos); in simple_write_end() local 882 folio_zero_range(folio, from + copied, len - copied); in simple_write_end() 1016 * simple_read_from_buffer - copy data from the buffer to user space 1020 * @from: the buffer to read from 1023 * The simple_read_from_buffer() function reads up to @count bytes from th 1029 simple_read_from_buffer(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available) simple_read_from_buffer() argument 1064 simple_write_to_buffer(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count) simple_write_to_buffer() argument 1099 memory_read_from_buffer(void *to, size_t count, loff_t *ppos, const void *from, size_t available) memory_read_from_buffer() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx8.asm | 215 s_mov_b32 s_save_exec_lo, exec_lo //save EXEC and use EXEC for the go signal from SPI 345 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 365 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 426 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on 495 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on //be consistent with SAVE although can be moved ahead 530 s_mov_b32 exec_lo, 0xFFFFFFFF //need every thread from now on //be consistent with SAVE although can be moved ahead 575 s_sub_u32 s_restore_mem_offset, s_restore_mem_offset, 16*4 // restore SGPR from S[n] to S[0], by 16 sgprs group 594 s_sub_u32 m0, m0, 16 // Restore from S[n] to S[0] 634 s_waitcnt lgkmcnt(0) //from now on, it is safe to restore STATUS and IB_STS 666 s_barrier //barrier to ensure the readiness of LDS before access attempts from an [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 6 * General Public License (GPL) Version 2, available from the file 1280 static int mlx5_copy_to_msg(struct mlx5_cmd_msg *to, void *from, int size, in mlx5_copy_to_msg() argument 1287 if (!to || !from) in mlx5_copy_to_msg() 1291 memcpy(to->first.data, from, copy); in mlx5_copy_to_msg() 1293 from += copy; in mlx5_copy_to_msg() 1304 memcpy(block->data, from, copy); in mlx5_copy_to_msg() 1305 from += copy; in mlx5_copy_to_msg() 1314 static int mlx5_copy_from_msg(void *to, struct mlx5_cmd_msg *from, int size) in mlx5_copy_from_msg() argument 1320 if (!to || !from) in mlx5_copy_from_msg() 1323 copy = min_t(int, size, sizeof(from in mlx5_copy_from_msg() [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 100 # it receives the exit code from that command and is expected to return 237 redirected from (for stdin) or to (for the others) a file given by the 410 If specified, EXPR will be used as a string to prefix the output from the 448 # For some reason, program output, or even output from this function 549 LIST is a list of directories that make up a path from the top of the OpenSSL 568 LIST is a list of directories that make up a path from the top of the OpenSSL 586 LIST is a list of directories that make up a path from the top of the OpenSSL 605 LIST is a list of directories that make up a path from the top of the OpenSSL 623 LIST is a list of directories that make up a path from the data directory 640 LIST is a list of directories that make up a path from th [all...] |
/third_party/libabigail/src/ |
H A D | abg-tools-utils.cc | 1270 /// @param from the string to trim the leading repetition of pattern from. 1275 /// has been removed from. 1277 trim_leading_string(const string& from, const string& to_trim) in trim_leading_string() argument 1279 string str = from; in trim_leading_string() 1680 /// Get the architecture string from the NVR of an rpm. 1688 /// from the NVR. 1934 /// Populate a type_supression from header files found in a given 1945 /// @param result the type_supression to populate from the content of 2041 /// Generate a suppression specification from kerne 2401 find_vmlinux_and_module_paths(const string& from, string &vmlinux_path, vector<string> &module_paths) find_vmlinux_and_module_paths() argument 2444 find_vmlinux_path(const string& from, string &vmlinux_path) find_vmlinux_path() argument 2525 string from = dist_root; get_binary_paths_from_kernel_dist() local 2544 get_vmlinux_path_from_kernel_dist(const string& from, string& vmlinux_path) get_vmlinux_path_from_kernel_dist() argument [all...] |
/third_party/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 100 # it receives the exit code from that command and is expected to return 237 redirected from (for stdin) or to (for the others) a file given by the 410 If specified, EXPR will be used as a string to prefix the output from the 448 # For some reason, program output, or even output from this function 549 LIST is a list of directories that make up a path from the top of the OpenSSL 568 LIST is a list of directories that make up a path from the top of the OpenSSL 586 LIST is a list of directories that make up a path from the top of the OpenSSL 605 LIST is a list of directories that make up a path from the top of the OpenSSL 623 LIST is a list of directories that make up a path from the data directory 640 LIST is a list of directories that make up a path from th [all...] |
/third_party/skia/third_party/externals/brotli/js/ |
H A D | decode.js | 25 var MAX_HUFFMAN_TABLE_SIZE = Int32Array.from([256, 402, 436, 468, 500, 534, 566, 598, 630, 662, 694, 726, 758, 790, 822, 854, 886, 920, 952, 984, 1016, 1048, 1080]); 26 var CODE_LENGTH_CODE_ORDER = Int32Array.from([1, 2, 3, 4, 0, 5, 17, 6, 16, 7, 8, 9, 10, 11, 12, 13, 14, 15]); 27 var DISTANCE_SHORT_CODE_INDEX_OFFSET = Int32Array.from([0, 3, 2, 1, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3]); 28 var DISTANCE_SHORT_CODE_VALUE_OFFSET = Int32Array.from([0, 0, 0, 0, -1, 1, -2, 2, -3, 3, -1, 1, -2, 2, -3, 3]); 29 var FIXED_TABLE = Int32Array.from([0x020000, 0x020004, 0x020003, 0x030002, 0x020000, 0x020004, 0x020003, 0x040001, 0x020000, 0x020004, 0x020003, 0x030002, 0x020000, 0x020004, 0x020003, 0x040005]); 30 var DICTIONARY_OFFSETS_BY_LENGTH = Int32Array.from([0, 0, 0, 0, 0, 4096, 9216, 21504, 35840, 44032, 53248, 63488, 74752, 87040, 93696, 100864, 104704, 106752, 108928, 113536, 115968, 118528, 119872, 121280, 122016]); 31 var DICTIONARY_SIZE_BITS_BY_LENGTH = Int32Array.from([0, 0, 0, 0, 10, 10, 11, 11, 10, 10, 10, 10, 10, 9, 9, 8, 7, 7, 8, 7, 7, 6, 6, 5, 5]); 32 var BLOCK_LENGTH_OFFSET = Int32Array.from([1, 5, 9, 13, 17, 25, 33, 41, 49, 65, 81, 97, 113, 145, 177, 209, 241, 305, 369, 497, 753, 1265, 2289, 4337, 8433, 16625]); 33 var BLOCK_LENGTH_N_BITS = Int32Array.from([2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 7, 8, 9, 10, 11, 12, 13, 24]); 34 var INSERT_LENGTH_N_BITS = Int16Array.from([ [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | filemap.c | 56 * FIXME: remove all knowledge of the buffer layer from the core VM 215 * Delete a page from the page cache and free it. Caller has to make 243 * filemap_remove_folio - Remove folio from page cache. 267 * page_cache_delete_batch - delete several folios from page cache 272 * @fbatch from the mapping. The function expects @fbatch to be sorted 297 * pages locked so they are protected from being removed. in page_cache_delete_batch() 713 * Grab the wb_err from the mapping. If it matches what we have in the file, 944 * The folio might have been evicted from cache only in filemap_add_folio() 948 * data from the working set, only to cache data that will in filemap_add_folio() 1059 * and remove it from th 3886 generic_file_direct_write(struct kiocb *iocb, struct iov_iter *from) generic_file_direct_write() argument 4043 __generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) __generic_file_write_iter() argument 4090 generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) generic_file_write_iter() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | page_64.h | 80 extern void copy_page(void *to, void *from);
|