/external/perfetto/src/traced/probes/ftrace/ |
D | event_info.cc | 21 event->fields.push_back(MakeField("debug_id", 1, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 22 event->fields.push_back( in GetStaticEventInfo() 24 event->fields.push_back(MakeField("to_proc", 3, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 25 event->fields.push_back(MakeField("to_thread", 4, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 26 event->fields.push_back(MakeField("reply", 5, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 27 event->fields.push_back(MakeField("code", 6, ProtoSchemaType::kUint32)); in GetStaticEventInfo() 28 event->fields.push_back(MakeField("flags", 7, ProtoSchemaType::kUint32)); in GetStaticEventInfo() 37 event->fields.push_back(MakeField("debug_id", 1, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 46 event->fields.push_back(MakeField("proc", 1, ProtoSchemaType::kInt32)); in GetStaticEventInfo() 47 event->fields.push_back(MakeField("thread", 2, ProtoSchemaType::kInt32)); in GetStaticEventInfo() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | decimfmt.cpp | 90 new CurrencyPluralInfo(fields->symbols->getLocale(), status), in DecimalFormat() 93 fields->properties->currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat() 100 fields = new DecimalFormatFields(); in DecimalFormat() 104 if (fields == nullptr) { in DecimalFormat() 108 fields->properties.adoptInsteadAndCheckErrorCode(new DecimalFormatProperties(), status); in DecimalFormat() 109 fields->exportedProperties.adoptInsteadAndCheckErrorCode(new DecimalFormatProperties(), status); in DecimalFormat() 111 fields->symbols.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(status), status); in DecimalFormat() 113 fields->symbols.adoptInsteadAndCheckErrorCode(adoptedSymbols.orphan(), status); in DecimalFormat() 120 if (value == fields->properties->parseAllInput) { return; } in setParseAllInput() 121 fields->properties->parseAllInput = value; in setParseAllInput() [all …]
|
D | regexcst.pl | 39 @fields = split(); 44 for ($i=0; $i<@fields; $i++) { 45 if ($fields[$i] =~ /^#/) { 46 @fields = @fields[0 .. $i-1]; 51 if (@fields == 0) { 61 if (@fields[0] =~ /.*:$/) { 62 $state_name = @fields[0]; 73 if (@fields == 1) { 76 shift @fields; # shift off label field in preparation 95 if ($fields[0] =~ /^'.'$/) { [all …]
|
/external/webrtc/webrtc/base/ |
D | stringencode_unittest.cc | 218 std::vector<std::string> fields; in TEST() local 220 EXPECT_EQ(5ul, tokenize("one two three four five", ' ', &fields)); in TEST() 221 fields.clear(); in TEST() 222 EXPECT_EQ(1ul, tokenize("one", ' ', &fields)); in TEST() 225 fields.clear(); in TEST() 226 EXPECT_EQ(5ul, tokenize(" one two three four five ", ' ', &fields)); in TEST() 227 fields.clear(); in TEST() 228 EXPECT_EQ(1ul, tokenize(" one ", ' ', &fields)); in TEST() 229 fields.clear(); in TEST() 230 EXPECT_EQ(0ul, tokenize(" ", ' ', &fields)); in TEST() [all …]
|
/external/libxml2/ |
D | build_glob.py | 68 fields = string.split(line, ",") variable 71 global_functions_hdr.write("extern "+fields[0]+" *") 72 if fields[2]: 74 global_functions_hdr.write("__"+fields[1]+"(void)") 75 if fields[2]: 76 global_functions_hdr.write(")"+fields[2]) 79 writeline(global_functions_hdr,"#define "+fields[1]+" \\") 80 writeline(global_functions_hdr,"(*(__"+fields[1]+"()))") 82 if fields[2]: 83 … writeline(global_functions_hdr,"LIBXML_DLL_IMPORT extern "+fields[0]+" "+fields[1]+fields[2]+";") [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue() 49 …Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue… in GetValue() 50 …Assert.AreEqual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetVal… in GetValue() 51 …Assert.AreEqual(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetV… in GetValue() 52 …Assert.AreEqual(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetV… in GetValue() 53 …Assert.AreEqual(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue… in GetValue() 54 …Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Acces… in GetValue() 55 …Assert.AreEqual(message.SingleForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber]… in GetValue() 56 …Assert.AreEqual(message.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accesso… in GetValue() [all …]
|
/external/icu/icu4c/source/common/ |
D | rbbicst.pl | 40 @fields = split(); 45 for ($i=0; $i<@fields; $i++) { 46 if ($fields[$i] =~ /^#/) { 47 @fields = @fields[0 .. $i-1]; 52 if (@fields == 0) { 62 if (@fields[0] =~ /.*:$/) { 63 $state_name = @fields[0]; 74 if (@fields == 1) { 77 shift @fields; # shift off label field in preparation 96 if ($fields[0] =~ /^'.'$/) { [all …]
|
/external/clang/bindings/python/tests/cindex/ |
D | test_type.py | 32 fields = list(teststruct.get_children()) 33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields) 34 assert all(x.translation_unit is not None for x in fields) 36 assert fields[0].spelling == 'a' 37 assert not fields[0].type.is_const_qualified() 38 assert fields[0].type.kind == TypeKind.INT 39 assert fields[0].type.get_canonical().kind == TypeKind.INT 41 assert fields[1].spelling == 'b' 42 assert not fields[1].type.is_const_qualified() 43 assert fields[1].type.kind == TypeKind.TYPEDEF [all …]
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliFieldTest.java | 54 SmaliField[] fields = smaliClass.getFields(); in testBasicField() local 55 Assert.assertEquals(1, fields.length); in testBasicField() 56 Assert.assertEquals("myField", fields[0].getName()); in testBasicField() 57 Assert.assertTrue(fields[0].getType() instanceof PsiPrimitiveType); in testBasicField() 58 Assert.assertEquals("int", fields[0].getType().getCanonicalText()); in testBasicField() 59 PsiTypeElement typeElement = fields[0].getTypeElement(); in testBasicField() 63 SmaliModifierList modifierList = fields[0].getModifierList(); in testBasicField() 68 Assert.assertTrue(fields[0].hasModifierProperty("public")); in testBasicField() 96 PsiField[] fields = smaliClass.getFields(); in testSmaliSuperField() local 97 Assert.assertEquals(1, fields.length); in testSmaliSuperField() [all …]
|
/external/mesa3d/src/compiler/ |
D | glsl_types.cpp | 69 memset(& fields, 0, sizeof(fields)); in glsl_type() 87 memset(& fields, 0, sizeof(fields)); in glsl_type() 92 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument 108 this->fields.structure = ralloc_array(this->mem_ctx, in glsl_type() 112 this->fields.structure[i] = fields[i]; in glsl_type() 113 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type() 114 fields[i].name); in glsl_type() 118 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument 136 this->fields.structure = rzalloc_array(this->mem_ctx, in glsl_type() 139 this->fields.structure[i] = fields[i]; in glsl_type() [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings.py | 17 self.fields = {} 26 if name in self.fields: 28 self.fields[name] = field 31 if name not in self.fields: 35 self.fields[name].Append(value) 37 self.fields[name].Set(value) 41 if name not in self.fields: 44 field = self.fields[name] 48 return self.fields[name].Get() 52 for name in self.fields: [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 119 public static int[] dayToFields(long day, int[] fields) { in dayToFields() argument 120 if (fields == null || fields.length < 5) { in dayToFields() 121 fields = new int[5]; in dayToFields() 155 fields[0] = year; in dayToFields() 156 fields[1] = month; in dayToFields() 157 fields[2] = dayOfMonth; in dayToFields() 158 fields[3] = dayOfWeek; in dayToFields() 159 fields[4] = dayOfYear; in dayToFields() 161 return fields; in dayToFields() 174 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 117 public static int[] dayToFields(long day, int[] fields) { in dayToFields() argument 118 if (fields == null || fields.length < 5) { in dayToFields() 119 fields = new int[5]; in dayToFields() 153 fields[0] = year; in dayToFields() 154 fields[1] = month; in dayToFields() 155 fields[2] = dayOfMonth; in dayToFields() 156 fields[3] = dayOfWeek; in dayToFields() 157 fields[4] = dayOfYear; in dayToFields() 159 return fields; in dayToFields() 172 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument [all …]
|
/external/libchrome/third_party/jinja2/ |
D | nodes.py | 123 fields = () variable in Node 127 def __init__(self, *fields, **attributes): argument 130 if fields: 131 if len(fields) != len(self.fields): 132 if not self.fields: 137 len(self.fields), 138 len(self.fields) != 1 and 's' or '' 140 for name, arg in izip(self.fields, fields): 155 for name in self.fields: 203 if 'ctx' in node.fields: [all …]
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | split.h | 43 std::vector<string> fields; in Split() local 45 fields.push_back(s.substr(p.first, p.second - p.first)); in Split() 47 return fields; in Split() 52 std::vector<int> fields; in Split() local 54 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split() 56 return fields; in Split() 61 std::vector<int64_t> fields; in Split() local 63 fields.push_back(strtoll(s.data() + p.first, nullptr, 10)); in Split() 65 return fields; in Split() 70 std::vector<float> fields; in Split() local [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | split.h | 40 std::vector<string> fields; in Split() local 42 fields.push_back(s.substr(p.first, p.second - p.first)); in Split() 44 return fields; in Split() 49 std::vector<int> fields; in Split() local 51 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split() 53 return fields; in Split() 58 std::vector<int64_t> fields; in Split() local 60 fields.push_back(strtoll(s.data() + p.first, nullptr, 10)); in Split() 62 return fields; in Split() 67 std::vector<float> fields; in Split() local [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 52 private final FieldSet<FieldDescriptor> fields; field in DynamicMessage 66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() argument 70 this.fields = fields; in DynamicMessage() 171 return fields.getAllFields(); in getAllFields() 193 return fields.hasField(field); in hasField() 199 Object result = fields.getField(field); in getField() 215 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount() 221 return fields.getRepeatedField(field, index); in getRepeatedField() 230 FieldSet<FieldDescriptor> fields) { in isInitialized() argument 234 if (!fields.hasField(field)) { in isInitialized() [all …]
|
D | FieldSet.java | 71 private final SmallSortedMap<FieldDescriptorType, Object> fields; field in FieldSet 77 this.fields = SmallSortedMap.newFieldMap(16); in FieldSet() 85 this.fields = SmallSortedMap.newFieldMap(0); in FieldSet() 110 fields.makeImmutable(); in makeImmutable() 135 return other.fields.equals(other.fields); in equals() 140 return fields.hashCode(); in hashCode() 154 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in clone() 155 Map.Entry<FieldDescriptorType, Object> entry = fields.getArrayEntryAt(i); in clone() 160 fields.getOverflowEntries()) { in clone() 173 fields.clear(); in clear() [all …]
|
/external/autotest/frontend/client/src/autotest/tko/ |
D | HeaderSelect.java | 83 private void setSelectedItemsInView(List<HeaderField> fields) { in setSelectedItemsInView() argument 85 for (HeaderField field : fields) { in setSelectedItemsInView() 95 public void setSelectedItems(List<HeaderField> fields) { in setSelectedItems() argument 96 savedState.selectedFields = new ArrayList<HeaderField>(fields); in setSelectedItems() 104 List<HeaderField> fields = getSelectedItemsFromView(); in selectItemInView() local 105 if (!fields.contains(field)) { in selectItemInView() 106 fields.add(field); in selectItemInView() 107 setSelectedItemsInView(fields); in selectItemInView() 112 List<HeaderField> fields = getSelectedItemsFromView(); in deselectItemInView() local 113 if (fields.remove(field)) { in deselectItemInView() [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | ClassEditor.java | 123 Field[] fields = targetClass.fields; in addField() local 126 if (fields.length <= fieldsCount) in addField() 128 targetClass.fields = new ProgramField[fieldsCount+1]; in addField() 129 System.arraycopy(fields, 0, in addField() 130 targetClass.fields, 0, in addField() 132 fields = targetClass.fields; in addField() 141 fields[targetClass.u2fieldsCount++] = field; in addField() 152 Field[] fields = targetClass.fields; in removeField() local 157 System.arraycopy(fields, fieldIndex+1, in removeField() 158 fields, fieldIndex, in removeField() [all …]
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb_unittest.cc | 208 const auto& fields = in TEST() local 210 ASSERT_EQ(fields.field_uint32(), 1); in TEST() 211 ASSERT_EQ(fields.field_uint64(), 2); in TEST() 212 ASSERT_EQ(fields.field_int32(), 3); in TEST() 213 ASSERT_EQ(fields.field_int64(), 4); in TEST() 214 ASSERT_EQ(fields.field_fixed64(), 5); in TEST() 215 ASSERT_EQ(fields.field_sfixed64(), 6); in TEST() 216 ASSERT_EQ(fields.field_fixed32(), 7); in TEST() 217 ASSERT_EQ(fields.field_sfixed32(), 8); in TEST() 218 ASSERT_EQ(fields.field_double(), 9); in TEST() [all …]
|
/external/protobuf/objectivec/google/protobuf/ |
D | Wrappers.pbobjc.m | 47 static GPBMessageFieldDescription fields[] = { 62 fields:fields 63 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 90 static GPBMessageFieldDescription fields[] = { 105 fields:fields 106 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 133 static GPBMessageFieldDescription fields[] = { 148 fields:fields 149 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 176 static GPBMessageFieldDescription fields[] = { [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 1057 UChar *fields[10]; in TestRegexCAPI() local 1077 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1079 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI() 1085 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() 1086 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI() 1087 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI() 1088 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI() 1109 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1111 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI() 1117 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() [all …]
|
/external/u-boot/common/eeprom/ |
D | eeprom_layout.c | 40 layout->fields = layout_unknown; in __eeprom_layout_assign() 53 struct eeprom_field *fields = layout->fields; in eeprom_layout_print() local 56 fields[i].print(&fields[i]); in eeprom_layout_print() 71 struct eeprom_field *fields = layout->fields; in eeprom_layout_update_field() local 80 if (fields[i].name == RESERVED_FIELDS || in eeprom_layout_update_field() 81 strcmp(fields[i].name, field_name)) in eeprom_layout_update_field() 84 err = fields[i].update(&fields[i], new_data); in eeprom_layout_update_field() 117 layout->fields[i].buf = buf; in eeprom_layout_setup() 118 buf += layout->fields[i].size; in eeprom_layout_setup()
|
/external/autotest/scheduler/ |
D | rdb_hosts.py | 119 def refresh(self, fields=None): argument 131 fields = self.required_fields if not fields else fields 134 id=self.id).values(*fields)[0] 137 fields, e) 146 self.refresh(fields=['leased']) 238 fields = { 244 return fields 247 def record_pool(self, fields): argument 259 reset_after=True).set(pool, fields=fields) 271 fields = self.get_metric_fields() [all …]
|