/external/webrtc/webrtc/base/ |
D | bandwidthsmoother_unittest.cc | 24 BandwidthSmoother mon(1000, // initial_bandwidth_guess in TEST() local 31 EXPECT_EQ(bandwidth_sample, mon.get_bandwidth_estimation()); in TEST() 34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample)); in TEST() 35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample)); in TEST() 36 EXPECT_EQ(bandwidth_sample, mon.get_bandwidth_estimation()); in TEST() 40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample)); in TEST() 41 EXPECT_EQ(next_expected_est, mon.get_bandwidth_estimation()); in TEST() 45 BandwidthSmoother mon(0, // initial_bandwidth_guess in TEST() local 52 EXPECT_EQ(0, mon.get_bandwidth_estimation()); in TEST() 53 EXPECT_FALSE(mon.Sample(9, kBandwidthSample)); in TEST() [all …]
|
/external/syzkaller/vm/ |
D | vm.go | 127 mon := &monitor{ 144 return mon.extractError("") 150 return mon.extractError("lost connection to test machine") 153 lastPos := len(mon.output) 154 mon.output = append(mon.output, out...) 155 if bytes.Contains(mon.output[lastPos:], executingProgram1) || 156 bytes.Contains(mon.output[lastPos:], executingProgram2) { 159 if reporter.ContainsCrash(mon.output[mon.matchPos:]) { 160 return mon.extractError("unknown error") 162 if len(mon.output) > 2*beforeContext { [all …]
|
/external/flatbuffers/samples/ |
D | sample_binary.lua | 76 local mon = monster.GetRootAsMonster(buf, 0) 78 assert(mon:Mana() == 150) 79 assert(mon:Hp() == 300) 80 assert(mon:Name() == "Orc") 81 assert(mon:Color() == color.Red) 82 assert(mon:Pos():X() == 1.0) 83 assert(mon:Pos():Y() == 2.0) 84 assert(mon:Pos():Z() == 3.0) 86 for i=1,mon:InventoryLength() do 87 assert(mon:Inventory(i) == i) [all …]
|
/external/flatbuffers/tests/ |
D | luatest.lua | 18 local mon = monster.GetRootAsMonster(buf, offset) 19 assert(mon:Hp() == 80, "Monster Hp is not 80") 20 assert(mon:Mana() == 150, "Monster Mana is not 150") 21 assert(mon:Name() == "MyMonster", "Monster Name is not MyMonster") 23 local vec = assert(mon:Pos(), "Monster Position is nil") 37 assert(mon:TestType() == ut.Monster) 39 local table2 = mon:Test() 47 assert(mon:InventoryLength() == 5) 49 for i=1,mon:InventoryLength() do 50 local v = mon:Inventory(i) [all …]
|
D | py_test.py | 1141 mon = MyGame.Example.Monster.MonsterEnd(b) 1144 b.FinishSizePrefixed(mon) 1146 b.Finish(mon) 1160 self.mon = MyGame.Example.Monster.Monster.GetRootAsMonster(b.Bytes, 1164 self.assertTrue(self.mon.Pos() is None) 1170 mon = MyGame.Example.Monster.MonsterEnd(b) 1171 b.Finish(mon) 1178 self.assertEqual(100, self.mon.Hp()) 1181 self.assertEqual(None, self.mon.Name()) 1184 self.assertEqual(0, self.mon.Inventory(0)) [all …]
|
/external/swiftshader/third_party/LLVM/utils/ |
D | importNLT.pl | 25 ($day, $mon, $year, $prog, $gccas, $bc, $llccompile, $llcbetacompile, $jitcompile, 30 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gccas', $gccas)") || die DBI->errstr; 35 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'bytecode', $bc)") || die DBI->errstr; 40 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-compile', $llccompile)") || die DBI-… 45 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta-compile', $llcbetacompile)") ||… 50 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'jit-compile', $jitcompile)") || die DBI-… 55 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'machine-code', $mc)") || die DBI->errstr; 60 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gcc', $gcc)") || die DBI->errstr; 65 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc', $llc)") || die DBI->errstr; 70 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta', $llcbeta)") || die DBI->errst… [all …]
|
D | parseNLT.pl | 11 $mon = $1; 23 { print "\n$day $mon $year $prefix/$output"; } 34 { print "\n$day $mon $year $prefix/$output"; $output = ""; }
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | raw_skew.c | 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument 87 *mon = nsec_to_ts(tmp); in get_monotonic_and_raw() 94 struct timespec mon, raw, start, end; in main() local 107 get_monotonic_and_raw(&mon, &raw); in main() 108 start = mon; in main() 109 delta1 = diff_timespec(mon, raw); in main() 117 get_monotonic_and_raw(&mon, &raw); in main() 118 end = mon; in main() 121 delta2 = diff_timespec(mon, raw); in main()
|
/external/flatbuffers/ |
D | .gitignore | 57 tests/monsterdata_java_wire.mon 58 tests/monsterdata_java_wire_sp.mon 59 tests/monsterdata_go_wire.mon 60 tests/monsterdata_javascript_wire.mon 61 tests/monsterdata_lobster_wire.mon 62 tests/monsterdata_rust_wire.mon 63 tests/unicode_test.mon
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 254 struct util_queue_monitoring *mon = gr->pane->hud->monitored_queue; in query_api_thread_busy_status() local 256 if (mon && mon->queue) in query_api_thread_busy_status() 257 thread_now = util_queue_get_thread_time_nano(mon->queue, 0); in query_api_thread_busy_status() 320 struct util_queue_monitoring *mon = gr->pane->hud->monitored_queue; in get_counter() local 322 if (!mon || !mon->queue) in get_counter() 327 return mon->num_offloaded_items; in get_counter() 329 return mon->num_direct_items; in get_counter() 331 return mon->num_syncs; in get_counter()
|
/external/flatbuffers/dart/test/ |
D | flat_buffers_test.dart | 32 'monsterdata_test.mon', 35 example.Monster mon = new example.Monster(data); 36 expect(mon.hp, 80); 37 expect(mon.mana, 150); 38 expect(mon.name, 'MyMonster'); 39 expect(mon.pos.x, 1.0); 40 expect(mon.pos.y, 2.0); 41 expect(mon.pos.z, 3.0); 42 expect(mon.pos.test1, 3.0); 43 expect(mon.pos.test2.value, 2.0); [all …]
|
/external/u-boot/drivers/rtc/ |
D | s3c24x0_rtc.c | 48 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 62 mon = readb(&rtc->bcdmon); in rtc_get() 81 year, mon, mday, wday, hour, min, sec); in rtc_get() 91 tmp->tm_mon = bcd2bin(mon & 0x1F); in rtc_get() 112 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local 120 mon = bin2bcd(tmp->tm_mon); in rtc_set() 136 writeb(mon, &rtc->bcdmon); in rtc_set()
|
D | date.c | 125 int mon = tm->tm_mon; in rtc_mktime() local 129 mon -= 2; in rtc_mktime() 130 if (0 >= (int)mon) { /* 1..12 -> 11, 12, 1..10 */ in rtc_mktime() 131 mon += 12; /* Puts Feb last since it has leap day */ in rtc_mktime() 136 367 * mon / 12 + tm->tm_mday) + in rtc_mktime()
|
D | max6900.c | 41 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local 49 mon = rtc_read (0x88); in rtc_get() 63 year, mon, cent, mday, wday, in rtc_get() 70 tmp->tm_mon = bcd2bin (mon & 0x1F); in rtc_get()
|
D | pt7c4338.c | 65 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in rtc_get() local 73 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get() 77 year, mon, mday, wday, hour, min, sec, ctl_stat); in rtc_get() 92 tmp->tm_mon = bcd2bin(mon & 0x1F); in rtc_get()
|
D | rx8025.c | 83 uchar sec, min, hour, mday, wday, mon, year, ctl2; in rtc_get() local 94 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get() 99 year, mon, mday, wday, hour, min, sec); in rtc_get() 126 tmp->tm_mon = bcd2bin (mon & 0x1F); in rtc_get()
|
D | ds164x.c | 57 uchar mday, wday, mon, year; in rtc_get() local 70 mon = rtc_read( RTC_MONTH ); in rtc_get() 79 year, mon, mday, wday, in rtc_get() 86 tmp->tm_mon = bcd2bin( mon & 0x1F ); in rtc_get()
|
D | ds1556.c | 55 uchar mday, wday, mon, year; in rtc_get() local 70 mon = rtc_read( RTC_MONTH ); in rtc_get() 80 year, century, mon, mday, wday, in rtc_get() 87 tmp->tm_mon = bcd2bin( mon & 0x1F ); in rtc_get()
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | NetTest.sh | 10 rm Resources/monsterdata_cstest.mon 11 rm Resources/monsterdata_cstest_sp.mon 21 rm Resources/monsterdata_cstest.mon 22 rm Resources/monsterdata_cstest_sp.mon
|
/external/lzma/CPP/Windows/ |
D | TimeUtils.cpp | 58 unsigned year, mon, day, hour, min, sec; in FileTimeToDosTime() 97 for (mon = 1; mon <= 12; mon++) in FileTimeToDosTime() 99 unsigned s = ms[mon - 1]; in FileTimeToDosTime() 113 dosTime = (year << 25) | (mon << 21) | (day << 16) | (hour << 11) | (min << 5) | (sec >> 1); in FileTimeToDosTime()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.py | 28 self.mon = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname)) 29 self.mon.attach() 61 while self.mon.pending(): 62 ev = self.mon.recv() 71 if not self.mon.pending(timeout=remaining):
|
/external/libxml2/ |
D | xmlschemastypes.c | 68 unsigned int mon :4; /* 1 <= mon <= 12 */ member 82 long mon; /* mon stores years also */ member 1126 #define VALID_MONTH(mon) ((mon >= 1) && (mon <= 12)) argument 1141 #define MAX_DAYINMONTH(yr,mon) \ argument 1142 (IS_LEAP(yr) ? daysInMonthLeap[mon - 1] : daysInMonth[mon - 1]) 1146 (dt->day <= daysInMonthLeap[dt->mon - 1]) : \ 1147 (dt->day <= daysInMonth[dt->mon - 1])) 1150 (VALID_YEAR(dt->year) && VALID_MONTH(dt->mon) && VALID_MDAY(dt)) 1181 dt->type,dt->value.date.year,dt->value.date.mon, \ 1314 dt->mon = value; in _xmlSchemaParseGMonth() [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | monitors_test.py | 794 for mon in [mock_mon, mock_mon2]: 795 self.assertEqual(mon.call_counter['begin'], 1) 803 for mon in [mock_mon, mock_mon2]: 804 self.assertEqual(mon.output, {}) 805 self.assertEqual(mon.last_begin_step, 11) 806 self.assertEqual(mon.last_end_step, 11) 807 self.assertEqual(mon.last_post_step, 11) 808 self.assertEqual(mon.call_counter['step_end'], 1) 809 self.assertEqual(mon.call_counter['step_begin'], 1) 810 self.assertEqual(mon.call_counter['post_step'], 1) [all …]
|
/external/adhd/cras/src/server/ |
D | cras_udev.c | 23 struct udev_monitor *mon; member 379 dev = udev_monitor_receive_device(data->mon); in udev_sound_subsystem_callback() 407 udev_data.mon = udev_monitor_new_from_netlink(udev_data.udev, "udev"); in cras_udev_start_sound_subsystem_monitor() 409 udev_monitor_filter_add_match_subsystem_devtype(udev_data.mon, in cras_udev_start_sound_subsystem_monitor() 411 udev_monitor_enable_receiving(udev_data.mon); in cras_udev_start_sound_subsystem_monitor() 412 udev_data.fd = udev_monitor_get_fd(udev_data.mon); in cras_udev_start_sound_subsystem_monitor()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_helpers.c | 99 int get_wpa_cli_event2(struct wpa_ctrl *mon, in get_wpa_cli_event2() argument 110 fd = wpa_ctrl_get_fd(mon); in get_wpa_cli_event2() 132 if (wpa_ctrl_recv(mon, buf, &len) < 0) { in get_wpa_cli_event2() 156 int get_wpa_cli_event(struct wpa_ctrl *mon, in get_wpa_cli_event() argument 159 return get_wpa_cli_event2(mon, event, NULL, buf, buf_size); in get_wpa_cli_event()
|