Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 2116) sorted by relevance

12345678910>>...85

/freebsd/contrib/pam-krb5/pam-util/
H A Dvector.c45 struct vector *
48 struct vector *vector; in vector_new() local
50 vector = calloc(1, sizeof(struct vector)); in vector_new()
51 vector->allocated = 1; in vector_new()
52 vector->strings = calloc(1, sizeof(char *)); in vector_new()
53 return vector; in vector_new()
61 struct vector *
62 vector_copy(const struct vector *old) in vector_copy()
64 struct vector *vector; in vector_copy() local
67 vector = vector_new(); in vector_copy()
[all …]
H A Dvector.h43 struct vector { struct
55 struct vector *vector_new(void) __attribute__((__malloc__));
61 struct vector *vector_copy(const struct vector *)
68 bool vector_add(struct vector *, const char *string)
76 bool vector_resize(struct vector *, size_t size) __attribute__((__nonnull__));
83 void vector_clear(struct vector *) __attribute__((__nonnull__));
86 void vector_free(struct vector *);
100 struct vector *vector_split_multi(const char *string, const char *seps,
101 struct vector *)
110 int vector_exec(const char *path, struct vector *)
[all …]
/freebsd/contrib/pam-krb5/tests/pam-util/
H A Dvector-t.c33 struct vector *vector, *ovector, *copy; in main() local
42 vector = vector_new(); in main()
43 ok(vector != NULL, "vector_new returns non-NULL"); in main()
44 if (vector == NULL) in main()
46 ok(vector_add(vector, cstring), "vector_add succeeds"); in main()
47 is_int(1, vector->count, "vector_add increases count"); in main()
48 ok(vector->strings[0] != cstring, "...and allocated new memory"); in main()
49 ok(vector_resize(vector, 4), "vector_resize succeeds"); in main()
50 is_int(4, vector->allocated, "vector_resize works"); in main()
51 ok(vector_add(vector, cstring), "vector_add #2"); in main()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_basic_types.h38 typedef vector<int16_t, 2> int16_t2;
39 typedef vector<int16_t, 3> int16_t3;
40 typedef vector<int16_t, 4> int16_t4;
41 typedef vector<uint16_t, 2> uint16_t2;
42 typedef vector<uint16_t, 3> uint16_t3;
43 typedef vector<uint16_t, 4> uint16_t4;
45 typedef vector<bool, 2> bool2;
46 typedef vector<bool, 3> bool3;
47 typedef vector<bool, 4> bool4;
48 typedef vector<int, 2> int2;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.td82 def v1i1 : VTVec<1, i1, 17>; // 1 x i1 vector value
83 def v2i1 : VTVec<2, i1, 18>; // 2 x i1 vector value
84 def v3i1 : VTVec<3, i1, 19>; // 3 x i1 vector value
85 def v4i1 : VTVec<4, i1, 20>; // 4 x i1 vector value
86 def v8i1 : VTVec<8, i1, 21>; // 8 x i1 vector value
87 def v16i1 : VTVec<16, i1, 22>; // 16 x i1 vector value
88 def v32i1 : VTVec<32, i1, 23>; // 32 x i1 vector value
89 def v64i1 : VTVec<64, i1, 24>; // 64 x i1 vector value
90 def v128i1 : VTVec<128, i1, 25>; // 128 x i1 vector value
91 def v256i1 : VTVec<256, i1, 26>; // 256 x i1 vector value
[all …]
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devppkey_ml_kem_512_decap.txt12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
26 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
33 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
40 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
47 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
54 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
61 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
68 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
75 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
H A Devppkey_ml_kem_512_encap.txt12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
28 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
36 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
44 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
52 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
60 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
68 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
76 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
84 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
H A Devppkey_ml_kem_512_keygen.txt12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
26 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
33 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
40 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
47 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
54 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
61 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
68 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
75 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
H A Devppkey_ml_kem_1024_keygen.txt13 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
27 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
34 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
41 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
48 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
55 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
62 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
69 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
76 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
H A Devppkey_ml_kem_768_keygen.txt13 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
27 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
34 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
41 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
48 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
55 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
62 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
69 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
76 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.h62 std::vector<SUnit*> SUnits;
64 std::vector<SUnit*> TopReadySUs;
65 std::vector<SUnit*> ScheduledSUnits;
75 std::vector<unsigned> InternalAdditionalPressure;
77 std::vector<unsigned> LiveInPressure;
78 std::vector<unsigned> LiveOutPressure;
90 std::vector<unsigned> HasLowLatencyNonWaitedParent;
95 std::vector<SIScheduleBlock*> Preds; // All blocks predecessors.
97 std::vector<std::pair<SIScheduleBlock*, SIScheduleBlockLinkKind>> Succs;
119 const std::vector<SIScheduleBlock*>& getPreds() const { return Preds; } in getPreds()
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DDLL.h28 std::vector<DefinedImportData *> imports;
29 std::vector<Chunk *> dirs;
30 std::vector<Chunk *> lookups;
31 std::vector<Chunk *> addresses;
32 std::vector<Chunk *> hints;
33 std::vector<Chunk *> dllNames;
44 std::vector<Chunk *> getChunks();
45 std::vector<Chunk *> getDataChunks();
60 std::vector<DefinedImportData *> imports;
61 std::vector<Chunk *> dirs;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dvector16 vector synopsis
22 class vector
38 vector()
40 explicit vector(const allocator_type&);
41 explicit vector(size_type n);
42 explicit vector(size_type n, const allocator_type&); // C++14
43 vector(size_type n, const value_type& value, const allocator_type& = allocator_type());
45 vector(InputIterator first, InputIterator last, const allocator_type& = allocator_type());
47 constexpr vector(from_range_t, R&& rg, const Allocator& = Allocator()); // C++23
48 vector(const vector& x);
[all …]
/freebsd/usr.sbin/ppp/
H A Dauth.c174 char *vector[6], buff[LINE_LEN]; in auth_SetPhoneList() local
186 memset(vector, '\0', sizeof vector); in auth_SetPhoneList()
187 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_SetPhoneList()
191 if (strcmp(vector[0], name) == 0) { in auth_SetPhoneList()
193 if (*vector[4] == '\0') in auth_SetPhoneList()
195 strncpy(phone, vector[4], phonelen - 1); in auth_SetPhoneList()
219 char *vector[5], buff[LINE_LEN]; in auth_Select() local
247 memset(vector, '\0', sizeof vector); in auth_Select()
248 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Select()
252 if (strcmp(vector[0], name) == 0) { in auth_Select()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.h40 std::vector<std::string> ccArgs; // CC-specific arguments.
42 const std::vector<std::string> *CCArgs) in CC()
53 const std::vector<std::string> *Args);
63 const std::string &ProgramFile, const std::vector<std::string> &Args,
66 const std::vector<std::string> &CCArgs = std::vector<std::string>(),
74 const std::vector<std::string> &ArgsForCC);
88 const std::vector<std::string> *Args = nullptr,
89 const std::vector<std::string> *CCArgs = nullptr,
94 const std::vector<std::string> *Args = nullptr);
98 const std::vector<std::string> *Args = nullptr);
[all …]
H A DToolRunner.cpp146 std::vector<std::string> ToolArgs; // Args to pass to LLI
148 LLI(const std::string &Path, const std::vector<std::string> *Args) in LLI()
157 const std::string &Bitcode, const std::vector<std::string> &Args,
159 const std::vector<std::string> &CCArgs,
160 const std::vector<std::string> &SharedLibs = std::vector<std::string>(),
166 const std::vector<std::string> &Args, in ExecuteProgram()
169 const std::vector<std::string> &CCArgs, in ExecuteProgram()
170 const std::vector<std::string> &SharedLibs, in ExecuteProgram()
172 std::vector<StringRe in ExecuteProgram()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeLayout.h20 #include <vector>
43 std::vector<uint64_t> computeExtTspLayout(ArrayRef<uint64_t> NodeSizes,
84 std::vector<uint64_t> computeCacheDirectedLayout(
89 std::vector<uint64_t> computeCacheDirectedLayout(
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWindowsResource.h157 Error parse(WindowsResource *WR, std::vector<std::string> &Duplicates);
159 std::vector<std::string> &Duplicates);
160 void cleanUpManifests(std::vector<std::string> &Duplicates);
163 ArrayRef<std::vector<uint8_t>> getData() const { return Data; } in getData()
164 ArrayRef<std::vector<UTF16>> getStringTable() const { return StringTable; } in getStringTable()
202 std::vector<std::vector<uint8_t>> &Data,
203 std::vector<std::vector<UTF16>> &StringTable,
206 std::vector<std::vector<UTF16>> &StringTable);
208 std::vector<std::vector<UTF16>> &StringTable);
210 std::vector<std::vector<uint8_t>> &Data,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DRenamingAction.h31 RenamingAction(const std::vector<std::string> &NewNames,
32 const std::vector<std::string> &PrevNames,
33 const std::vector<std::vector<std::string>> &USRList,
42 const std::vector<std::string> &NewNames, &PrevNames;
43 const std::vector<std::vector<std::string>> &USRList;
93 llvm::Expected<std::vector<AtomicChange>>
101 const std::vector<std::string> &NewNames, in QualifiedRenamingAction()
102 const std::vector<std::vector<std::string>> &USRList, in QualifiedRenamingAction()
110 const std::vector<std::string> &NewNames;
113 const std::vector<std::vector<std::string>> &USRList;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.h37 std::vector<uint32_t> DirectoryBlocks;
43 std::vector<uint32_t> Blocks;
56 std::vector<PdbRaw_FeatureSig> Features;
57 std::vector<NamedStreamMapping> NamedStreams;
62 std::vector<CodeViewYAML::SymbolRecord> Symbols;
68 std::vector<StringRef> SourceFiles;
69 std::vector<CodeViewYAML::YAMLDebugSubsection> Subsections;
82 std::vector<PdbDbiModuleInfo> ModInfos;
87 std::vector<CodeViewYAML::LeafRecord> Records;
91 std::vector<CodeViewYAML::SymbolRecord> PubSyms;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h41 std::vector<AttributeAbbrev> Attributes;
46 std::vector<Abbrev> Table;
61 std::vector<ARangeDescriptor> Descriptors;
75 std::vector<RangeEntry> Entries;
90 std::vector<PubEntry> Entries;
96 std::vector<llvm::yaml::Hex8> BlockData;
101 std::vector<FormValue> Values;
118 std::vector<Entry> Entries;
129 std::vector<IdxForm> Indices;
135 std::vector<yaml::Hex64> Values;
[all …]
H A DELFYAML.h172 std::optional<std::vector<BBEntry>> BBEntries;
176 std::optional<std::vector<BBRangeEntry>> BBRanges;
192 std::optional<std::vector<SuccessorEntry>> Successors;
195 std::optional<std::vector<PGOBBEntry>> PGOBBEntries;
274 virtual std::vector<std::pair<StringRef, bool>> getEntries() const { in getEntries()
326 std::optional<std::vector<SectionHeader>> Sections;
327 std::optional<std::vector<SectionHeader>> Excluded;
344 std::optional<std::vector<BBAddrMapEntry>> Entries;
345 std::optional<std::vector<PGOAnalysisMapEntry>> PGOAnalyses;
349 std::vector<std::pair<StringRef, bool>> getEntries() const override { in getEntries()
[all …]
/freebsd/sys/x86/x86/
H A Dlocal_apic.c425 lapic_write_self_ipi(uint32_t vector) in lapic_write_self_ipi() argument
429 wrmsr(MSR_APIC_000 + LAPIC_SELF_IPI, vector); in lapic_write_self_ipi()
466 static u_int apic_idt_to_irq(u_int apic_id, u_int vector);
467 static void lapic_set_tpr(u_int vector);
1231 lapic_intr_pending(u_int vector) in lapic_intr_pending() argument
1242 irr = lapic_read32(LAPIC_IRR0 + vector / 32); in lapic_intr_pending()
1243 return (irr & 1 << (vector % 32)); in lapic_intr_pending()
1397 lapic_set_tpr(u_int vector) in lapic_set_tpr() argument
1400 lapic_write32(LAPIC_TPR, vector); in lapic_set_tpr()
1405 tpr |= vector; in lapic_set_tpr()
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dvector.cppm
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DSymtab.h24 typedef std::vector<uint32_t> IndexCollection;
47 void Dump(Stream *s, Target *target, std::vector<uint32_t> &indexes,
65 std::vector<uint32_t> &indexes,
70 std::vector<uint32_t> &indexes, uint32_t start_idx = 0,
75 std::vector<uint32_t> &matches,
79 std::vector<uint32_t> &matches);
83 std::vector<uint32_t> &matches);
86 std::vector<uint32_t> &matches);
91 std::vector<uint32_t> &matches);
94 std::vector<uint32_t> &indexes,
[all …]

12345678910>>...85