/third_party/rust/crates/syn/src/ |
H A D | error.rs | 11 use std::vec; 163 messages: vec![ErrorMessage { in new() 197 messages: vec![ErrorMessage { in new_spanned() 283 TokenStream::from_iter(vec![ in to_compile_error() 313 TokenStream::from_iter(vec![TokenTree::Literal({ in to_compile_error() 342 messages: vec![ErrorMessage { in new2() 423 messages: vec::IntoIter<ErrorMessage>, 431 messages: vec![self.messages.next()?], in next() 456 messages: vec![self.messages.next()?.clone()], in next()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.hpp | 272 Type vec[2]; in validateInitComplete() local 273 deMemset(&vec[0], 0x00, sizeof(Type)); in validateInitComplete() 274 deMemset(&vec[1], 0xFF, sizeof(Type)); in validateInitComplete() 276 (interface.*Function)(context, &vec[0]); in validateInitComplete() 277 (interface.*Function)(context, &vec[1]); in validateInitComplete() 281 if (deMemCmp(((deUint8*)(&vec[0]))+iterator->offset, ((deUint8*)(&vec[1]))+iterator->offset, iterator->size) != 0) in validateInitComplete() 290 bool validateStructsWithGuard (const QueryMemberTableEntry* queryMemberTableEntry, Type* vec[2], const deUint8 guardValue, const deUint32 guardSize) in validateStructsWithGuard() argument 296 if (deMemCmp(((deUint8*)(vec[0]))+iterator->offset, ((deUint8*)(vec[ in validateStructsWithGuard() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | small_vector.h | 56 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() argument 57 if (vec.size() > small_size) { in SmallVector() 58 large_data_ = MakeUnique<std::vector<T>>(vec); in SmallVector() 60 size_ = vec.size(); in SmallVector() 62 new (small_data_ + i) T(vec[i]); in SmallVector() 67 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() argument 68 if (vec.size() > small_size) { in SmallVector() 69 large_data_ = MakeUnique<std::vector<T>>(std::move(vec)); in SmallVector() 71 size_ = vec.size(); in SmallVector() 73 new (small_data_ + i) T(std::move(vec[ in SmallVector() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | small_vector.h | 56 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() argument 57 if (vec.size() > small_size) { in SmallVector() 58 large_data_ = MakeUnique<std::vector<T>>(vec); in SmallVector() 60 size_ = vec.size(); in SmallVector() 62 new (small_data_ + i) T(vec[i]); in SmallVector() 67 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() argument 68 if (vec.size() > small_size) { in SmallVector() 69 large_data_ = MakeUnique<std::vector<T>>(std::move(vec)); in SmallVector() 71 size_ = vec.size(); in SmallVector() 73 new (small_data_ + i) T(std::move(vec[ in SmallVector() [all...] |
/third_party/spirv-tools/source/util/ |
H A D | small_vector.h | 58 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() argument 59 if (vec.size() > small_size) { in SmallVector() 60 large_data_ = MakeUnique<std::vector<T>>(vec); in SmallVector() 62 size_ = vec.size(); in SmallVector() 64 new (small_data_ + i) T(vec[i]); in SmallVector() 74 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() argument 75 if (vec.size() > small_size) { in SmallVector() 76 large_data_ = MakeUnique<std::vector<T>>(std::move(vec)); in SmallVector() 78 size_ = vec.size(); in SmallVector() 80 new (small_data_ + i) T(std::move(vec[ in SmallVector() [all...] |
/third_party/skia/experimental/graphite/src/geom/ |
H A D | VectorTypes.h | 16 template<int N> using vec = skvx::Vec<N, float>; 17 using float2 = vec<2>; 18 using float4 = vec<4>;
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_aio.rs | 115 let mut rbuf = vec![0; 4]; in test_accessors() 142 let mut rbuf = vec![0; 4]; in cancel() 165 let mut rbuf = vec![0; 4]; in error() 184 let mut rbuf = vec![0; 4]; in ok() 211 let mut rbuf = vec![0; 4]; in on_stack() 239 let mut rbuf0 = vec![0; 4]; in test_accessors() 240 let mut rbuf1 = vec![0; 8]; in test_accessors() 266 let mut rbuf0 = vec![0; 4]; in ok() 267 let mut rbuf1 = vec![0; 2]; in ok() 302 let wbuf = vec![ in test_accessors() [all...] |
/third_party/rust/crates/nom/tests/ |
H A D | json.rs | 162 vec![ in json_object() 179 let expected = Array(vec![Num(42.0), Str("x".to_string())]); in json_array() 207 vec![ in json_whitespace() 215 Array(vec![Bool(false), Num(1.0), Str("two".to_string())]) in json_whitespace() 220 vec![ in json_whitespace() 228 ("empty_array".to_string(), Array(vec![]),), in json_whitespace()
|
H A D | ini.rs | 31 map(many0(terminated(key_value, opt(multispace))), |vec| { in keys_and_values() 32 vec.into_iter().collect() in keys_and_values() 49 |vec: Vec<_>| vec.into_iter().collect(), in categories() 52 |vec: Vec<_>| vec.into_iter().collect(), in categories()
|
/third_party/rust/crates/nix/test/ |
H A D | test_sendfile.rs | 66 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_freebsd() 69 let trailer_strings = vec!["\n", "Served by Make Believe\n"]; in test_sendfile_freebsd() 117 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_dragonfly() 120 let trailer_strings = vec!["\n", "Served by Make Believe\n"]; in test_sendfile_dragonfly() 166 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_darwin() 169 let trailer_strings = vec!["\n", "Served by Make Believe\n"]; in test_sendfile_darwin()
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
H A D | custom_files.rs | 23 let messages = vec![ in main() 25 greetings: vec![(file_id0, 0..5), (file_id1, 0..3)], in main() 28 exclamations: vec![(file_id0, 11..12)], in main() 180 .with_notes(vec![ in to_diagnostic() 194 .with_notes(vec!["ridiculous!".to_owned()]), in to_diagnostic()
|
/third_party/skia/src/core/ |
H A D | SkPointPriv.h | 96 static SkPoint MakeOrthog(const SkPoint& vec, Side side = kLeft_Side) { in MakeOrthog() argument 98 return (side == kRight_Side) ? SkPoint{-vec.fY, vec.fX} : SkPoint{vec.fY, -vec.fX}; in MakeOrthog()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | envelope.rs | 18 //! let mut encrypted = vec![0; secret.len() + cipher.block_size()]; 44 let mut iv = cipher.iv_len().map(|len| vec![0; len]); in new() 45 let mut enc_keys = vec![vec![]; pub_keys.len()]; in new() 168 let mut encrypted = vec![0; secret.len() + cipher.block_size()]; in public_encrypt_private_decrypt() 175 let mut decrypted = vec![0; enc_len + cipher.block_size()]; in public_encrypt_private_decrypt()
|
H A D | cipher_ctx.rs | 19 //! let mut ciphertext = vec![]; 45 //! let mut plaintext = vec![]; 222 let mut key_lengths = vec![0; pub_keys.len()]; in seal_init() 739 let mut encrypted_key = vec![]; in seal_open() 740 let mut iv = vec![0; cipher.iv_length()]; in seal_open() 741 let mut encrypted = vec![]; in seal_open() 752 let mut decrypted = vec![]; in seal_open() 776 let mut buf = vec![]; in aes_128_cbc() 786 let mut buf = vec![]; in aes_128_cbc() 813 let mut key = vec![ in test_stream_cipher() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrVx.h | 20 template<int N> using vec = skvx::Vec<N, float>; 21 using float2 = vec<2>; 22 using float4 = vec<4>;
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_compiler_nir.c | 407 vec_dest_has_swizzle(nir_alu_instr *vec, nir_ssa_def *ssa) in vec_dest_has_swizzle() argument 410 if (!(vec->dest.write_mask & (1 << i)) || vec->src[i].src.ssa != ssa) in vec_dest_has_swizzle() 413 if (vec->src[i].swizzle[0] != i) in vec_dest_has_swizzle() 417 /* don't deal with possible bypassed vec/mov chain */ in vec_dest_has_swizzle() 688 insert_vec_mov(nir_alu_instr *vec, unsigned start_idx, nir_shader *shader) in insert_vec_mov() argument 690 assert(start_idx < nir_op_infos[vec->op].num_inputs); in insert_vec_mov() 694 nir_alu_src_copy(&mov->src[0], &vec->src[start_idx]); in insert_vec_mov() 696 mov->src[0].swizzle[0] = vec->src[start_idx].swizzle[0]; in insert_vec_mov() 697 mov->src[0].negate = vec in insert_vec_mov() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmIndexingTests.cpp | 238 const UVec4 vec = indexSelectorData[numIdx]; in addComputeIndexingStructTests() local 239 outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() * 4 * 4 + vec.z() * 4 + vec.w()]); in addComputeIndexingStructTests() 484 const UVec4 vec = indexSelectorData[numIdx]; in addGraphicsIndexingStructTests() local 485 outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() * 4 * 4 + vec.z() * 4 + vec in addGraphicsIndexingStructTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmIndexingTests.cpp | 238 const UVec4 vec = indexSelectorData[numIdx]; in addComputeIndexingStructTests() local 239 outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() * 4 * 4 + vec.z() * 4 + vec.w()]); in addComputeIndexingStructTests() 484 const UVec4 vec = indexSelectorData[numIdx]; in addGraphicsIndexingStructTests() local 485 outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() * 4 * 4 + vec.z() * 4 + vec in addGraphicsIndexingStructTests() [all...] |
/third_party/rust/crates/clap/tests/ |
H A D | macros.rs | 7 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_explicit() 16 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_long() 25 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_value() 229 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 237 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 245 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 253 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 261 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 269 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 352 .try_get_matches_from(vec!["", "som in arg_name_dashed() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | common.h | 46 vec<T, 4> color0 [[color(0), function_constant(kColorOutputAvailable0)]]; 47 vec<T, 4> color1 [[color(1), function_constant(kColorOutputAvailable1)]]; 48 vec<T, 4> color2 [[color(2), function_constant(kColorOutputAvailable2)]]; 49 vec<T, 4> color3 [[color(3), function_constant(kColorOutputAvailable3)]]; 62 static inline MultipleColorOutputs<T> toMultipleColorOutputs(vec<T, 4> color) in toMultipleColorOutputs() 96 static inline vec<T, 4> resolveTextureMS(texture2d_ms<T> srcTexture, uint2 coords) in resolveTextureMS() 100 vec<T, 4> output(0); in resolveTextureMS()
|
/third_party/json/include/nlohmann/detail/output/ |
H A D | output_adapters.hpp | 52 explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept 53 : v(vec) in v() 126 output_adapter(std::vector<CharType, AllocatorType>& vec) in output_adapter() argument 127 : oa(std::make_shared<output_vector_adapter<CharType, AllocatorType>>(vec)) {} in output_adapter()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | cfg.rs | 23 *self = CfgExpr::All(vec![prev, expr]); in merge() 67 let mut vec = Vec::new(); in parse_multiple() variables 70 vec.push(expr); in parse_multiple() 76 Ok(vec) in parse_multiple()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | cfg.rs | 23 *self = CfgExpr::All(vec![prev, expr]); in merge() 67 let mut vec = Vec::new(); in parse_multiple() variables 70 vec.push(expr); in parse_multiple() 76 Ok(vec) in parse_multiple()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | cfg.rs | 23 *self = CfgExpr::All(vec![prev, expr]); in merge() 67 let mut vec = Vec::new(); in parse_multiple() variables 70 vec.push(expr); in parse_multiple() 76 Ok(vec) in parse_multiple()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | cfg.rs | 23 *self = CfgExpr::All(vec![prev, expr]); in merge() 67 let mut vec = Vec::new(); in parse_multiple() variables 70 vec.push(expr); in parse_multiple() 76 Ok(vec) in parse_multiple()
|