| /third_party/selinux/libselinux/src/ |
| H A D | avc_internal.h | 141 #define avc_cache_stats_incr(field) \ 143 cache_stats.field ++; \ 145 #define avc_cache_stats_add(field, num) \ 147 cache_stats.field += num; \ 152 #define avc_cache_stats_incr(field) do {} while (0) 153 #define avc_cache_stats_add(field, num) do {} while (0)
|
| /third_party/python/Modules/ |
| H A D | _csv.c | 33 long field_limit; /* max parsed field size */ 108 Py_UCS4 delimiter; /* field separator */ 122 PyObject *fields; /* field list for current record */ 124 Py_UCS4 *field; /* temporary buffer */ member 126 Py_ssize_t field_len; /* length of current field */ 127 int numeric_field; /* treat field as numeric */ 614 PyObject *field; in parse_save_field() local 616 field = PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, in parse_save_field() 617 (void *) self->field, self->field_len); in parse_save_field() 618 if (field in parse_save_field() 1180 join_append(WriterObj *self, PyObject *field, int quoted) join_append() argument 1244 PyObject *iter, *field, *line, *result; csv_writerow() local [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | number_modifiers.cpp | 92 bool ConstantAffixModifier::containsField(Field field) const { in containsField() 93 (void)field; in containsField() 116 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() argument 117 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier() 119 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() argument 121 : fCompiledPattern(simpleFormatter.compiledPattern), fField(field), fStrong(strong), in SimpleModifier() 181 bool SimpleModifier::containsField(Field field) const { in containsField() 182 (void)field; in containsField() 232 Field field, UErrorCode& status) { in formatTwoArgPattern() 250 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, statu in formatTwoArgPattern() 230 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument [all...] |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const U_OVERRIDE; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const U_OVERRIDE; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const U_OVERRIDE; 258 bool containsField(Field field) const U_OVERRIDE { 259 (void)field; variable [all...] |
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | number_modifiers.cpp | 101 bool ConstantAffixModifier::containsField(Field field) const { in containsField() 102 (void)field; in containsField() 125 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() argument 126 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier() 128 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() argument 130 : fCompiledPattern(simpleFormatter.compiledPattern), fField(field), fStrong(strong), in SimpleModifier() 190 bool SimpleModifier::containsField(Field field) const { in containsField() 191 (void)field; in containsField() 241 Field field, UErrorCode& status) { in formatTwoArgPattern() 259 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, statu in formatTwoArgPattern() 239 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument [all...] |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const override; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const override; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const override; 258 bool containsField(Field field) const override { 259 (void)field; variable [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| H A D | JsonParser.cs | 190 FieldDescriptor field; in Merge() 191 if (jsonFieldMap.TryGetValue(name, out field)) in Merge() 193 if (field.ContainingOneof != null) in Merge() 199 if (!seenOneofs.Add(field.ContainingOneof)) in Merge() 201 throw new InvalidProtocolBufferException($"Multiple values specified for oneof {field.ContainingOneof.Name}"); in Merge() 204 MergeField(message, field, tokenizer); in Merge() 214 throw new InvalidProtocolBufferException("Unknown field: " + name); in Merge() 220 private void MergeField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) in MergeField() argument 225 // Clear the field if we see a null token, unless it's for a singular field o in MergeField() 253 MergeRepeatedField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) MergeRepeatedField() argument 279 MergeMapField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) MergeMapField() argument 314 IsGoogleProtobufValueField(FieldDescriptor field) IsGoogleProtobufValueField() argument 320 IsGoogleProtobufNullValueField(FieldDescriptor field) IsGoogleProtobufNullValueField() argument 326 ParseSingleValue(FieldDescriptor field, JsonTokenizer tokenizer) ParseSingleValue() argument 583 ParseMapKey(FieldDescriptor field, string keyText) ParseMapKey() argument 618 ParseSingleNumberValue(FieldDescriptor field, JsonToken token) ParseMapKey() argument 693 ParseSingleStringValue(FieldDescriptor field, string text) ParseMapKey() argument 746 NewMessageForField(FieldDescriptor field) ParseMapKey() argument [all...] |
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| H A D | AbstractMessage.java | 68 * A builder becomes dirty whenever a field is modified -- including fields in nested builders 230 * type to represent a bytes field and this method should be able to compare immutable messages, 256 // Compares a singular bytes field. in compareFields() 275 /** Calculates the hash code of a map field. {@code value} must be a list of MapEntry messages. */ 285 FieldDescriptor field = entry.getKey(); in hashFields() 287 hash = (37 * hash) + field.getNumber(); in hashFields() 288 if (field.isMapField()) { in hashFields() 290 } else if (field.getType() != FieldDescriptor.Type.ENUM) { in hashFields() 292 } else if (field.isRepeated()) { in hashFields() 304 * missing field informatio 458 getFieldBuilder(final FieldDescriptor field) getFieldBuilder() argument 464 getRepeatedFieldBuilder(final FieldDescriptor field, int index) getRepeatedFieldBuilder() argument [all...] |
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | number_modifiers.cpp | 92 bool ConstantAffixModifier::containsField(Field field) const { in containsField() 93 (void)field; in containsField() 116 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() argument 117 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier() 119 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() argument 121 : fCompiledPattern(simpleFormatter.compiledPattern), fField(field), fStrong(strong), in SimpleModifier() 181 bool SimpleModifier::containsField(Field field) const { in containsField() 182 (void)field; in containsField() 232 Field field, UErrorCode& status) { in formatTwoArgPattern() 250 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, statu in formatTwoArgPattern() 230 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument [all...] |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const U_OVERRIDE; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const U_OVERRIDE; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const U_OVERRIDE; 258 bool containsField(Field field) const U_OVERRIDE { 259 (void)field; variable [all...] |
| H A D | udatpg.cpp | 148 UDateTimePatternField field, in udatpg_setAppendItemFormat() 151 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString); in udatpg_setAppendItemFormat() 156 UDateTimePatternField field, in udatpg_getAppendItemFormat() 158 const UnicodeString &result=((const DateTimePatternGenerator *)dtpg)->getAppendItemFormat(field); in udatpg_getAppendItemFormat() 167 UDateTimePatternField field, in udatpg_setAppendItemName() 170 ((DateTimePatternGenerator *)dtpg)->setAppendItemName(field, valueString); in udatpg_setAppendItemName() 175 UDateTimePatternField field, in udatpg_getAppendItemName() 177 const UnicodeString &result=((const DateTimePatternGenerator *)dtpg)->getAppendItemName(field); in udatpg_getAppendItemName() 186 UDateTimePatternField field, in udatpg_getFieldDisplayName() 196 UnicodeString result = ((const DateTimePatternGenerator *)dtpg)->getFieldDisplayName(field,widt in udatpg_getFieldDisplayName() 147 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg, UDateTimePatternField field, const UChar *value, int32_t length) udatpg_setAppendItemFormat() argument 155 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, int32_t *pLength) udatpg_getAppendItemFormat() argument 166 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg, UDateTimePatternField field, const UChar *value, int32_t length) udatpg_setAppendItemName() argument 174 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, int32_t *pLength) udatpg_getAppendItemName() argument 185 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, UDateTimePGDisplayWidth width, UChar *fieldName, int32_t capacity, UErrorCode *pErrorCode) udatpg_getFieldDisplayName() argument [all...] |
| /third_party/node/lib/ |
| H A D | _http_outgoing.js | 581 function matchHeader(self, state, field, value) { 582 if (field.length < 4 || field.length > 17) 584 field = StringPrototypeToLowerCase(field); 585 switch (field) { 608 state[field] = true; 690 const field = StringPrototypeToLowerCase(name); 692 if (headers === null || !headers[field]) { 696 // Prepare the field fo [all...] |
| /third_party/astc-encoder/Test/ |
| H A D | astc_test_result_report.py | 140 tag: The field name to include in the tag. 152 def get_abs_delta(self, field): 157 field: The Record attribute name to diff. 166 result.append(getattr(record, field) - getattr(root, field)) 170 def get_rel_delta(self, field): 175 field: The Record attribute name to diff. 184 result.append(getattr(record, field) / getattr(root, field)) 188 def get_irel_delta(self, field) [all...] |
| /third_party/mesa3d/src/compiler/glsl/ |
| H A D | gl_nir_lower_xfb_varying.c | 99 char *field = get_field_name(name + 1); in get_deref() local 101 assert(*type != NULL && glsl_type_is_struct(*type) && field != NULL); in get_deref() 103 int idx = glsl_get_field_index(*type, field); in get_deref() 106 name += 1 + strlen(field); in get_deref() 107 free(field); in get_deref() 111 char *field = get_field_name(name); in get_deref() local 112 name += strlen(field); in get_deref() 113 free(field); in get_deref()
|
| /third_party/protobuf/benchmarks/util/ |
| H A D | schema_proto2_to_proto3_util.h | 35 auto field = old_file->extension(i); in StripFile() local 36 if (field->type() == FieldDescriptor::TYPE_GROUP || in StripFile() 37 IsMessageSet(field->message_type()) || in StripFile() 38 IsMessageSet(field->containing_type())) { in StripFile() 56 if (old_message->field(i)->type() == FieldDescriptor::TYPE_GROUP || in StripMessage() 57 IsMessageSet(old_message->field(i)->message_type())) { in StripMessage() 166 static bool ShouldClearLabel(const FieldDescriptorProto *field) { in ShouldClearLabel() argument 167 return field->label() == FieldDescriptorProto::LABEL_REQUIRED; in ShouldClearLabel()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
| H A D | SymbolEnv.h | 33 VarField(const TField &field) : mField(&field) {} in VarField() argument 37 ANGLE_INLINE const TField *field() const { return mField; } in field() function in sh::VarField 64 const sh::TField *field = x.field(); in operator ()() local 65 return std::hash<const sh::TField *>()(field); in operator ()() 156 // not have a sampler, yet the A' struct field still contains the sampler field. 188 void markAsPacked(const TField &field); 189 bool isPacked(const TField &field) cons [all...] |
| /third_party/toybox/toys/pending/ |
| H A D | mdev.c | 28 field is a regular expression matching one or more device names, 30 matching devices. Fourth field is optional. It could be used to change 98 int field; in make_device() local 107 for (field = 4; field; field--) { in make_device() 113 switch(field) { in make_device() 179 // Try to look for name or path (optional field) in make_device() 212 // Note: Last field is optional. in make_device() 213 if ((field> in make_device() [all...] |
| /third_party/protobuf/objectivec/ |
| H A D | GPBDescriptor_PackagePrivate.h | 38 // Describes attributes of the field. 48 // Indicate that the field should "clear" when set to zero value. This is the in NS_OPTIONS() 52 // Indicates the field needs custom handling for the TextFormat name, if not in NS_OPTIONS() 55 // Indicates the field has an enum descriptor. in NS_OPTIONS() 61 // These bits are used to mark the field as a map and what the key in NS_OPTIONS() 80 // field/extension. 82 // Describes a single field in a protobuf as it is represented as an ivar. 97 // The field number for the ivar. 102 // < 0: in a oneOf, use a full int32 to record the field active. 113 // value. This struct provides the default along with the field inf 311 GPBFieldIsMapOrArray(GPBFieldDescriptor *field) GPBFieldIsMapOrArray() argument 316 GPBGetFieldDataType(GPBFieldDescriptor *field) GPBGetFieldDataType() argument 320 GPBFieldHasIndex(GPBFieldDescriptor *field) GPBFieldHasIndex() argument 324 GPBFieldNumber(GPBFieldDescriptor *field) GPBFieldNumber() argument [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | reflection.h | 56 const Message& message, const FieldDescriptor* field) const { in GetRepeatedFieldRef() 57 return RepeatedFieldRef<T>(message, field); in GetRepeatedFieldRef() 62 Message* message, const FieldDescriptor* field) const { in GetMutableRepeatedFieldRef() 63 return MutableRepeatedFieldRef<T>(message, field); in GetMutableRepeatedFieldRef() 91 RepeatedFieldRef(const Message& message, const FieldDescriptor* field) { in RepeatedFieldRef() argument 93 data_ = reflection->RepeatedFieldData(const_cast<Message*>(&message), field, in RepeatedFieldRef() 96 accessor_ = reflection->RepeatedFieldAccessor(field); in RepeatedFieldRef() 143 MutableRepeatedFieldRef(Message* message, const FieldDescriptor* field) { in MutableRepeatedFieldRef() argument 146 message, field, internal::RefTypeTraits<T>::cpp_type, NULL); in MutableRepeatedFieldRef() 147 accessor_ = reflection->RepeatedFieldAccessor(field); in MutableRepeatedFieldRef() 198 RepeatedFieldRef(const Message& message, const FieldDescriptor* field) RepeatedFieldRef() argument 260 MutableRepeatedFieldRef(Message* message, const FieldDescriptor* field) MutableRepeatedFieldRef() argument [all...] |
| /third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
| H A D | mod.rs | 358 .field("uptime", &self.uptime) in fmt() 359 .field("loads", &self.loads) in fmt() 360 .field("totalram", &self.totalram) in fmt() 361 .field("freeram", &self.freeram) in fmt() 362 .field("sharedram", &self.sharedram) in fmt() 363 .field("bufferram", &self.bufferram) in fmt() 364 .field("totalswap", &self.totalswap) in fmt() 365 .field("freeswap", &self.freeswap) in fmt() 366 .field("procs", &self.procs) in fmt() 367 .field("pa in fmt() [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | asrc_sine.c | 54 #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ 55 { name, descr, offsetof(CONTEXT, field), AV_OPT_TYPE_ ## type, \ 58 #define OPT_INT(name, field, def, min, max, descr, ...) \ 59 OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) 61 #define OPT_DBL(name, field, def, min, max, descr, ...) \ 62 OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__) 64 #define OPT_DUR(name, field, def, min, max, descr, ...) \ 65 OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__) 67 #define OPT_STR(name, field, def, min, max, descr, ...) \ 68 OPT_GENERIC(name, field, de [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
| H A D | GregorianCalendar.java | 52 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 70 * <p>Values calculated for the <code>WEEK_OF_MONTH</code> field range from 0 or 213 * Value of the <code>ERA</code> field indicating 223 * Value of the <code>ERA</code> field indicating 288 protected int handleGetLimit(int field, int limitType) { in handleGetLimit() argument 289 return LIMITS[field][limitType]; in handleGetLimit() 401 * @param year the value used to set the YEAR time field in the calendar. 402 * @param month the value used to set the MONTH time field in the calendar. 404 * @param date the value used to set the DATE time field in the calendar. 419 * @param year the value used to set the YEAR time field i 558 roll(int field, int amount) roll() argument 617 getActualMinimum(int field) getActualMinimum() argument 628 getActualMaximum(int field) getActualMaximum() argument [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
| H A D | GregorianCalendar.java | 53 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 71 * <p>Values calculated for the <code>WEEK_OF_MONTH</code> field range from 0 or 213 * Value of the <code>ERA</code> field indicating 222 * Value of the <code>ERA</code> field indicating 285 protected int handleGetLimit(int field, int limitType) { in handleGetLimit() argument 286 return LIMITS[field][limitType]; in handleGetLimit() 390 * @param year the value used to set the YEAR time field in the calendar. 391 * @param month the value used to set the MONTH time field in the calendar. 393 * @param date the value used to set the DATE time field in the calendar. 407 * @param year the value used to set the YEAR time field i 538 roll(int field, int amount) roll() argument 596 getActualMinimum(int field) getActualMinimum() argument 606 getActualMaximum(int field) getActualMaximum() argument [all...] |
| /third_party/protobuf/src/google/protobuf/compiler/js/ |
| H A D | js_generator.h | 216 const FieldDescriptor* field, 220 const FieldDescriptor* field, 249 const FieldDescriptor* field, 277 const FieldDescriptor* field) const; 283 const FieldDescriptor* field) const; 302 const FieldDescriptor* field) const; 308 const FieldDescriptor* field) const; 316 const FieldDescriptor* field) const; 321 const FieldDescriptor* field, 327 const FieldDescriptor* field) cons [all...] |
| /foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
| H A D | values_buckets.cpp | 39 for (const auto &[field, value] : bucket.values_) { in Put() 40 auto fieldResult = fields_->insert(field); in Put() 48 std::pair<int, ValuesBuckets::ValueType> ValuesBuckets::Get(size_t row, const FieldType &field) const in Get() 57 auto it = bucket.find(field); in Get()
|