/third_party/libuv/test/ |
D | test-tty-duplicate-key.c | 81 BOOL is_wsl, INPUT_RECORD* records) { in make_key_event_records() argument 82 # define KEV(I) records[(I)].Event.KeyEvent in make_key_event_records() 87 records[0].EventType = records[1].EventType = KEY_EVENT; in make_key_event_records() 140 INPUT_RECORD records[2]; in TEST_IMPL() local 177 make_key_event_records(VK_F1, 0, TRUE, records); in TEST_IMPL() 178 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written); in TEST_IMPL() 179 ASSERT(written == ARRAY_SIZE(records)); in TEST_IMPL() 193 INPUT_RECORD records[2]; in TEST_IMPL() local 231 make_key_event_records(L'A', LEFT_ALT_PRESSED, FALSE, records); in TEST_IMPL() 232 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written); in TEST_IMPL() [all …]
|
/third_party/ltp/testcases/realtime/lib/ |
D | libstats.c | 75 data->records = calloc(size, sizeof(stats_record_t)); in stats_container_init() 76 if (!data->records) in stats_container_init() 90 data->records[myindex] = rec; in stats_container_append() 97 realloc(data->records, size * sizeof(stats_record_t)); in stats_container_resize() 100 data->records = newrecords; in stats_container_resize() 102 memset(data->records + data->size, 0, size - data->size); in stats_container_resize() 109 free(data->records); in stats_container_free() 116 qsort(data->records, data->index + 1, sizeof(stats_record_t), in stats_sort() 133 sum += data->records[i].y; in stats_stddev() 140 delta = (data->records[i].y - avg); in stats_stddev() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
D | RecordsTable.java | 25 protected RecordsTable(RecordList<R> records) { in RecordsTable() argument 26 super(records.readData, records.base, false); in RecordsTable() 27 recordList = records; in RecordsTable() 43 protected RecordList<R> records; field in RecordsTable.Builder 71 records = other.records; in Builder() 77 public RecordList<R> records() { in records() method in RecordsTable.Builder 78 return records; in records() 83 return records.count(); in count() 91 if (records != null) { in subDataSizeToSerialize() 92 serializedLength = records.limit(); in subDataSizeToSerialize() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
D | RecordsTable.java | 25 protected RecordsTable(RecordList<R> records) { in RecordsTable() argument 26 super(records.readData, records.base, false); in RecordsTable() 27 recordList = records; in RecordsTable() 43 protected RecordList<R> records; field in RecordsTable.Builder 71 records = other.records; in Builder() 77 public RecordList<R> records() { in records() method in RecordsTable.Builder 78 return records; in records() 83 return records.count(); in count() 91 if (records != null) { in subDataSizeToSerialize() 92 serializedLength = records.limit(); in subDataSizeToSerialize() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
D | InnerArraysFmt3.java | 21 NumRecordList records = new NumRecordList(data, 0, base); in InnerArraysFmt3() local 22 backtrackGlyphs = new CoverageArray(records); in InnerArraysFmt3() 24 records = new NumRecordList(data, 0, records.limit()); in InnerArraysFmt3() 25 inputGlyphs = new CoverageArray(records); in InnerArraysFmt3() 27 records = new NumRecordList(data, 0, records.limit()); in InnerArraysFmt3() 28 lookAheadGlyphs = new CoverageArray(records); in InnerArraysFmt3() 30 lookupRecords = new SubstLookupRecordList(data, records.limit()); in InnerArraysFmt3() 133 NumRecordList records = new NumRecordList(data); in initFromData() local 134 backtrackGlyphsBuilder = new CoverageArray.Builder(records); in initFromData() 136 records = new NumRecordList(data, 0, records.limit()); in initFromData() [all …]
|
D | CoverageArray.java | 16 public CoverageArray(NumRecordList records) { in CoverageArray() argument 17 super(records); in CoverageArray() 27 public Builder(NumRecordList records) { in Builder() argument 28 super(records); in Builder()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
D | InnerArraysFmt3.java | 21 NumRecordList records = new NumRecordList(data, 0, base); in InnerArraysFmt3() local 22 backtrackGlyphs = new CoverageArray(records); in InnerArraysFmt3() 24 records = new NumRecordList(data, 0, records.limit()); in InnerArraysFmt3() 25 inputGlyphs = new CoverageArray(records); in InnerArraysFmt3() 27 records = new NumRecordList(data, 0, records.limit()); in InnerArraysFmt3() 28 lookAheadGlyphs = new CoverageArray(records); in InnerArraysFmt3() 30 lookupRecords = new SubstLookupRecordList(data, records.limit()); in InnerArraysFmt3() 133 NumRecordList records = new NumRecordList(data); in initFromData() local 134 backtrackGlyphsBuilder = new CoverageArray.Builder(records); in initFromData() 136 records = new NumRecordList(data, 0, records.limit()); in initFromData() [all …]
|
D | CoverageArray.java | 16 public CoverageArray(NumRecordList records) { in CoverageArray() argument 17 super(records); in CoverageArray() 27 public Builder(NumRecordList records) { in Builder() argument 28 super(records); in Builder()
|
/third_party/openssl/test/recipes/ |
D | 70-test_sslrecords.t | 235 my $records = $proxy->record_list; 239 $fatal_alert = 1 if @{$records}[-1]->is_fatal_alert(1) == 10; 255 push @{$records}, $record; 262 my $records = $proxy->record_list; 267 $fatal_alert = 1 if @{$records}[-1]->is_fatal_alert(1) == 10; 297 push @{$records}, $record; 312 push @{$records}, $record; 465 my $records = $proxy->record_list; 473 $fatal_alert = 1 if @{$records}[-1]->is_fatal_alert(0) == 10; 480 @{$records}[-1]->version(), [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
D | ReverseChainSingleSubst.java | 30 NumRecordList records = new NumRecordList(data, 0, headerSize()); in ReverseChainSingleSubst() local 31 backtrackGlyphs = new CoverageArray(records); in ReverseChainSingleSubst() 33 records = new NumRecordList(data, 0, records.limit()); in ReverseChainSingleSubst() 34 lookAheadGlyphs = new CoverageArray(records); in ReverseChainSingleSubst() 36 records = new NumRecordList(data, 0, records.limit()); in ReverseChainSingleSubst() 37 substitutes = new NumRecordTable(records); in ReverseChainSingleSubst() 138 NumRecordList records = new NumRecordList(data); in initFromData() local 139 backtrackGlyphsBuilder = new CoverageArray.Builder(records); in initFromData() 141 records = new NumRecordList(data, 0, records.limit()); in initFromData() 142 lookAheadGlyphsBuilder = new CoverageArray.Builder(records); in initFromData()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
D | ReverseChainSingleSubst.java | 30 NumRecordList records = new NumRecordList(data, 0, headerSize()); in ReverseChainSingleSubst() local 31 backtrackGlyphs = new CoverageArray(records); in ReverseChainSingleSubst() 33 records = new NumRecordList(data, 0, records.limit()); in ReverseChainSingleSubst() 34 lookAheadGlyphs = new CoverageArray(records); in ReverseChainSingleSubst() 36 records = new NumRecordList(data, 0, records.limit()); in ReverseChainSingleSubst() 37 substitutes = new NumRecordTable(records); in ReverseChainSingleSubst() 138 NumRecordList records = new NumRecordList(data); in initFromData() local 139 backtrackGlyphsBuilder = new CoverageArray.Builder(records); in initFromData() 141 records = new NumRecordList(data, 0, records.limit()); in initFromData() 142 lookAheadGlyphsBuilder = new CoverageArray.Builder(records); in initFromData()
|
/third_party/glib/gio/tests/ |
D | resolver.c | 161 GList *records, in print_resolved_mx() argument 175 else if (!records) in print_resolved_mx() 181 for (t = records; t; t = t->next) in print_resolved_mx() 187 g_list_free (records); in print_resolved_mx() 197 GList *records, in print_resolved_txt() argument 211 else if (!records) in print_resolved_txt() 217 for (t = records; t; t = t->next) in print_resolved_txt() 219 if (t != records) in print_resolved_txt() 227 g_list_free (records); in print_resolved_txt() 237 GList *records, in print_resolved_soa() argument [all …]
|
/third_party/pcre2/pcre2/maint/ |
D | MultiStage2.py | 343 records = {} 346 i = records.get(t) 348 i = records[t] = len(records) 350 return index, records 352 def get_record_size_struct(records): argument 357 for i in range(len(records[0])): 358 record_slice = [record[i] for record in records] 366 record_slice = [record[0] for record in records] 389 def print_records(records, record_size): argument 391 '/* %d bytes, record size %d */' % (len(records) * record_size, record_size)) [all …]
|
/third_party/python/Lib/test/ |
D | test_urllibnet.py | 203 records = [] 206 records.append((blocks, block_size, total_size)) 212 records_repr = repr(records) # For use in error messages. 213 self.assertGreater(len(records), 1, msg="There should always be two " 215 self.assertEqual(records[0][0], 0) 216 self.assertGreater(records[0][1], 0, 218 self.assertEqual(records[0][2], expected_size) 219 self.assertEqual(records[-1][2], expected_size) 221 block_sizes = {block_size for _, block_size, _ in records} 222 self.assertEqual({records[0][1]}, block_sizes, [all …]
|
/third_party/node/doc/api/ |
D | dns.md | 306 * `records` {string[] | Object[] | Object} 309 of the resource records. The `callback` function has arguments 310 `(err, records)`. When successful, `records` will be an array of resource 311 records. The type and structure of individual results varies based on `rrtype`: 313 | `rrtype` | `records` contains | Result type | Shorthand method | 317 | `'ANY'` | any records | {Object} | [`dns.resolveAny()`][] | 318 | `'CAA'` | CA authorization records | {Object} | [`dns.resolveCaa()`][] | 319 | `'CNAME'` | canonical name records | {string} | [`dns.resolveCname()`][] | 320 | `'MX'` | mail exchange records | {Object} | [`dns.resolveMx()`][] | 321 | `'NAPTR'` | name authority pointer records | {Object} | [`dns.resolveNaptr()`][] | [all …]
|
/third_party/ltp/testcases/realtime/func/rt-migrate/ |
D | rt-migrate.c | 268 printf("%6ld ", intervals[t].records[i].y); in print_results() 273 printf("%6ld ", intervals_length[t].records[i].y); in print_results() 278 printf("%6ld ", intervals_loops[t].records[i].y); in print_results() 366 if (i && last < intervals[i].records[l].y && in check_times() 367 ((intervals[i].records[l].y - last) > max_err)) { in check_times() 374 if (intervals_loops[i].records[l].y < last_loops || in check_times() 375 intervals[i].records[l].y > last_length || in check_times() 376 (intervals_length[i].records[l].y > last_length && in check_times() 377 intervals_length[i].records[l].y - last_length > in check_times() 383 last = intervals[i].records[l].y; in check_times() [all …]
|
/third_party/glib/gio/ |
D | gthreadedresolver.c | 668 GList *records; in g_resolver_records_from_res_query() local 692 records = NULL; in g_resolver_records_from_res_query() 749 records = g_list_prepend (records, record); in g_resolver_records_from_res_query() 752 if (records == NULL) in g_resolver_records_from_res_query() 760 return records; in g_resolver_records_from_res_query() 846 GList *records; in g_resolver_records_from_DnsQuery() local 869 records = NULL; in g_resolver_records_from_DnsQuery() 897 records = g_list_prepend (records, g_variant_ref_sink (record)); in g_resolver_records_from_DnsQuery() 900 if (records == NULL) in g_resolver_records_from_DnsQuery() 908 return records; in g_resolver_records_from_DnsQuery() [all …]
|
/third_party/skia/tools/skqp/ |
D | download_model.py | 56 records = [] 59 records.append((md5, path)) 60 sys.stderr.write('Downloading %d files.\n' % len(records)) 62 for record in records:
|
/third_party/openssl/util/perl/TLSProxy/ |
D | Message.pm | 424 $records, 431 records => $records, 457 my $numrecs = $#{$self->records}; 470 my ($rec) = @{$self->records}; 535 foreach my $rec (@{$self->records}) { 584 sub records subroutine 588 $self->{records} = shift; 590 return $self->{records};
|
/third_party/flutter/flutter/packages/flutter/test/foundation/ |
D | consolidate_response_test.dart | 74 final List<int> records = <int>[]; 78 records.addAll(<int>[cumulative, total]); 82 expect(records, <int>[ 174 final List<int> records = <int>[]; 178 records.addAll(<int>[cumulative, total]); 182 expect(records, <int>[ 194 final List<int> records = <int>[]; 198 records.addAll(<int>[cumulative, total]); 202 expect(records, <int>[
|
/third_party/flutter/skia/tools/skqp/ |
D | download_model | 58 records = [] 61 records.append((md5, path)) 62 sys.stderr.write('Downloading %d files.\n' % len(records)) 64 for record in records:
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
D | HorizontalDeviceMetricsTable.java | 38 records(8), enumConstant 73 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in pixelSize() 81 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in maxWidth() 89 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in width()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
D | HorizontalDeviceMetricsTable.java | 38 records(8), enumConstant 73 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in pixelSize() 81 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in maxWidth() 89 return data.readUByte(Offset.records.offset + recordIx * recordSize() + in width()
|
/third_party/harfbuzz/src/ |
D | hb-ot-color-cbdt-table.hh | 450 hb_vector_t<IndexSubtableRecord>* records /* INOUT */) const in add_new_record() 458 if (unlikely (!c->serializer->check_success (records->resize (records->length + 1)))) in add_new_record() 461 (*records)[records->length - 1].firstGlyphIndex = 1; in add_new_record() 462 (*records)[records->length - 1].lastGlyphIndex = 0; in add_new_record() 467 …if (unlikely (!add_new_subtable (c, bitmap_size_context, &((*records)[records->length - 1]), looku… in add_new_record() 473 records->resize (records->length - 1); in add_new_record() 575 hb_vector_t<IndexSubtableRecord> records; in subset() local 578 … (!lookup[start].second->add_new_record (c, bitmap_size_context, &lookup, this, &start, &records))) in subset() 581 for (unsigned int i = 0; i < records.length; i++) in subset() 590 for (unsigned int i = 0; i < records.length; i++) in subset() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-color-cbdt-table.hh | 450 hb_vector_t<IndexSubtableRecord>* records /* INOUT */) const in add_new_record() 458 if (unlikely (!c->serializer->check_success (records->resize (records->length + 1)))) in add_new_record() 461 (*records)[records->length - 1].firstGlyphIndex = 1; in add_new_record() 462 (*records)[records->length - 1].lastGlyphIndex = 0; in add_new_record() 467 …if (unlikely (!add_new_subtable (c, bitmap_size_context, &((*records)[records->length - 1]), looku… in add_new_record() 473 records->resize (records->length - 1); in add_new_record() 575 hb_vector_t<IndexSubtableRecord> records; in subset() local 578 … (!lookup[start].second->add_new_record (c, bitmap_size_context, &lookup, this, &start, &records))) in subset() 581 for (unsigned int i = 0; i < records.length; i++) in subset() 590 for (unsigned int i = 0; i < records.length; i++) in subset() [all …]
|