/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMAttributeParser.cpp | 116 static const char *strings[] = {"Not Permitted", "Permitted"}; in ARM_ISA_use() local 117 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in ARM_ISA_use() 121 static const char *strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", "Permitted"}; in THUMB_ISA_use() local 122 return parseStringAttribute("THUMB_ISA_use", tag, ArrayRef(strings)); in THUMB_ISA_use() 126 static const char *strings[] = { in FP_arch() local 129 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in FP_arch() 133 static const char *strings[] = {"Not Permitted", "WMMXv1", "WMMXv2"}; in WMMX_arch() local 134 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in WMMX_arch() 138 static const char *strings[] = {"Not Permitted", "NEONv1", "NEONv2+FMA", in Advanced_SIMD_arch() local 140 return parseStringAttribute("Advanced_SIMD_arch", tag, ArrayRef(strings)); in Advanced_SIMD_arch() [all …]
|
H A D | CSKYAttributeParser.cpp | 85 static const char *strings[] = {"Error", "DSP Extension", "DSP 2.0"}; in dspVersion() local 86 return parseStringAttribute("Tag_CSKY_DSP_VERSION", tag, ArrayRef(strings)); in dspVersion() 90 static const char *strings[] = {"Error", "VDSP Version 1", "VDSP Version 2"}; in vdspVersion() local 91 return parseStringAttribute("Tag_CSKY_VDSP_VERSION", tag, ArrayRef(strings)); in vdspVersion() 95 static const char *strings[] = {"Error", "FPU Version 1", "FPU Version 2", in fpuVersion() local 97 return parseStringAttribute("Tag_CSKY_FPU_VERSION", tag, ArrayRef(strings)); in fpuVersion() 101 static const char *strings[] = {"Error", "Soft", "SoftFP", "Hard"}; in fpuABI() local 102 return parseStringAttribute("Tag_CSKY_FPU_ABI", tag, ArrayRef(strings)); in fpuABI() 106 static const char *strings[] = {"None", "Needed"}; in fpuRounding() local 107 return parseStringAttribute("Tag_CSKY_FPU_ROUNDING", tag, ArrayRef(strings)); in fpuRounding() [all …]
|
/freebsd/sys/contrib/xen/hvm/ |
H A D | hvm_xs_strings.h | 4 * HVM xenstore strings used in HVMLOADER. 65 #define HVM_XS_BIOS_STRINGS "bios-strings" 66 #define HVM_XS_BIOS_VENDOR "bios-strings/bios-vendor" 67 #define HVM_XS_BIOS_VERSION "bios-strings/bios-version" 68 #define HVM_XS_SYSTEM_MANUFACTURER "bios-strings/system-manufacturer" 69 #define HVM_XS_SYSTEM_PRODUCT_NAME "bios-strings/system-product-name" 70 #define HVM_XS_SYSTEM_VERSION "bios-strings/system-version" 71 #define HVM_XS_SYSTEM_SERIAL_NUMBER "bios-strings/system-serial-number" 72 #define HVM_XS_BASEBOARD_MANUFACTURER "bios-strings/baseboard-manufacturer" 73 #define HVM_XS_BASEBOARD_PRODUCT_NAME "bios-strings/baseboard-product-name" [all …]
|
/freebsd/usr.bin/xstr/ |
H A D | xstr.1 | 33 .Nd "extract strings from C programs to implement shared strings" 43 .Pa strings 44 into which strings in component parts of a large program are hashed. 45 These strings are replaced with references to this common area. 46 This serves to implement shared constant strings, most useful if they 54 Extract the strings from the C source 69 The strings from this file are placed in the 70 .Pa strings 72 Repeated strings and strings which are suffixes of existing strings 106 .Pa strings [all …]
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | mod.c | 60 struct getarg_strings *strings) in add_constrained_delegation() argument 71 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_constrained_delegation() 79 calloc(strings->num_strings, in add_constrained_delegation() 81 ext.data.u.allowed_to_delegate_to.len = strings->num_strings; in add_constrained_delegation() 83 for (i = 0; i < strings->num_strings; i++) { in add_constrained_delegation() 84 ret = krb5_parse_name(contextp, strings->strings[i], &p); in add_constrained_delegation() 107 struct getarg_strings *strings) in add_aliases() argument 121 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_aliases() 126 calloc(strings->num_strings, in add_aliases() 128 ext.data.u.aliases.aliases.len = strings->num_strings; in add_aliases() [all …]
|
/freebsd/usr.bin/clang/llvm-strings/ |
H A D | llvm-strings.1 | 30 .TH "LLVM-STRINGS" "1" "2023-05-24" "16" "LLVM" 32 llvm-strings \- print strings 35 \fBllvm\-strings\fP [\fIoptions\fP] [\fIinput...\fP] 38 \fBllvm\-strings\fP is a tool intended as a drop\-in replacement for GNU\(aqs 39 \fBstrings\fP, which looks for printable strings in files and writes them 44 \fBllvm\-strings\fP looks for strings in each \fBinput\fP file specified. 45 Unlike GNU \fBstrings\fP it looks in the entire input file, regardless of 59 $ llvm\-strings input.txt 70 Silently ignored. Present for GNU \fBstrings\fP compatibility. 94 $ llvm\-strings \-\-print\-file\-name test.o test.elf [all …]
|
/freebsd/contrib/pam-krb5/pam-util/ |
H A D | vector.c | 4 * A vector is a table for handling a list of strings with less overhead than 14 * Vectors require list of strings, not arbitrary binary data, and cannot 52 vector->strings = calloc(1, sizeof(char *)); in vector_new() 74 vector->strings[i] = strdup(old->strings[i]); in vector_copy() 75 if (vector->strings[i] == NULL) { in vector_copy() 92 char **strings; in vector_resize() local 96 free(vector->strings[i]); in vector_resize() 101 strings = reallocarray(vector->strings, size, sizeof(char *)); in vector_resize() 102 if (strings == NULL) in vector_resize() 104 vector->strings = strings; in vector_resize() [all …]
|
H A D | vector.h | 4 * A vector is a list of strings, with dynamic resizing of the list as new 5 * strings are added and support for various operations on strings (such as 8 * Vectors require list of strings, not arbitrary binary data, and cannot 46 char **strings; member 72 * Resize the array of strings to hold size entries. Saves reallocation work 79 * Reset the number of elements to zero, freeing all of the strings for a 80 * regular vector, but not freeing the strings array (to cut down on memory 95 * Empty strings will yield zero-length vectors. Adjacent delimiters are 98 * zero-length strings (similar to the behavior of strtok).
|
/freebsd/contrib/pam-krb5/tests/pam-util/ |
H A D | vector-t.c | 48 ok(vector->strings[0] != cstring, "...and allocated new memory"); in main() 54 is_int(4, vector->allocated, "...and no reallocation when adding strings"); in main() 56 is_string(cstring, vector->strings[0], "added the right string"); in main() 57 is_string(cstring, vector->strings[1], "added the right string"); in main() 58 is_string(cstring, vector->strings[2], "added the right string"); in main() 59 is_string(cstring, vector->strings[3], "added the right string"); in main() 60 ok(vector->strings[1] != vector->strings[2], "each pointer is different"); in main() 61 ok(vector->strings[2] != vector->strings[3], "each pointer is different"); in main() 62 ok(vector->strings[3] != vector->strings[0], "each pointer is different"); in main() 63 ok(vector->strings[0] != cstring, "each pointer is different"); in main() [all …]
|
/freebsd/usr.bin/chat/ |
H A D | chat.8 | 43 the strings. 45 Set the file for output of the report strings. 48 the resulting strings are written to this file. 54 file is used for the report strings. 101 modem and the output strings sent to the modem to the stderr device. 113 strings sent to the modem. 133 A script consists of one or more "expect-send" pairs of strings, 165 strings, network identification strings, or other variable pieces of data as 213 .Sh ABORT STRINGS 215 These strings may be [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.h | 29 explicit StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings); 32 StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings, 35 void setStrings(const DebugStringTableSubsectionRef &Strings); 44 if (Strings && Checksums) in initialize() 50 if (R.kind() == DebugSubsectionKind::StringTable && !Strings) { in initialize() 66 const DebugStringTableSubsectionRef &strings() const { return *Strings; } in strings() function 69 bool hasStrings() const { return Strings != nullptr; } in hasStrings() 79 const DebugStringTableSubsectionRef *Strings = nullptr; variable 91 void setStrings(const StringsPtr &SP) { Strings = SP; } in setStrings() 94 const StringsPtr &strings() const { return Strings; } in strings() function [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_entry.c | 158 /* copy term_names, Strings, uses */ in _nc_wrap_entry() 161 if (VALID_STRING(tp->Strings[i])) { in _nc_wrap_entry() 162 tp->Strings[i] = _nc_save_str(tp->Strings[i]); in _nc_wrap_entry() 179 if (tp->Strings[i] == ABSENT_STRING) { in _nc_wrap_entry() 181 } else if (tp->Strings[i] == CANCELLED_STRING) { in _nc_wrap_entry() 184 offsets[i] = (int) (tp->Strings[i] - stringbuf); in _nc_wrap_entry() 203 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry() 205 tp->Strings[i] = CANCELLED_STRING; in _nc_wrap_entry() 207 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry() 270 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry() [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | hxtool-commands.in | 41 type = "strings" 54 type = "strings" 60 type = "strings" 66 type = "strings" 72 type = "strings" 127 type = "strings" 134 type = "strings" 140 type = "strings" 184 type = "strings" 190 type = "strings" [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/ |
H A D | StringTable.h |
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 78 static char **curshell, **shells, *strings; variable 103 if (strings != NULL) in endusershell() 104 free(strings); in endusershell() 105 strings = NULL; in endusershell() 129 free(strings); in initshells() 130 strings = NULL; in initshells() 141 strings = malloc(cp - tmp); in initshells() 142 if(strings == NULL) { in initshells() 147 memcpy(strings, tmp, cp - tmp); in initshells() 148 for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++) in initshells() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 40 const PDBStringTable &Strings; member in llvm::pdb::__anon054798330111::NativeInjectedSource 45 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource() argument 46 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource() 52 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() 58 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() 64 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() 74 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode() 100 const PDBStringTable &Strings) in NativeEnumInjectedSources() argument 101 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources() 112 File, Strings); in getChildAtIndex() [all …]
|
H A D | PDBStringTableBuilder.cpp | 48 return Strings.insert(S); in insert() 52 return Strings.getIdForString(S); in getIdForString() 56 return Strings.getStringForId(Id); in getStringForId() 61 // strings. Matching the reference algorithm exactly is not strictly in computeBucketCount() 136 Size += sizeof(uint32_t) * computeBucketCount(Strings.size()); in calculateHashTableSize() 144 Size += Strings.calculateSerializedSize(); in calculateSerializedSize() 151 const codeview::DebugStringTableSubsection &Strings) { in setStrings() 152 this->Strings = Strings; in setStrings() 160 H.ByteSize = Strings in writeHeader() 150 setStrings(const codeview::DebugStringTableSubsection & Strings) setStrings() argument [all...] |
/freebsd/crypto/openssl/test/recipes/ |
H A D | 02-test_errstr.t | 10 no strict 'refs'; # To be able to use strings as function refs 70 skip "perl error strings and ssystem error strings for errcode 0 differ", 1 113 my @strings = @_; 118 if (scalar @strings > 1) { 120 . join("', '", @strings) . "' )"; 122 $desc = "match '$first' ($desc) with '$strings[0]'"; 127 @strings 134 my @strings = @_; 142 return match_any($reason, $errcode_hex, @strings); 148 my @strings = (); [all …]
|
/freebsd/contrib/kyua/utils/text/ |
H A D | operations.ipp | 39 /// Concatenates a collection of strings into a single string. 41 /// \param strings The collection of strings to concatenate. If the collection 43 /// \param delimiter The delimiter to use to separate the strings. 45 /// \return The concatenated strings. 48 utils::text::join(const Collection& strings, const std::string& delimiter) 51 if (strings.size() > 1) { 52 for (typename Collection::const_iterator iter = strings.begin(); 53 iter != --strings.end(); ++iter) 56 if (strings.size() > 0) 57 output << *(--strings.end());
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.cpp | 23 const DebugStringTableSubsectionRef &Strings) in StringsAndChecksumsRef() argument 24 : Strings(&Strings) {} in StringsAndChecksumsRef() 27 const DebugStringTableSubsectionRef &Strings, in StringsAndChecksumsRef() argument 29 : Strings(&Strings), Checksums(&Checksums) {} in StringsAndChecksumsRef() 34 assert(!Strings && "Found a string table even though we already have one!"); in initializeStrings() 38 Strings = OwnedStrings.get(); in initializeStrings() 48 Strings = nullptr; in resetStrings() 60 Strings = OwnedStrings.get(); in setStrings()
|
/freebsd/contrib/elftoolchain/strings/ |
H A D | strings.1 | 25 .\" $Id: strings.1 3360 2016-01-24 18:34:06Z jkoshy $ 31 .Nm strings 32 .Nd "print the strings of printable characters in files" 69 For ELF objects, scan the entire file for printable strings. 71 Select the character encoding to be used while searching for strings. 129 To display strings in 132 .Dl "$ strings /bin/ls" 134 To display strings in all sections of 137 .Dl "$ strings -a /bin/ln" 139 To display strings in all sections of [all …]
|
/freebsd/crypto/krb5/src/lib/kdb/ |
H A D | t_stringattr.c | 45 krb5_string_attr *strings; in main() local 58 /* Check that the entry has no strings to start. */ in main() 59 assert(krb5_dbe_get_strings(context, ent, &strings, &count) == 0); in main() 60 assert(strings == NULL && count == 0); in main() 61 krb5_dbe_free_strings(context, strings, count); in main() 84 assert(krb5_dbe_get_strings(context, ent, &strings, &count) == 0); in main() 86 assert(strcmp(strings[0].key, "price") == 0); in main() 87 assert(strcmp(strings[0].value, "right") == 0); in main() 88 assert(strcmp(strings[1].key, "time") == 0); in main() 89 assert(strcmp(strings[1].value, "flies") == 0); in main() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | UI_STRING.pod | 67 This is only useful for B<UIT_PROMPT> and B<UIT_VERIFY> type strings. 73 This is only useful for B<UIT_VERIFY> type strings. 78 This is only useful for B<UIT_PROMPT> and B<UIT_VERIFY> type strings. 82 For B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, this sets the 86 For B<UIT_BOOLEAN> type UI strings, this sets the first character of 98 only useful with normal C strings. 109 string for B<UIT_BOOLEAN> type UI strings, NULL for any other type. 112 B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, NULL for any other 116 content length for B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, 120 string for B<UIT_VERIFY> type UI strings, NULL for any other type. [all …]
|
/freebsd/crypto/krb5/src/kdc/ |
H A D | authind.c | 84 krb5_data der_indicators, **strings = NULL, **list = *indicators; in authind_extract() local 96 ret = decode_utf8_strings(&der_indicators, &strings); in authind_extract() 102 /* Count the entries in strings and allocate space in list. */ in authind_extract() 103 for (scount = 0; strings != NULL && strings[scount] != NULL; scount++); in authind_extract() 111 /* Steal the krb5_data pointers from strings and free the array. */ in authind_extract() 112 memcpy(list + count, strings, scount * sizeof(*strings)); in authind_extract() 115 free(strings); in authind_extract() 116 strings = NULL; in authind_extract() 121 k5_free_data_ptr_list(strings); in authind_extract()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 114 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 128 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 144 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 174 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 202 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings); 204 std::vector<StringRef> Strings; member 216 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 357 IO.mapRequired("Strings", Strings); in map() 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() 541 convertOneChecksum(const DebugStringTableSubsectionRef & Strings,const FileChecksumEntry & CS) convertOneChecksum() argument 555 getFileName(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,uint32_t FileID) getFileName() argument 566 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & FC) fromCodeViewSubsection() argument 581 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 619 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugInlineeLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 656 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugCrossModuleImportsSubsectionRef & Imports) fromCodeViewSubsection() argument 691 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings) fromCodeViewSubsection() argument 709 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugFrameDataSubsectionRef & Frames) fromCodeViewSubsection() argument 853 visitStringTable(DebugStringTableSubsectionRef & Strings,const StringsAndChecksumsRef & State) visitStringTable() argument [all...] |