Searched defs:field (Results 276 - 300 of 695) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dfldset.cpp23 FieldsSet::FieldsSet(UDebugEnumType field) { argument
24 construct(field, udbg_enumCount(field));
35 void FieldsSet::construct(UDebugEnumType field, int32_t fieldCount) { argument
36 fEnum = field;
61 str = str + UnicodeString("some field") + "=" + myVal+" not " + theirVal+", ";
113 int32_t field = handleParseName(inheritFrom, kv[0], kv[1], status); local
127 if(field != -1) {
128 handleParseValue(inheritFrom, field, kv[1], status);
165 void FieldsSet::clear(int32_t field) { argument
172 set(int32_t field, int32_t amount) argument
207 parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
224 parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
234 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
249 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
332 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
[all...]
H A Dnormconf.cpp285 * there are five columns, corresponding to field[0]..field[4].
293 * @param field the 5 columns
297 UBool NormalizerConformanceTest::checkConformance(const UnicodeString* field, argument
309 Normalizer::normalize(field[i], UNORM_NFC, options, out, status);
313 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c", fieldNum);
314 iterativeNorm(field[i], UNORM_NFC, options, out, +1);
315 pass &= assertEqual("C(+1)", field[i], out, field[
485 assertEqual(const char *op, const UnicodeString& s, const UnicodeString& got, const UnicodeString& exp, const char *msg, int32_t field) argument
[all...]
H A Dtufmtts.cpp118 TimeUnit::UTimeUnitFields field = tmunit_m->getTimeUnitField(); local
119 assertTrue("field of month time unit is month", (field == TimeUnit::UTIMEUNIT_MONTH));
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dppucd.cpp153 "error in preparsed UCD: unknown line type (first field) '%s' on line %ld\n",
171 char *field=lines[lineIndex]; local
172 fieldLimit=strchr(field, 0);
173 return field;
179 char *field=fieldLimit+1; local
180 fieldLimit=strchr(field, 0);
181 return field;
193 const char *field=nextField(); local
194 if(field==NULL) {
195 // No range field afte
272 parseProperty(UniProps &props, const char *field, UnicodeSet &newValues, UErrorCode &errorCode) argument
474 const char *field=nextField(); local
[all...]
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DAddressData.java53 * All values stored in this class are trimmed. Also, if you try to set a field with an empty string
83 // double-dependent locality and the dependent locality in this field,
155 * Returns the locality. The usage of this field varies by region, but it generally refers to
156 * the "city" or "town" of the address. Some regions do not use this field; their address lines
170 * <p>In cases such as Great Britain, this field may contain a double-dependent locality, such
207 public String getFieldValue(AddressField field) { argument
208 switch (field) {
230 throw new IllegalArgumentException("unrecognized key: " + field);
258 * A constructor that sets address field with input data. Street fields will be normalized
352 * Sets an address field wit
356 set(AddressField field, String value) argument
[all...]
H A DLookupKey.java117 * Gets lookup key for the input address field. This method does not allow key with key type of
120 * @param field a field in the address hierarchy.
121 * @return key of the specified address field. If address field is not in the hierarchy, or is
126 LookupKey getKeyForUpperLevelField(AddressField field) { argument
141 if (hierarchyField == field) {
161 * Returns the string value of a field in a key for a particular
163 * field AddressField.COUNTRY, "US" would be returned. Returns an empty
164 * string if the key does not have this field i
166 getValueForUpperLevelField(AddressField field) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_rgb9e5.h56 } field; member in union:__anon13774
73 } field; member in union:__anon13776
98 return (f.field.biasedexponent - 127);
141 retval.field.r = rm;
142 retval.field.g = gm;
143 retval.field.b = bm;
144 retval.field.biasedexponent = exp_shared;
156 exponent = v.field.biasedexponent - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS;
159 retval[0] = v.field.r * scale;
160 retval[1] = v.field
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_mc.c164 struct ureg_dst ref, field; local
180 field = calc_line(shader);
183 * ref = field.z ? tc[1] : tc[0]
185 * // Adjust tc acording to top/bottom field selection
195 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)),
198 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)),
218 ureg_release_temporary(shader, field);
330 * if (field == tc.w)
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlink_uniforms.cpp79 /* Records need to have each field processed individually.
82 * individually, then each field of the resulting array elements processed
87 const char *field = t->fields.structure[i].name; local
90 /* Append '.field' to the current uniform name. */
91 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field);
H A Dlower_ubo_reference.cpp144 deref_record->field) == 0)
213 const struct glsl_struct_field *field = local
217 field->name);
221 field->type->std140_base_alignment(ubo_var->RowMajor));
225 field_offset += field->type->std140_size(ubo_var->RowMajor);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Di915_debug.c382 union { GLuint val; short field[2]; } BR22, BR23; member in union:__anon14326
396 assert(BR22.field[0] < BR23.field[0]);
397 assert(BR22.field[1] < BR23.field[1]);
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc169 string FieldName(const FieldDescriptor* field) { argument
170 string result = field->name();
178 string FieldConstantName(const FieldDescriptor *field) { argument
179 string field_name = UnderscoresToCamelCase(field->name(), true);
182 if (!field->is_extension() &&
183 field->containing_type()->FindFieldByCamelcaseName(
184 field->camelcase_name()) != field) {
185 // This field's camelcase name is not unique. As a hack, add the field
194 FieldMessageTypeName(const FieldDescriptor* field) argument
259 DefaultValue(const FieldDescriptor* field) argument
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc57 const string& FieldName(const FieldDescriptor* field) { argument
58 // Groups are hacky: The name of the field is just the lower-cased name
61 if (GetType(field) == FieldDescriptor::TYPE_GROUP) {
62 return field->message_type()->name();
64 return field->name();
101 string UnderscoresToCamelCase(const FieldDescriptor* field) { argument
102 return UnderscoresToCamelCaseImpl(FieldName(field), false);
105 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) { argument
106 return UnderscoresToCamelCaseImpl(FieldName(field), true);
199 string FieldConstantName(const FieldDescriptor *field) { argument
205 GetType(const FieldDescriptor* field) argument
209 GetJavaType(const FieldDescriptor* field) argument
284 DefaultValue(const FieldDescriptor* field) argument
361 IsDefaultValueJavaDefault(const FieldDescriptor* field) argument
[all...]
H A Djava_message.cc63 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { argument
64 // Print the field's proto-syntax definition as a comment. We don't want to
66 string def = field->DebugString();
91 fields[i] = descriptor->field(i);
132 const FieldDescriptor* field = type->field(i); local
133 if (field->is_required()) {
136 if (GetJavaType(field) == JAVATYPE_MESSAGE) {
137 if (HasRequiredFields(field->message_type(), already_seen)) {
240 UnderscoresToCapitalizedCamelCase(descriptor_->field(
667 GenerateSerializeOneField( io::Printer* printer, const FieldDescriptor* field) argument
911 const FieldGenerator& field = field_generators_.get(descriptor_->field(i)); local
1052 const FieldDescriptor* field = descriptor_->field(i); local
1067 const FieldDescriptor* field = descriptor_->field(i); local
1151 const FieldDescriptor* field = descriptor_->field(i); local
1200 const FieldDescriptor* field = descriptor_->field(i); local
1263 const FieldGenerator& field = field_generators_.get(descriptor_->field(i)); local
1307 const FieldDescriptor* field = sorted_fields[i]; local
1360 const FieldDescriptor* field = sorted_fields[i]; local
[all...]
H A Djava_primitive_field.cc96 const char* GetCapitalizedType(const FieldDescriptor* field) { argument
97 switch (GetType(field)) {
542 // One field is the list and the bit field keeps track of whether the
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddynamic_message.cc93 // Compute the byte size of the in-memory representation of the field.
94 int FieldSpaceUsed(const FieldDescriptor* field) { argument
96 if (field->label() == FD::LABEL_REPEATED) {
97 switch (field->cpp_type()) {
109 switch (field->options().ctype()) {
117 switch (field->cpp_type()) {
131 switch (field->options().ctype()) {
185 // looking back at this field. This would assume details about the
255 const FieldDescriptor* field = descriptor->field( local
335 const FieldDescriptor* field = descriptor->field(i); local
403 const FieldDescriptor* field = descriptor->field(i); local
[all...]
H A Drepeated_field_unittest.cc60 RepeatedField<int> field; local
62 EXPECT_EQ(field.size(), 0);
64 field.Add(5);
66 EXPECT_EQ(field.size(), 1);
67 EXPECT_EQ(field.Get(0), 5);
69 field.Add(42);
71 EXPECT_EQ(field.size(), 2);
72 EXPECT_EQ(field.Get(0), 5);
73 EXPECT_EQ(field.Get(1), 42);
75 field
97 RepeatedField<int> field; local
175 ReservedSpace(RepeatedField<int>* field) argument
187 RepeatedField<int> field; local
196 RepeatedField<int> field; local
206 RepeatedField<int> field; local
306 RepeatedField<int> field; local
316 RepeatedField<int> field; local
346 RepeatedField<int32> field; local
380 RepeatedPtrField<string> field; local
413 RepeatedPtrField<string> field; local
491 ReservedSpace(RepeatedPtrField<string>* field) argument
501 RepeatedPtrField<string> field; local
508 RepeatedPtrField<string> field; local
516 RepeatedPtrField<string> field; local
529 RepeatedPtrField<string> field; local
540 RepeatedPtrField<string> field; local
580 RepeatedPtrField<string> field; local
734 RepeatedPtrField<string> field; local
754 RepeatedPtrField<string> field; local
[all...]
H A Dtext_format.h79 // Outputs a textual representation of the value of the field supplied on
82 // field if it is not set.
84 const FieldDescriptor* field,
107 const FieldDescriptor* field,
150 // Print a single field.
153 const FieldDescriptor* field,
156 // Print a repeated primitive field in short form.
159 const FieldDescriptor* field,
162 // Print the name of a field -- i.e. everything that comes before the
166 const FieldDescriptor* field,
355 RecordLocation(ParseInfoTree* info_tree, const FieldDescriptor* field, ParseLocation location) argument
361 CreateNested( ParseInfoTree* info_tree, const FieldDescriptor* field) argument
[all...]
H A Dunknown_field_set.cc89 AddField(other.field(i));
98 const UnknownField& field = (*fields_)[i]; local
99 switch (field.type()) {
101 total_size += sizeof(*field.length_delimited_.string_value_) +
103 *field.length_delimited_.string_value_);
106 total_size += field.group_->SpaceUsed();
121 UnknownField field; local
122 field.number_ = number;
123 field.type_ = UnknownField::TYPE_VARINT;
124 field
130 UnknownField field; local
139 UnknownField field; local
148 UnknownField field; local
159 UnknownField field; local
167 AddField(const UnknownField& field) argument
193 UnknownField* field = &(*fields_)[i]; local
[all...]
H A Dunknown_field_set.h68 // to be updated every time a new field is added to the message definition.
105 // Get a field in the set, where 0 <= index < field_count(). The fields
107 inline const UnknownField& field(int index) const;
108 // Get a mutable pointer to a field in the set, where
122 // Adds an unknown field from another set.
123 void AddField(const UnknownField& field);
129 // Delete all fields with a specific field number. The order of left fields
131 // Caution: implementation moves all fields after the first deleted field.
154 // Represents one field in an UnknownFieldSet.
165 // The field'
239 inline const UnknownField& UnknownFieldSet::field(int index) const { function in class:google::protobuf::UnknownFieldSet
[all...]
H A Dunknown_field_set_unittest.cc67 const FieldDescriptor* field = descriptor_->FindFieldByName(name); local
68 if (field == NULL) return NULL;
70 if (unknown_fields_->field(i).number() == field->number()) {
71 return &unknown_fields_->field(i);
78 // numbers as all_fields_data_ except that each field is some other wire
85 const UnknownField& unknown_field = unknown_fields_->field(i);
112 // that's the order we parsed them in). Fields that are not valid field
118 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); local
119 if (field !
133 const UnknownField* field = GetField("optional_int32"); local
141 const UnknownField* field = GetField("optional_fixed32"); local
149 const UnknownField* field = GetField("optional_fixed64"); local
157 const UnknownField* field = GetField("optional_string"); local
165 const UnknownField* field = GetField("optionalgroup"); local
[all...]
H A Dwire_format.cc83 const FieldDescriptor* field = NULL; local
87 field = descriptor->FindFieldByNumber(field_number);
89 // If that failed, check if the field is an extension.
90 if (field == NULL && descriptor->IsExtensionNumber(field_number)) {
92 field = message_reflection->FindKnownExtensionByNumber(field_number);
94 field = input->GetExtensionPool()
101 if (field == NULL &&
111 if (!ParseAndMergeField(tag, field, message, input)) {
119 const FieldDescriptor* field, // May be NULL for unknown
126 if (field
117 ParseAndMergeField( uint32 tag, const FieldDescriptor* field, Message* message, io::CodedInputStream* input) argument
339 const FieldDescriptor* field = NULL; local
434 SerializeFieldWithCachedSizes( const FieldDescriptor* field, const Message& message, io::CodedOutputStream* output) argument
552 SerializeMessageSetItemWithCachedSizes( const FieldDescriptor* field, const Message& message, io::CodedOutputStream* output) argument
601 FieldByteSize( const FieldDescriptor* field, const Message& message) argument
636 FieldDataOnlyByteSize( const FieldDescriptor* field, const Message& message) argument
722 MessageSetItemByteSize( const FieldDescriptor* field, const Message& message) argument
[all...]
H A Dwire_format_lite.cc213 const UnknownField& field = unknown_fields.field(i); local
214 switch (field.type()) {
216 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
218 output->WriteVarint64(field.varint());
221 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
223 output->WriteLittleEndian32(field.fixed32());
226 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
228 output->WriteLittleEndian64(field.fixed64());
231 output->WriteVarint32(WireFormatLite::MakeTag(field
251 const UnknownField& field = unknown_fields.field(i); local
286 const UnknownField& field = unknown_fields.field(i); local
314 const UnknownField& field = unknown_fields.field(i); local
350 const UnknownField& field = unknown_fields.field(i); local
398 const UnknownField& field = unknown_fields.field(i); local
[all...]
H A Dwire_format_unittest.cc73 // Make sure the max field number constant is accurate.
472 message_set.unknown_fields().field(0).type());
473 EXPECT_EQ("bar", message_set.unknown_fields().field(0).length_delimited());
666 const google::protobuf::FieldDescriptor* field; local
667 field = desc->FindFieldByName("repeated_fixed32");
668 ASSERT_TRUE(field != NULL);
669 ASSERT_EQ(1, WireFormat::TagSize(field->number(), field->type()));
670 field = desc->FindFieldByName("repeated_int32");
671 ASSERT_TRUE(field !
695 const FieldDescriptor* field = local
716 const FieldDescriptor* field = local
[all...]
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A DBaseContext.cpp20 Handle<External> field = Handle<External>::Cast(obj->GetInternalField(0)); local
21 void* ptr = field->Value();
131 Handle<External> field = Handle<External>::Cast( local
133 void* ptr = field->Value();
153 Handle<External> field = Handle<External>::Cast( local
155 void* ptr = field->Value();

Completed in 313 milliseconds

<<11121314151617181920>>