/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/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 …]
|
D | DartTest.sh | 24 cp monsterdata_test.mon ../dart/test 34 rm ../dart/test/monsterdata_test.mon
|
/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() 118 get_monotonic_and_raw(&mon, &raw); in main() 119 end = mon; in main() 122 delta2 = diff_timespec(mon, raw); in main()
|
/external/u-boot/lib/ |
D | date.c | 83 int mon = tm->tm_mon; in rtc_mktime() local 87 mon -= 2; in rtc_mktime() 88 if (0 >= (int)mon) { /* 1..12 -> 11, 12, 1..10 */ in rtc_mktime() 89 mon += 12; /* Puts Feb last since it has leap day */ in rtc_mktime() 94 367 * mon / 12 + tm->tm_mday) + in rtc_mktime() 104 time64_t mktime64(const unsigned int year, const unsigned int mon, in mktime64() argument 111 time.tm_mon = mon; in mktime64()
|
/external/flatbuffers/ |
D | .gitignore | 60 tests/monsterdata_java_wire.mon 61 tests/monsterdata_java_wire_sp.mon 62 tests/monsterdata_go_wire.mon 63 tests/monsterdata_javascript_wire.mon 64 tests/monsterdata_lobster_wire.mon 65 tests/monsterdata_rust_wire.mon 66 tests/unicode_test.mon
|
/external/u-boot/drivers/rtc/ |
D | s3c24x0_rtc.c | 46 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 60 mon = readb(&rtc->bcdmon); in rtc_get() 79 year, mon, mday, wday, hour, min, sec); in rtc_get() 89 tmp->tm_mon = bcd2bin(mon & 0x1F); in rtc_get() 110 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local 118 mon = bin2bcd(tmp->tm_mon); in rtc_set() 134 writeb(mon, &rtc->bcdmon); in rtc_set()
|
D | max6900.c | 39 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local 47 mon = rtc_read (0x88); in rtc_get() 61 year, mon, cent, mday, wday, in rtc_get() 68 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 | ds164x.c | 55 uchar mday, wday, mon, year; in rtc_get() local 68 mon = rtc_read( RTC_MONTH ); in rtc_get() 77 year, mon, mday, wday, in rtc_get() 84 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()
|
D | mk48t59.c | 78 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 92 mon = rtc_read (RTC_MONTH); in rtc_get() 102 year, mon, mday, wday, in rtc_get() 109 tmp->tm_mon = bcd2bin (mon & 0x1F); in rtc_get()
|
/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/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 338 struct util_queue_monitoring *mon = gr->pane->hud->monitored_queue; in query_api_thread_busy_status() local 340 if (mon && mon->queue) in query_api_thread_busy_status() 341 thread_now = util_queue_get_thread_time_nano(mon->queue, 0); in query_api_thread_busy_status() 404 struct util_queue_monitoring *mon = gr->pane->hud->monitored_queue; in get_counter() local 406 if (!mon || !mon->queue) in get_counter() 411 return mon->num_offloaded_items; in get_counter() 413 return mon->num_direct_items; in get_counter() 415 return mon->num_syncs; in get_counter()
|
/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/adhd/cras/src/server/ |
D | cras_udev.c | 23 struct udev_monitor *mon; member 375 dev = udev_monitor_receive_device(data->mon); in udev_sound_subsystem_callback() 404 udev_data.mon = udev_monitor_new_from_netlink(udev_data.udev, "udev"); in cras_udev_start_sound_subsystem_monitor() 406 udev_monitor_filter_add_match_subsystem_devtype(udev_data.mon, in cras_udev_start_sound_subsystem_monitor() 408 udev_monitor_enable_receiving(udev_data.mon); in cras_udev_start_sound_subsystem_monitor() 409 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()
|
/external/igt-gpu-tools/tests/ |
D | kms_chamelium.c | 248 struct udev_monitor *mon = igt_watch_hotplug(); in test_basic_hotplug() local 256 igt_flush_hotplugs(mon); in test_basic_hotplug() 260 igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT), in test_basic_hotplug() 268 igt_flush_hotplugs(mon); in test_basic_hotplug() 272 igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT), in test_basic_hotplug() 280 igt_cleanup_hotplug(mon); in test_basic_hotplug() 326 static bool wait_for_hotplug(struct udev_monitor *mon, int *timeout) in wait_for_hotplug() argument 333 detected = igt_hotplug_detected(mon, *timeout); in wait_for_hotplug() 346 struct udev_monitor *mon, bool connected) in try_suspend_resume_hpd() argument 354 igt_flush_hotplugs(mon); in try_suspend_resume_hpd() [all …]
|
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/timer/ |
D | sci_timer_api.h | 210 sc_err_t sc_timer_set_rtc_time(sc_ipc_t ipc, uint16_t year, uint8_t mon, 227 sc_err_t sc_timer_get_rtc_time(sc_ipc_t ipc, uint16_t *year, uint8_t *mon, 259 sc_err_t sc_timer_set_rtc_alarm(sc_ipc_t ipc, uint16_t year, uint8_t mon,
|
/external/icu/icu4c/source/data/unit/ |
D | eo.txt | 8 one{"{0} mon."} 9 other{"{0} mon."}
|