/freebsd/usr.sbin/nscd/ |
H A D | parser.c | 66 strbreak(char *str, char **fields, int fields_size) in strbreak() argument 74 ((*fields = in strbreak() 77 if ((*(*fields)) != '\0') { in strbreak() 78 ++fields; in strbreak() 373 char *fields[128]; in parse_config_file() local 393 field_count = strbreak(buffer, fields, sizeof(fields)); in parse_config_file() 399 switch (fields[0][0]) { in parse_config_file() 405 (strcmp(fields[0], "enable-cache") == 0) && in parse_config_file() 406 (check_cachename(fields[ in parse_config_file() [all...] |
/freebsd/sbin/ipf/libipf/ |
H A D | parsefields.c | 8 wordtab_t *f, *fields; in parsefields() local 12 fields = NULL; in parsefields() 30 if (fields == NULL) { in parsefields() 31 fields = malloc(2 * sizeof(*fields)); in parsefields() 33 fields = reallocarray(fields, num + 1, sizeof(*fields)); in parsefields() 34 if (fields == NULL) { in parsefields() 41 fields[num - 1].w_word = f->w_word; in parsefields() 43 fields[num - 1].w_word = t; in parsefields() 45 fields[num - 1].w_value = f->w_value; in parsefields() 46 fields[num].w_word = NULL; in parsefields() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 61 static void getFieldsFromClassHierarchy(QualType Type, FieldSet &Fields) { in getFieldsFromClassHierarchy() argument 66 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy() 67 Fields.insert(Field); in getFieldsFromClassHierarchy() 70 getFieldsFromClassHierarchy(Base.getType(), Fields); in getFieldsFromClassHierarchy() 73 /// Gets the set of all fields in the type. 75 FieldSet Fields; in getObjectFields() local 76 getFieldsFromClassHierarchy(Type, Fields); in getObjectFields() 77 return Fields; in getObjectFields() 80 bool containsSameFields(const FieldSet &Fields, in containsSameFields() argument 82 if (Fields.size() != FieldLocs.size()) in containsSameFields() [all …]
|
/freebsd/contrib/ncurses/form/ |
H A D | frm_def.c | 119 | Description : Break association between form and array of fields. 128 FIELD **fields; in Disconnect_Fields() local 130 for (fields = form->field; *fields; fields++) in Disconnect_Fields() 132 if (form == (*fields)->form) in Disconnect_Fields() 133 (*fields)->form = (FORM *)0; in Disconnect_Fields() 147 | Function : static int Connect_Fields(FORM *form, FIELD **fields) 149 | Description : Set association between form and array of fields. 157 Connect_Fields(FORM *form, FIELD **fields) in Connect_Fields() argument 163 T((T_CALLED("Connect_Fields(%p,%p)"), (void *)form, (void *)fields)); in Connect_Fields() 167 form->field = fields; in Connect_Fields() [all …]
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_ni_dpkg.h | 116 /* Protocol fields */ 118 /* Ethernet fields */ 127 /* VLAN fields */ 139 /* IP (generic) fields */ 150 /* IPV4 fields */ 168 /* IPV6 fields */ 179 /* ICMP fields */ 187 /* IGMP fields */ 194 /* TCP fields */ 208 /* UDP fields */ [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | OptimizedStructLayout.h | 10 /// This file provides an interface for laying out a sequence of fields 13 /// requirements of the individual fields. The resulting layout may be 14 /// substantially more compact than simply laying out the fields in their 17 /// Fields may be pre-assigned fixed offsets. They may also be given sizes 19 /// way to describe that a field has interior padding that other fields may 31 /// fields in the original array may be moved further from one another. 76 /// After layout, this will be true of all the fields. 89 /// Compute a layout for a struct containing the given fields, making a 95 /// - Fields may be assigned a fixed offset in the layout. If there are 96 /// gaps among the fixed-offset fields, the algorithm may attempt [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | OptimizedStructLayout.cpp | 21 static void checkValidLayout(ArrayRef<Field> Fields, uint64_t Size, in checkValidLayout() argument 25 for (auto &Field : Fields) { in checkValidLayout() 43 llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { in performOptimizedStructLayout() argument 49 for (auto &Field : Fields) { in performOptimizedStructLayout() 53 "fixed-offset fields are not a strict prefix of array"); in performOptimizedStructLayout() 55 "fixed-offset fields overlap or are not in order"); in performOptimizedStructLayout() 66 // Do an initial pass over the fields. in performOptimizedStructLayout() 70 auto FirstFlexible = Fields.begin(), E = Fields.end(); in performOptimizedStructLayout() 76 // If there are no flexible fields, we're done. in performOptimizedStructLayout() 79 if (!Fields.empty()) in performOptimizedStructLayout() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CXXFieldCollector.h | 26 /// Fields - Contains all FieldDecls collected during parsing of a C++ 27 /// class. When a nested class is entered, its fields are appended to the 28 /// fields of its parent class, when it is exited its fields are removed. 29 SmallVector<FieldDecl*, 32> Fields; variable 31 /// FieldCount - Each entry represents the number of fields collected during 42 // // At this point, Fields contains [x,y,q] decls and FieldCount contains 46 // // At this point, Fields contains [x,y,z] decls and FieldCount contains 56 Fields.push_back(D); in Add() 60 /// getCurNumField - The number of fields added to the currently parsed class. 66 /// getCurFields - Pointer to array of fields added to the currently parsed [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | split.c | 7 - split - divide a string into fields, like awk split() 8 == int split(char *string, char *fields[], int nfields, char *sep); 9 - fields: list is not NULL-terminated 10 - nfields: number of entries available in fields[] 13 int /* number of fields, including overflow */ 14 split(char *string, char *fields[], int nfields, char *sep) in split() argument 21 char **fp = fields; in split() 54 /* we have overflowed the fields vector -- just count them */ in split() 84 /* we have overflowed the fields vector -- just count them */ in split() 157 char *fields[MNF]; in main() local [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | table.py | 17 # fields enclosed by brackets "[]" replaced with your own identifying 28 __slots__ = "fields", "rjustfields", "maxfieldlen", "lines" 31 def __init__(self, fields, rjustfields=()): argument 33 self.fields = fields 35 self.maxfieldlen = dict.fromkeys(fields, 0) 45 for f in self.fields: 53 d = dict([(f, f.upper()) for f in self.fields]) 59 for i in range(len(self.fields)): 64 if self.fields[i] in self.rjustfields: 68 mfl = self.maxfieldlen[self.fields[i]]
|
/freebsd/contrib/ofed/libibmad/ |
H A D | mad.h | 386 * PortInfo fields 439 * NodeInfo fields 457 * SwitchInfo fields 481 * SwitchLinearForwardingTable fields 486 * SwitchMulticastForwardingTable fields 491 * NodeDescription fields 496 * Notice/Trap fields 648 * GUIDInfo fields 654 * ClassPortInfo fields 680 * PortXmitDataSL fields [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterFlagsDetector_arm64.h | 21 /// The same register may have different fields on different CPUs. This class 31 /// to the detected fields for all registers listed in this class. 38 /// For the registers listed in this class, detect which fields are 40 /// If called more than once, fields will be redetected each time from 42 /// fields will be left empty. 55 using Fields = std::vector<RegisterFlags::Field>; 56 using DetectorFn = std::function<Fields(uint64_t, uint64_t)>; 58 static Fields DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2); 59 static Fields DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2); 60 static Fields DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2); [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | split.c | 36 * split - divide a string into fields, like awk split() 38 * returns number of fields, including overflow 40 * fields[] list is not NULL-terminated 41 * nfields number of entries available in fields[] 45 split(char *string, char *fields[], int nfields, const char *sep) in split() argument 52 char **fp = fields; in split() 85 /* we have overflowed the fields vector -- just count them */ in split() 115 /* we have overflowed the fields vector -- just count them */ in split() 188 char *fields[MNF]; in main() local 197 (void) split(buf, fields, MNF, argv[2]); in main() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 81 // This is the simplest correct case: a class with no fields and one base in visitRecord() 83 // & fields might interact, so we don't bother dealing with them. in visitRecord() 84 // TODO: Support other combinations of base classes and fields. in visitRecord() 127 // TODO: Recurse into the fields to see if they have excess padding. in visitVariable() 153 // have fields. in shouldSkipDecl() 169 // How do you reorder fields if you haven't got any? in shouldSkipDecl() 185 if (llvm::any_of(RD->fields(), IsTrickyField)) in shouldSkipDecl() 195 for (const FieldDecl *FD : RD->fields()) { in calculateBaselinePad() 198 // set the same as the other fields addresses. in calculateBaselinePad() 204 // total because reordering fields won't fix that problem. in calculateBaselinePad() [all …]
|
/freebsd/tools/test/stress2/tools/ |
H A D | calc_mem_use.pl | 27 (my @fields) = split /:|,/; 28 #print Data::Dumper::Dumper(\@fields); 29 next unless ($#fields >= 7); 30 my $size = $fields[1]; 31 my $used = $fields[3]; 32 my $free = $fields[4]; 43 my @fields; 44 @fields = split(/\s+/, $line); 45 my $memuse_s = $fields[1];
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 9 // This tablegen backend emits a generic array initialized by specified fields, 69 SmallVector<GenericField, 1> Fields; member 79 SmallVector<GenericField, 2> Fields; member 86 for (const auto &Field : Fields) { in getFieldByName() 218 assert(Index.Fields.size() == 1); in getNumericKey() 221 // we check for IsInstruction before Enum-- these fields are not exclusive. in getNumericKey() 222 if (Index.Fields[0].IsInstruction) { in getNumericKey() 223 Record *TheDef = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey() 226 if (Index.Fields[0].Enum) { in getNumericKey() 227 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey() [all …]
|
/freebsd/usr.bin/stat/tests/ |
H A D | stat_test.sh | 135 # The order/name of each of the fields is specified by stat(1) manpage. 136 fields="st_dev st_ino st_mode st_nlink" 137 fields="$fields st_uid st_gid st_rdev st_size" 138 fields="$fields st_uid st_gid st_mode" 139 fields="$fields st_atime st_mtime st_ctime st_birthtime" 140 fields="$fields st_blksize st_blocks st_flags" 143 # - ... relies on set -eu to ensure that the fields are set, as 151 for field in $fields; do 154 ) || atf_fail 'One or more fields not set by stat(1)'
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBTypeExtensions.i | 62 num_fields = property(GetNumberOfFields, None, doc='''A read only property that returns number of fields in this type as an integer.''') 78 '''An accessor function that returns a list() that contains all fields in a lldb.SBType object.''' 85 '''An accessor function that returns a list() that contains all fields in a lldb.SBType object.''' 86 fields = [] 88 fields.append(self.GetFieldAtIndex(idx)) 89 return fields 92 '''An accessor function that returns a list() that contains all members (base classes and fields) in a lldb.SBType object in ascending bit offset order.''' 95 fields = self.get_fields_array() 117 for field in fields: 139 fields [all...] |
/freebsd/sys/dev/enic/ |
H A D | vnic_enet.h | 41 #define VENETF_RSSHASH_IPV4 0x20 /* Hash on IPv4 fields */ 42 #define VENETF_RSSHASH_TCPIPV4 0x40 /* Hash on TCP + IPv4 fields */ 43 #define VENETF_RSSHASH_IPV6 0x80 /* Hash on IPv6 fields */ 44 #define VENETF_RSSHASH_TCPIPV6 0x100 /* Hash on TCP + IPv6 fields */ 45 #define VENETF_RSSHASH_IPV6_EX 0x200 /* Hash on IPv6 extended fields */ 46 #define VENETF_RSSHASH_TCPIPV6_EX 0x400 /* Hash on TCP + IPv6 ext. fields */ 56 #define VENETF_RSSHASH_UDPIPV4 0x100000 /* Hash on UDP + IPv4 fields */ 57 #define VENETF_RSSHASH_UDPIPV6 0x200000 /* Hash on UDP + IPv6 fields */
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vmcs.h | 116 /* 16-bit control fields */ 120 /* 16-bit guest-state fields */ 131 /* 16-bit host-state fields */ 140 /* 64-bit control fields */ 159 /* 64-bit read-only fields */ 162 /* 64-bit guest-state fields */ 173 /* 64-bit host-state fields */ 178 /* 32-bit control fields */ 198 /* 32-bit read-only data fields */ 208 /* 32-bit guest-state fields */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | MarkupFilter.cpp | 106 reportLocation(Node.Fields[0].begin()); in tryMMap() 157 reportLocation(Node.Fields[0].begin()); in tryModule() 231 OS << llvm::demangle(Node.Fields.front().str()); in trySymbol() 243 std::optional<uint64_t> Addr = parseAddr(Node.Fields[0]); in tryPC() 250 if (Node.Fields.size() == 2) { in tryPC() 251 std::optional<PCType> ParsedType = parsePCType(Node.Fields[1]); in tryPC() 261 reportLocation(Node.Fields[0].begin()); in tryPC() 296 std::optional<uint64_t> FrameNumber = parseFrameNumber(Node.Fields[0]); in tryBackTrace() 300 std::optional<uint64_t> Addr = parseAddr(Node.Fields[1]); in tryBackTrace() 306 if (Node.Fields in tryBackTrace() [all...] |
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | ASTOps.h | 44 /// Returns the set of all fields in the type. 47 /// Returns whether `Fields` and `FieldLocs` contain the same fields. 48 bool containsSameFields(const FieldSet &Fields, 53 /// and the fields of the record; this helper class separates these out into two 67 // Fields with their associated initializer expressions. 73 RecordInitListHelper(QualType Ty, std::vector<const FieldDecl *> Fields, 101 // - We don't model fields that are used only in these nested declaration, in TraverseDecl() 102 // so trying to propagate a result object to initializers of such fields in TraverseDecl() 111 // fields that are only used in these. 138 FieldSet Fields; member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | ArchiveYAML.h | 37 Fields["Name"] = {"", 16}; in Child() 38 Fields["LastModified"] = {"0", 12}; in Child() 39 Fields["UID"] = {"0", 6}; in Child() 40 Fields["GID"] = {"0", 6}; in Child() 41 Fields["AccessMode"] = {"0", 8}; in Child() 42 Fields["Size"] = {"0", 10}; in Child() 43 Fields["Terminator"] = {"`\n", 2}; in Child() 46 MapVector<StringRef, Field> Fields; member
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | tar.5 | 148 Early tar implementations varied in how they terminated these fields. 153 the mode, uid, and gid fields must end in a space and a null byte; 154 the size and mtime fields must end in a space; 156 Early implementations filled the numeric fields with leading spaces. 161 fields with leading zeros. 178 The numeric fields are generally filled with leading spaces 195 It extends the historic format with new fields: 264 Full compliance requires the uname and gname fields be properly set. 302 fields must have a trailing 309 fields mus [all...] |
/freebsd/share/man/man4/ |
H A D | dtrace_ip.4 | 66 Its fields are: 76 Its fields are: 91 argument contains IP fields common to both IPv4 and IPv6 packets. 92 Its fields are: 112 Its fields are: 129 argument contains the fields of the IP header for IPv4 packets. 138 Its fields are: 181 argument contains the fields of the IP header for IPv6 packets. 182 Its fields are not set for IPv4 packets; as with the 187 Its fields are:
|