Home
last modified time | relevance | path

Searched refs:field (Results 351 - 375 of 1918) sorted by relevance

1...<<11121314151617181920>>...77

/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dcase.rs1 //! Code to convert the Rust-styled field/variant (e.g. `my_field`, `MyType`) to the
2 //! case of the source (e.g. `my-field`, `MY_FIELD`).
81 /// Apply a renaming rule to a struct field, returning the version expected in the source.
82 pub fn apply_to_field(self, field: &str) -> String { in apply_to_field()
84 None | LowerCase | SnakeCase => field.to_owned(), in apply_to_field()
85 UpperCase => field.to_ascii_uppercase(), in apply_to_field()
89 for ch in field.chars() { in apply_to_field()
102 let pascal = PascalCase.apply_to_field(field); in apply_to_field()
105 ScreamingSnakeCase => field.to_ascii_uppercase(), in apply_to_field()
106 KebabCase => field in apply_to_field()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dfrwu.c49 int field, ret; in decode_frame() local
68 for (field = 0; field < 2; field++) { in decode_frame()
70 int field_h = (avctx->height + !field) >> 1; in decode_frame()
75 buf += 4; // flags? 0x80 == bottom field maybe? in decode_frame()
85 if (field ^ s->change_field_order) { in decode_frame()
91 if (s->change_field_order && field && i == field_h - 1) in decode_frame()
106 {"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), AV_OPT_TYPE_BOOL,
/third_party/ffmpeg/libavfilter/
H A Dframesync.h311 #define FRAMESYNC_AUXILIARY_FUNCS(func_prefix, context, field) \
315 ff_framesync_preinit(&s->field); \
321 return prev ? NULL : &s->field; \
324 #define FRAMESYNC_DEFINE_CLASS_EXT(name, context, field, options) \
325 FRAMESYNC_AUXILIARY_FUNCS(name, context, field) \
328 #define FRAMESYNC_DEFINE_CLASS(name, context, field) \
329 FRAMESYNC_DEFINE_CLASS_EXT(name, context, field, name##_options)
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessage.java46 * and accessing the field values dynamically.
74 * message's type (object identity of the descriptor) with its contents (known and unknown field
114 * <p>Merging occurs as follows. For each field:<br>
115 * * For singular primitive fields, if the field is set in {@code other}, then {@code other}'s
117 * * For singular message fields, if the field is set in {@code other}, it is merged into the
122 * is cleared and replaced by the field of the other message, so that the oneof constraint is
152 * Create a builder for messages of the appropriate type for the given field. The
162 Builder newBuilderForField(Descriptors.FieldDescriptor field); in newBuilderForField() argument
165 * Get a nested builder instance for the given field.
167 * <p>Normally, we hold a reference to the immutable message object for the message type field
179 getFieldBuilder(Descriptors.FieldDescriptor field) getFieldBuilder() argument
196 getRepeatedFieldBuilder(Descriptors.FieldDescriptor field, int index) getRepeatedFieldBuilder() argument
202 setField(Descriptors.FieldDescriptor field, Object value) setField() argument
208 clearField(Descriptors.FieldDescriptor field) clearField() argument
224 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setRepeatedField() argument
232 addRepeatedField(Descriptors.FieldDescriptor field, Object value) addRepeatedField() argument
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DDescriptorPool.php44 // Map from message names to sub-maps, which are maps from field numbers to
45 // field descriptors.
151 foreach ($desc->getField() as $field) {
152 switch ($field->getType()) {
154 $proto = $field->getMessageType();
164 $field->setMessageType($subdesc);
167 $proto = $field->getEnumType();
171 $field->setEnumType(
178 unset($field);
/third_party/protobuf/src/google/protobuf/util/
H A Dfield_comparator.h31 // Defines classes for field comparison.
77 // Compares the values of a field in two protocol buffer messages.
81 // In case the given FieldDescriptor points to a repeated field, the indices
89 const FieldDescriptor* field, int index_1,
117 const FieldDescriptor* field, int index_1,
136 // Sets the fraction and margin for the float comparison of a given field.
139 // REQUIRES: field->cpp_type == FieldDescriptor::CPPTYPE_DOUBLE or
140 // field->cpp_type == FieldDescriptor::CPPTYPE_FLOAT
142 void SetFractionAndMargin(const FieldDescriptor* field, double fraction,
146 // double fields, unless a field ha
[all...]
/third_party/jerryscript/tests/jerry-test-suite/11/11.02/11.02.03/
H A D11.02.03-017.js16 field: Number,
18 this.field++;
22 obj.field = 3;
25 assert(obj.field === 4);
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dreserve_string_builder_buffer.cpp128 auto field = storeObject->GetObjField(); in IsFieldStringBuilderBuffer() local
131 return runtime->IsFieldStringBuilderBuffer(field); in IsFieldStringBuilderBuffer()
136 auto field = storeObject->GetObjField(); in IsFieldStringBuilderIndex() local
139 return runtime->IsFieldStringBuilderIndex(field); in IsFieldStringBuilderIndex()
280 auto field = runtime->GetFieldStringBuilderBuffer(klass); in StoreStringBuilderBufferField() local
282 TypeIdMixin {runtime->GetFieldId(field), graph->GetMethod()}, field, in StoreStringBuilderBufferField()
283 runtime->IsFieldVolatile(field), true); in StoreStringBuilderBufferField()
293 auto field = runtime->GetFieldStringBuilderIndex(klass); in StoreStringBuilderIndexField() local
295 TypeIdMixin {runtime->GetFieldId(field), grap in StoreStringBuilderIndexField()
304 auto field = runtime->GetFieldStringBuilderLength(klass); StoreStringBuilderLengthField() local
315 auto field = runtime->GetFieldStringBuilderCompress(klass); StoreStringBuilderIsCompressedField() local
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dudbgutil.cpp38 7. Define the field names, in order.
53 10. Find the function _udbg_enumFields and add the field macro:
68 * Define another field name. Used in an array of Field s
298 const char * udbg_enumName(UDebugEnumType type, int32_t field) { in udbg_enumName() argument
299 if(field<0 || in udbg_enumName()
300 field>=_udbg_enumCount(type,false)) { // also will catch unsupported items in udbg_enumName()
307 return fields[field].str + fields[field].prefix; in udbg_enumName()
312 int32_t udbg_enumArrayValue(UDebugEnumType type, int32_t field) { in udbg_enumArrayValue() argument
313 if(field< in udbg_enumArrayValue()
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dudbgutil.cpp38 7. Define the field names, in order.
53 10. Find the function _udbg_enumFields and add the field macro:
68 * Define another field name. Used in an array of Field s
301 const char * udbg_enumName(UDebugEnumType type, int32_t field) { in udbg_enumName() argument
302 if(field<0 || in udbg_enumName()
303 field>=_udbg_enumCount(type,false)) { // also will catch unsupported items in udbg_enumName()
310 return fields[field].str + fields[field].prefix; in udbg_enumName()
315 int32_t udbg_enumArrayValue(UDebugEnumType type, int32_t field) { in udbg_enumArrayValue() argument
316 if(field< in udbg_enumArrayValue()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dudbgutil.cpp38 7. Define the field names, in order.
53 10. Find the function _udbg_enumFields and add the field macro:
68 * Define another field name. Used in an array of Field s
298 const char * udbg_enumName(UDebugEnumType type, int32_t field) { in udbg_enumName() argument
299 if(field<0 || in udbg_enumName()
300 field>=_udbg_enumCount(type,FALSE)) { // also will catch unsupported items in udbg_enumName()
307 return fields[field].str + fields[field].prefix; in udbg_enumName()
312 int32_t udbg_enumArrayValue(UDebugEnumType type, int32_t field) { in udbg_enumArrayValue() argument
313 if(field< in udbg_enumArrayValue()
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/
H A Dlunr.js24 * this.field('title')
25 * this.field('body')
162 throw "malformed field ref string"
323 if (fieldName == '_index') continue // Ignore the term index, its not a field
522 * @param {number} i - The index of this token in the complete list of tokens for this document/field.
523 * @param {lunr.Token[]} tokens - All tokens for this document/field.
1843 * @param {Object} attrs.invertedIndex - An index of term/field to document reference.
1882 * hello in the title field will match this query. Using a field not present in the index will lead
1905 * @example <caption>term scoped to a field</captio
[all...]
/third_party/elfio/tests/
H A DELFIOTest2.cpp47 std::string field; in TEST() member
61 std::string field; in TEST() local
63 modinfo.get_attribute( i, field, value ); in TEST()
65 EXPECT_EQ( field, attributes[i].field ); in TEST()
71 std::string field = attributes[i].field; in TEST() local
73 modinfo.get_attribute( field, value ); in TEST()
109 std::string field; in TEST() member
125 std::string field; in TEST() local
135 std::string field = attributes[i].field; TEST() local
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dhebrwcal.cpp190 * Add a signed amount to a specified field, using this calendar's rules.
195 * need to be changed. For example, when adding one to the {@link #MONTH MONTH} field
196 * for the date "30 Av 5758", the {@link #DAY_OF_MONTH DAY_OF_MONTH} field
206 * of a <tt>HebrewCalendar</tt>. Since the {@link #MONTH MONTH} field behaves
209 * @param field the time field.
210 * @param amount the amount to add to the field.
212 * @exception IllegalArgumentException if the field is invalid or refers
213 * to a field that cannot be handled by this method.
216 void HebrewCalendar::add(UCalendarDateFields field, int32_ argument
277 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument
314 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) roll() argument
349 roll(EDateFields field, int32_t amount, UErrorCode& status) roll() argument
496 handleGetLimit(UCalendarDateFields field, ELimitType limitType) const handleGetLimit() argument
540 validateField(UCalendarDateFields field, UErrorCode &status) validateField() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DlibReferenceNoLib.js18 export declare interface HTMLElement { field: string; }
19 export const elem: HTMLElement = { field: 'a' };
28 exports.elem = { field: 'a' };
50 field: string;
/third_party/mesa3d/src/amd/common/
H A Dac_drm_fourcc.h76 #define AMD_FMT_MOD_SET(field, value) \
77 ((uint64_t)(value) << AMD_FMT_MOD_##field##_SHIFT)
78 #define AMD_FMT_MOD_GET(field, value) \
79 (((value) >> AMD_FMT_MOD_##field##_SHIFT) & AMD_FMT_MOD_##field##_MASK)
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/arm/
H A Dalign.rs35 .field("uc_flags", &self.uc_link) in fmt()
36 .field("uc_link", &self.uc_link) in fmt()
37 .field("uc_stack", &self.uc_stack) in fmt()
38 .field("uc_mcontext", &self.uc_mcontext) in fmt()
39 .field("uc_sigmask", &self.uc_sigmask) in fmt()
/third_party/skia/experimental/tskit/go/gen_types/
H A Dgen_types_test.go30 .field("columns", &SomeValueObject::columns)
34 .field("misbehaving_field", &SomeValueObject::object)
36 .field("name", &SomeValueObject::slot)
40 .field("isInteger", &SomeValueObject::isInteger);
43 assert.Contains(t, err.Error(), `Line 11: field "misbehaving_field" must be preceded by a @type annotation.`)
/third_party/icu/icu4c/source/i18n/unicode/
H A Ddtptngen.h55 * That would be useful for getting the UI order of field elements.</i>
202 * Note that single-field patterns (like "MMM") are automatically added, and
226 * An AppendItem format is a pattern used to append a field if there is no
239 * @param field such as UDATPG_ERA_FIELD.
243 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
249 * @param field such as UDATPG_ERA_FIELD.
250 * @return append pattern for field
253 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
256 * Sets the names of field, eg "era" in English for ERA. These are only
262 * @param field suc
[all...]
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Ddtptngen.h55 * That would be useful for getting the UI order of field elements.</i>
202 * Note that single-field patterns (like "MMM") are automatically added, and
226 * An AppendItem format is a pattern used to append a field if there is no
239 * @param field such as UDATPG_ERA_FIELD.
243 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
249 * @param field such as UDATPG_ERA_FIELD.
250 * @return append pattern for field
253 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
256 * Sets the names of field, eg "era" in English for ERA. These are only
262 * @param field suc
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DDescriptorPool.cs206 /// Returns the field with the given number in the given descriptor,
224 /// Adds a field to the fieldsByNumber table.
226 /// <exception cref="DescriptorValidationException">A field with the same
228 internal void AddFieldByNumber(FieldDescriptor field) in AddFieldByNumber() argument
231 ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(field.Proto.HasExtendee ? field.ExtendeeType : field.ContainingType, field.FieldNumber); in AddFieldByNumber()
235 throw new DescriptorValidationException(field, "Field number " + field in AddFieldByNumber()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Ddtptngen.h55 * That would be useful for getting the UI order of field elements.</i>
209 * Note that single-field patterns (like "MMM") are automatically added, and
233 * An AppendItem format is a pattern used to append a field if there is no
246 * @param field such as UDATPG_ERA_FIELD.
250 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
256 * @param field such as UDATPG_ERA_FIELD.
257 * @return append pattern for field
260 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
263 * Sets the names of field, eg "era" in English for ERA. These are only
269 * @param field suc
[all...]
/third_party/rust/crates/nix/src/
H A Dsched.rs189 /// `field` is the CPU id to test
190 pub fn is_set(&self, field: usize) -> Result<bool> { in is_set()
191 if field >= CpuSet::count() { in is_set()
194 Ok(unsafe { libc::CPU_ISSET(field, &self.cpu_set) }) in is_set()
199 /// `field` is the CPU id to add
200 pub fn set(&mut self, field: usize) -> Result<()> { in set()
201 if field >= CpuSet::count() { in set()
205 libc::CPU_SET(field, &mut self.cpu_set); in set()
212 /// `field` is the CPU id to remove
213 pub fn unset(&mut self, field
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
H A DRepeatedFieldTest.cs326 var field = new RepeatedField<int>(); in AddEntriesFrom_PackedInt32()
329 field.AddEntriesFrom(input, FieldCodec.ForInt32(nonPackedTag)); in AddEntriesFrom_PackedInt32()
330 CollectionAssert.AreEqual(new[] { 10, 999, -1000 }, field); in AddEntriesFrom_PackedInt32()
352 var field = new RepeatedField<int>(); in AddEntriesFrom_NonPackedInt32()
355 field.AddEntriesFrom(input, FieldCodec.ForInt32(packedTag)); in AddEntriesFrom_NonPackedInt32()
356 CollectionAssert.AreEqual(new[] { 10, 999, -1000 }, field); in AddEntriesFrom_NonPackedInt32()
375 var field = new RepeatedField<string>(); in AddEntriesFrom_String()
378 field.AddEntriesFrom(input, FieldCodec.ForString(tag)); in AddEntriesFrom_String()
379 CollectionAssert.AreEqual(new[] { "Foo", "", "Bar" }, field); in AddEntriesFrom_String()
399 var field in AddEntriesFrom_Message()
[all...]
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
H A Dhello_world_test.cpp228 * @tc.desc: get program field metadata.
238 const pandasm::Field &field = field_list[0]; in HWTEST_F() local
239 EXPECT_TRUE(field.type.GetPandasmName() == "u32"); in HWTEST_F()
240 EXPECT_TRUE(field.name.find("HelloWorld.ts") != std::string::npos); in HWTEST_F()
348 const pandasm::Field &field = field_list[0]; in HWTEST_F() local
349 EXPECT_EQ(field.type.GetPandasmName(), "u32"); in HWTEST_F()
350 EXPECT_NE(field.name.find("HelloWorld.ts"), std::string::npos); in HWTEST_F()
847 * @tc.desc: get json field metadata
858 const pandasm::Field &field = field_list[0]; in HWTEST_F() local
859 EXPECT_EQ(field in HWTEST_F()
[all...]

Completed in 15 milliseconds

1...<<11121314151617181920>>...77