Home
last modified time | relevance | path

Searched refs:vec (Results 276 - 300 of 848) sorted by relevance

1...<<11121314151617181920>>...34

/third_party/rust/crates/regex/src/
H A Dre_set.rs8 use std::vec;
99 /// assert_eq!(vec!["foo", "bar"], matches);
212 /// assert_eq!(matches, vec![0, 2, 3, 4, 6]);
220 let mut matches = vec![false; self.0.regex_strings().len()]; in matches()
285 /// assert_eq!(matches, vec![r"\w+", r"\pL+", r"foo", r"bar", r"foobar"]);
356 pub struct SetMatchesIntoIter(iter::Enumerate<vec::IntoIter<bool>>);
468 /// assert_eq!(vec![0, 1], matches);
472 /// assert_eq!(vec![1], matches);
497 /// assert_eq!(vec![0, 1], matches);
501 /// assert_eq!(vec![
[all...]
/third_party/nghttp2/tests/
H A Dnghttp2_hd_test.c1297 nghttp2_vec vec[256]; in test_nghttp2_hd_deflate_hd_vec() local
1312 vec[0].base = &buf[0]; in test_nghttp2_hd_deflate_hd_vec()
1313 vec[0].len = buflen / 2; in test_nghttp2_hd_deflate_hd_vec()
1314 vec[1].base = &buf[buflen / 2]; in test_nghttp2_hd_deflate_hd_vec()
1315 vec[1].len = buflen / 2; in test_nghttp2_hd_deflate_hd_vec()
1317 blocklen = nghttp2_hd_deflate_hd_vec(deflater, vec, 2, nva, ARRLEN(nva)); in test_nghttp2_hd_deflate_hd_vec()
1347 vec[0].base = NULL; in test_nghttp2_hd_deflate_hd_vec()
1348 vec[0].len = 0; in test_nghttp2_hd_deflate_hd_vec()
1349 vec[1].base = NULL; in test_nghttp2_hd_deflate_hd_vec()
1350 vec[ in test_nghttp2_hd_deflate_hd_vec()
[all...]
/third_party/skia/third_party/externals/freetype/src/pshinter/
H A Dpshalgo.c1084 FT_Vector* vec = glyph->outline->points; in psh_glyph_load_points() local
1089 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points()
1095 point->org_u = vec->x; in psh_glyph_load_points()
1096 point->org_v = vec->y; in psh_glyph_load_points()
1100 point->org_u = vec->y; in psh_glyph_load_points()
1101 point->org_v = vec->x; in psh_glyph_load_points()
1105 point->org_x = vec->x; in psh_glyph_load_points()
1106 point->org_y = vec->y; in psh_glyph_load_points()
1120 FT_Vector* vec = glyph->outline->points; in psh_glyph_save_points() local
1127 vec[ in psh_glyph_save_points()
1220 FT_Vector* vec = outline->points; psh_glyph_init() local
[all...]
/third_party/skia/include/private/
H A DSkNx_sse.h40 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx() argument
128 AI SkNx(const __m128& vec) : fVec(vec) {} in SkNx() argument
242 AI SkNx(const __m128i& vec) : fVec(vec) {} in SkNx() argument
312 AI SkNx(const __m128i& vec) : fVec(vec) {} in SkNx() argument
359 AI SkNx(const __m128i& vec) : fVec(vec) {} in SkNx() argument
413 SkNx(const __m128i& vec) SkNx() argument
481 SkNx(const __m128i& vec) SkNx() argument
591 SkNx(const __m128i& vec) SkNx() argument
612 SkNx(const __m128i& vec) SkNx() argument
654 SkNx(const __m128i& vec) SkNx() argument
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Dsubcommands.rs241 sub: Subcommands::Other(vec!["git".into(), "status".into()]) in external_subcommand()
265 sub: Subcommands::Other(vec!["git".into(), "status".into()]) in external_subcommand_os_string()
289 sub: Some(Subcommands::Other(vec!["git".into(), "status".into()])) in external_subcommand_optional()
498 let mut opt = Opt::Ext(vec!["12".into(), "14".into()]); in update_ext_subcommand()
506 let mut opt = Opt::Ext(vec!["12".into(), "14".into()]); in update_ext_subcommand()
511 let mut opt = Opt::Ext(vec!["12".into(), "14".into()]); in update_ext_subcommand()
626 Command::Custom(vec![String::from("install")]) in built_in_subcommand_escaped()
630 Command::Custom(vec![String::from("install"), String::from("arg")]) in built_in_subcommand_escaped()
/third_party/skia/tests/
H A DJSONTest.cpp171 const auto& vec = v.as<T>(); in check_vector() local
172 REPORTER_ASSERT(reporter, &vec == cast_t); in check_vector()
173 REPORTER_ASSERT(reporter, vec.size() == expected_size); in check_vector()
174 REPORTER_ASSERT(reporter, vec.begin() != nullptr); in check_vector()
175 REPORTER_ASSERT(reporter, vec.end() == vec.begin() + expected_size); in check_vector()
/third_party/skia/third_party/externals/freetype/src/cid/
H A Dcidgload.c481 FT_Vector* vec = cur->points; in FT_LOCAL_DEF() local
488 for ( n = cur->n_points; n > 0; n--, vec++ ) in FT_LOCAL_DEF()
490 vec->x = FT_MulFix( vec->x, x_scale ); in FT_LOCAL_DEF()
491 vec->y = FT_MulFix( vec->y, y_scale ); in FT_LOCAL_DEF()
/third_party/skia/third_party/externals/freetype/src/pfr/
H A Dpfrobjs.c437 FT_Vector* vec = outline->points; in FT_LOCAL_DEF() local
441 for ( n = 0; n < outline->n_points; n++, vec++ ) in FT_LOCAL_DEF()
443 vec->x = FT_MulFix( vec->x, x_scale ); in FT_LOCAL_DEF()
444 vec->y = FT_MulFix( vec->y, y_scale ); in FT_LOCAL_DEF()
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1gload.c541 FT_Vector* vec = cur->points; in FT_LOCAL_DEF() local
548 for ( n = cur->n_points; n > 0; n--, vec++ ) in FT_LOCAL_DEF()
550 vec->x = FT_MulFix( vec->x, x_scale ); in FT_LOCAL_DEF()
551 vec->y = FT_MulFix( vec->y, y_scale ); in FT_LOCAL_DEF()
/third_party/spirv-tools/source/opt/
H A Dloop_fission.cpp321 DistanceVector vec{loop_depth}; in CanPerformSplit()
329 if (!analysis.GetDependence(store, inst, &vec)) { in CanPerformSplit()
330 for (DistanceEntry& entry : vec.GetEntries()) { in CanPerformSplit()
339 DistanceVector vec{loop_depth}; in CanPerformSplit()
347 if (!analysis.GetDependence(inst, load, &vec)) { in CanPerformSplit()
348 for (DistanceEntry& entry : vec.GetEntries()) { in CanPerformSplit()
/third_party/zlib/examples/
H A Denough.c120 char *vec; // allocated bit vector member
248 free(g.done[n].vec); in cleanup()
320 if (offset < length && (g.done[index].vec[offset] & bit) != 0) in been_here()
333 vector = realloc(g.done[index].vec, length); in been_here()
349 g.done[index].vec = vector; in been_here()
353 g.done[index].vec[offset] |= bit; in been_here()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DInitialize.cpp201 TType *vec = new TType(EbtVec); in InsertBuiltInFunctions() local
209 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpLessThan, bvec, "lessThan", vec, vec); in InsertBuiltInFunctions()
212 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpLessThanEqual, bvec, "lessThanEqual", vec, vec); in InsertBuiltInFunctions()
215 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpGreaterThan, bvec, "greaterThan", vec, vec); in InsertBuiltInFunctions()
218 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpGreaterThanEqual, bvec, "greaterThanEqual", vec, vec); in InsertBuiltInFunctions()
221 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpVectorEqual, bvec, "equal", vec, ve in InsertBuiltInFunctions()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dsymm.rs45 //! let mut encrypted = vec![0; pubkey.size() as usize];
46 //! let mut decrypted = vec![0; privkey.size() as usize];
446 /// let mut ciphertext = vec![0; data_len + block_size];
471 /// let mut plaintext = vec![0; data_len + block_size];
699 let mut out = vec![0; data.len() + t.block_size()]; in cipher()
723 let mut out = vec![0; data.len() + t.block_size()]; in encrypt_aead()
754 let mut out = vec![0; data.len() + t.block_size()]; in decrypt_aead()
848 let mut r0 = vec![0; c0.len() + super::Cipher::aes_256_ecb().block_size()]; in test_aes_256_ecb()
862 let mut p1 = vec![0; r0.len() + super::Cipher::aes_256_ecb().block_size()]; in test_aes_256_ecb()
892 let mut unciphered_data = vec![ in test_aes_256_cbc_decrypt()
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dintrinsic_test.cc247 return ty.vec(scalar, 2); in GetCoordsType()
251 return ty.vec(scalar, 3); in GetCoordsType()
1982 auto* vec = As<sem::Vector>(TypeOf(call)); in TEST_P() local
1983 ASSERT_NE(vec, nullptr); in TEST_P()
1984 EXPECT_EQ(vec->Width(), 2u); in TEST_P()
1985 EXPECT_TRUE(vec->type()->Is<sem::I32>()); in TEST_P()
1989 auto* vec = As<sem::Vector>(TypeOf(call)); in TEST_P() local
1990 ASSERT_NE(vec, nullptr); in TEST_P()
1991 EXPECT_EQ(vec->Width(), 3u); in TEST_P()
1992 EXPECT_TRUE(vec in TEST_P()
2005 auto* vec = As<sem::Vector>(TypeOf(call)); TEST_P() local
2020 auto* vec = As<sem::Vector>(TypeOf(call)); TEST_P() local
2029 auto* vec = TypeOf(call)->As<sem::Vector>(); TEST_P() local
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_spill.cpp103 std::vector<uint32_t>& vec = affinities[i]; in add_affinity() local
104 for (uint32_t entry : vec) { in add_affinity()
1541 Instruction* vec{create_instruction<Pseudo_instruction>(aco_opcode::p_create_vector, in reload_vgpr()
1543 vec->definitions[0] = def; in reload_vgpr()
1546 vec->operands[i] = Operand(tmp); in reload_vgpr()
1558 bld.insert(vec); in reload_vgpr()
1623 for (std::vector<uint32_t>& vec : ctx.affinities) { in assign_spill_slots_helper()
1624 if (ctx.interferences[vec[0]].first.type() != type) in assign_spill_slots_helper()
1627 for (unsigned id : vec) { in assign_spill_slots_helper()
1635 slots_used, ctx.wave_size, ctx.interferences[vec[ in assign_spill_slots_helper()
[all...]
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
H A DPopulationData.java59 int vec[] = territoryF.getIntVector(); in getTerritoryEntries()
65 entries.add(new TerritoryEntry(territory.getDisplayCountry(ULocale.forLocale(loc)), SupplementalUtilities.ldml2d(vec[2]))); in getTerritoryEntries()
/third_party/icu/icu4c/source/i18n/
H A Dfphdlimp.h69 UVector32* vec; member in FieldPositionIteratorHandler
86 FieldPositionIteratorHandler(UVector32* vec, UErrorCode& status);
/third_party/json/docs/examples/
H A Dsax_parse__binary.cpp98 std::vector<std::uint8_t> vec = {{0x44, 0xcA, 0xfe, 0xba, 0xbe}}; in main() local
104 bool result = json::sax_parse(vec, &sec, json::input_format_t::cbor); in main()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_image.c58 nir_ssa_def *vec = nir_vec_scalars(b, comps, intrin->dest.ssa.num_components); in lower_cube_size() local
59 nir_ssa_def_rewrite_uses(&intrin->dest.ssa, vec); in lower_cube_size()
/third_party/nghttp2/src/
H A Dh2load_http3_session.h64 ssize_t write_stream(int64_t &stream_id, int &fin, nghttp3_vec *vec,
72 void read_data(nghttp3_vec *vec, size_t veccnt, uint32_t *pflags);
/third_party/node/deps/icu-small/source/i18n/
H A Dfphdlimp.h69 UVector32* vec; member in FieldPositionIteratorHandler
86 FieldPositionIteratorHandler(UVector32* vec, UErrorCode& status);
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dpeg_calculator.rs59 .with_labels(vec![ in main()
62 .with_notes(vec![format!("expected: {}", error.expected)]); in main()
/third_party/skia/src/gpu/
H A DGrColor.h84 SkFloatToHalf_finite_ftz(Sk4f::Load(color.vec())).store(&halfColor); in SkPMColor4f_toFP16()
104 memcpy(fColor, color.vec(), sizeof(fColor)); in set()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dfphdlimp.h69 UVector32* vec; member in FieldPositionIteratorHandler
86 FieldPositionIteratorHandler(UVector32* vec, UErrorCode& status);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DObjectContentHasher.h58 static constexpr void Call(ObjectContentHasher* recorder, const std::vector<T>& vec) { in Call()
59 recorder->RecordIterable<std::vector<T>>(vec); in Call()

Completed in 22 milliseconds

1...<<11121314151617181920>>...34