Home
last modified time | relevance | path

Searched refs:vec (Results 501 - 525 of 854) sorted by relevance

1...<<21222324252627282930>>...35

/third_party/rust/crates/clap/clap_bench/benches/
H A D06_rustup.rs14 b.iter(|| build_cli().get_matches_from(vec![""])) in parse_rustup()
20 b.iter(|| build_cli().get_matches_from(vec!["rustup override add stable"])) in parse_rustup_with_sc()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DInstancingPerf.cpp33 size_t VectorSizeBytes(const std::vector<T> &vec) in VectorSizeBytes() argument
35 return sizeof(T) * vec.size(); in VectorSizeBytes()
/third_party/skia/src/core/
H A DSkRasterPipeline.h236 this->append_constant_color(alloc, color.vec()); in append_constant_color()
243 this->append_set_rgb(alloc, color.vec()); in append_set_rgb()
H A DSkMatrix.cpp246 SkVector vec[2]; in preservesRightAngles() local
247 vec[0].set(mx, sy); in preservesRightAngles()
248 vec[1].set(sx, my); in preservesRightAngles()
250 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)); in preservesRightAngles()
1179 SkVector vec[2]; in mapRadius() local
1181 vec[0].set(radius, 0); in mapRadius()
1182 vec[1].set(0, radius); in mapRadius()
1183 this->mapVectors(vec, 2); in mapRadius()
1185 SkScalar d0 = vec[ in mapRadius()
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Drobustness.cc80 if (auto* vec = ret_unwrapped->As<sem::Vector>()) { in Transform()
81 size.u32 = vec->Width(); in Transform()
/third_party/rust/crates/memchr/src/memmem/prefilter/
H A Dmod.rs445 let mut haystack = vec![b'@'; haystack_len]; in new()
446 let mut needle = vec![b'#'; needle_len]; in new()
/third_party/rust/crates/regex/regex-syntax/src/
H A Dutf8.rs308 let mut it = Utf8Sequences { range_stack: vec![] }; in new()
512 vec![ in bmp()
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dvisitor.rs203 HeapVisitor { stack: vec![], stack_class: vec![] } in new()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Daes.rs284 let mut ct_actual = vec![0; ct.len()]; in ige_vector_1()
290 let mut pt_actual = vec![0; pt.len()]; in ige_vector_1()
H A Dpkey.rs272 let mut buf = vec![0u8; len]; in raw_public_key()
323 let mut buf = vec![0u8; len]; in raw_private_key()
572 /// # &vec![0; 32];
598 /// # &vec![0; 32];
1133 let mut test_bytes = vec![0u8; 32]; in test_raw_hmac()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dextension.rs247 items: vec![], in new()
458 items: vec![], in new()
/third_party/rust/crates/serde/serde/src/
H A Dlib.rs205 pub use alloc::vec::Vec;
207 pub use std::vec::Vec;
/third_party/rust/crates/regex/bench/src/
H A Dmisc.rs348 RegexSet::new(vec![
368 RegexSet::new(vec![
/third_party/rust/crates/regex/src/literal/
H A Dimp.rs287 sparse: vec![false; 256], in new()
288 dense: vec![], in new()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboTestUtil.hpp49 std::vector<glu::DataType> vec; member
50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } in operator <<()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl_type_decl_test.cc222 auto* vec = ptr->type->As<ast::Vector>(); in TEST_F() local
223 ASSERT_EQ(vec->width, 2u); in TEST_F()
224 ASSERT_TRUE(vec->type->Is<ast::F32>()); in TEST_F()
364 auto* vec = atomic->type->As<ast::Vector>(); in TEST_F() local
365 ASSERT_EQ(vec->width, 2u); in TEST_F()
366 ASSERT_TRUE(vec->type->Is<ast::F32>()); in TEST_F()
/third_party/rust/crates/regex/regex-syntax/src/hir/literal/
H A Dmod.rs54 Literals { lits: vec![], limit_size: 250, limit_class: 10 } in empty()
382 base = vec![Literal::empty()]; in cross_product()
475 base = vec![Literal::empty()]; in _add_char_class()
502 base = vec![Literal::empty()]; in add_byte_class()
538 let mut base = vec![]; in remove_complete()
539 for lit in mem::replace(&mut self.lits, vec![]) { in remove_complete()
856 Literal { v: vec![], cut: false } in fmt()
986 let mut ulits = vec![]; in escape_lits()
1056 let expected: Vec<ULiteral> = vec![$($expected_lit),*];
1543 test_unamb!(unambiguous1, vec![
[all...]
/third_party/skia/third_party/externals/freetype/src/raster/
H A Dftraster.c2967 FT_Vector* vec = outline->points; in FT_Outline_Get_CBox() local
2968 FT_Vector* limit = vec + outline->n_points; in FT_Outline_Get_CBox()
2971 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
2972 yMin = yMax = vec->y; in FT_Outline_Get_CBox()
2973 vec++; in FT_Outline_Get_CBox()
2975 for ( ; vec < limit; vec++ ) in FT_Outline_Get_CBox()
2980 x = vec->x; in FT_Outline_Get_CBox()
2984 y = vec->y; in FT_Outline_Get_CBox()
/third_party/ffmpeg/libavcodec/
H A Dmss3.c475 int vec[4]; in decode_image_block() local
481 vec[i] = rac_get_model256_sym(c, &ic->vec_entry_model); in decode_image_block()
483 vec[i] = 0; in decode_image_block()
496 dst[i] = vec[A]; in decode_image_block()
/third_party/nghttp2/src/
H A Dh2load_quic.cc648 std::array<nghttp3_vec, 16> vec; in write_quic() local
673 sveccnt = s->write_stream(stream_id, fin, vec.data(), vec.size()); in write_quic()
680 auto v = vec.data(); in write_quic()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderStructTests.cpp1148 void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \
1151 SETUNIFORM(loc, 1, vec.getPtr()); \
1160 void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE* vec, \
1164 SETUNIFORM(loc, arraySize, vec->getPtr()); \
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_ser.rs183 &vec![vec![], vec![1], vec![2, 3]], in test_vec()
/third_party/rust/crates/once_cell/tests/
H A Dit.rs426 cell.set(vec!["hello", "world"]).unwrap(); in debug_impl()
561 assert_eq!(&*XS, &vec![1, 2, 3]); in static_lazy()
565 assert_eq!(&*XS, &vec![1, 2, 3]); in static_lazy()
580 assert_eq!(xs(), &vec![1, 2, 3]);
624 let mut res = vec![1, 1]; in eval_once_macro()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboTestUtil.cpp135 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl()
140 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx) in genTexture2DShaderDecl()
142 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
156 m_inputs.resize(samplerTypes.vec.size()); in Texture2DShader()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dtests.rs91 let mut output = vec![]; in rustfmt()
96 let mut output = vec![]; in rustfmt()
97 io::copy(&mut stdout, &mut output).expect("Should copy stdout into vec OK"); in rustfmt()
190 let mut looked_at = vec![]; in compare_generated_header()

Completed in 26 milliseconds

1...<<21222324252627282930>>...35