/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 | 16 local mon = monster.GetRootAsMonster(buf, offset) 17 assert(mon:Hp() == 80, "Monster Hp is not 80") 18 assert(mon:Mana() == 150, "Monster Mana is not 150") 19 assert(mon:Name() == "MyMonster", "Monster Name is not MyMonster") 21 local vec = assert(mon:Pos(), "Monster Position is nil") 35 assert(mon:TestType() == ut.Monster) 37 local table2 = mon:Test() 45 assert(mon:InventoryLength() == 5) 47 for i=1,mon:InventoryLength() do 48 local v = mon:Inventory(i) [all …]
|
D | py_test.py | 1603 mon = MyGame.Example.Monster.MonsterEnd(b) 1606 b.FinishSizePrefixed(mon, file_identifier) 1608 b.Finish(mon, file_identifier) 1657 self.mon = MyGame.Example.Monster.Monster.GetRootAsMonster(b.Bytes, 1661 self.assertTrue(self.mon.Pos() is None) 1667 mon = MyGame.Example.Monster.MonsterEnd(b) 1668 b.Finish(mon) 1675 self.assertEqual(100, self.mon.Hp()) 1678 self.assertEqual(None, self.mon.Name()) 1681 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()
|
D | adjtick.c | 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument 75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw() 91 *mon = nsec_to_ts(tmp); in get_monotonic_and_raw()
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | NetTest.sh | 14 cp ../monsterdata_test.mon Resources/ 22 rm Resources/monsterdata_cstest.mon 23 rm Resources/monsterdata_cstest_sp.mon 30 rm Resources/monsterdata_cstest.mon 31 rm Resources/monsterdata_cstest_sp.mon 39 rm Resources/monsterdata_test.mon
|
/external/flatbuffers/ |
D | .gitignore | 66 tests/monsterdata_java_wire.mon 67 tests/monsterdata_java_wire_sp.mon 68 tests/monsterdata_go_wire.mon 69 tests/monsterdata_javascript_wire.mon 70 tests/monsterdata_lobster_wire.mon 71 tests/monsterdata_rust_wire.mon 72 tests/unicode_test.mon
|
/external/rust/crates/chrono/src/sys/ |
D | stub.rs | 41 let mut mon = 0; in time_to_tm() localVariable 42 while dayno >= YTAB[if leapyear(year) { 1 } else { 0 }][mon] { in time_to_tm() 43 dayno -= YTAB[if leapyear(year) { 1 } else { 0 }][mon]; in time_to_tm() 44 mon += 1; in time_to_tm() 46 tm.tm_mon = mon as i32; in time_to_tm()
|
/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/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)) 1184 dt->type,dt->value.date.year,dt->value.date.mon, \ 1324 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()
|
D | wpa_helpers.h | 21 int get_wpa_cli_event(struct wpa_ctrl *mon, 23 int get_wpa_cli_event2(struct wpa_ctrl *mon,
|
/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."}
|
/external/arm-trusted-firmware/plat/imx/common/sci/svc/timer/ |
D | timer_rpc_clnt.c | 191 sc_err_t sc_timer_set_rtc_time(sc_ipc_t ipc, uint16_t year, uint8_t mon, in sc_timer_set_rtc_time() argument 202 RPC_U8(&msg, 2U) = (uint8_t)mon; in sc_timer_set_rtc_time() 215 sc_err_t sc_timer_get_rtc_time(sc_ipc_t ipc, uint16_t *year, uint8_t *mon, in sc_timer_get_rtc_time() argument 233 if (mon != NULL) in sc_timer_get_rtc_time() 234 *mon = RPC_U8(&msg, 2U); in sc_timer_get_rtc_time() 270 sc_err_t sc_timer_set_rtc_alarm(sc_ipc_t ipc, uint16_t year, uint8_t mon, in sc_timer_set_rtc_alarm() argument 281 RPC_U8(&msg, 2U) = (uint8_t)mon; in sc_timer_set_rtc_alarm()
|
/external/python/cpython2/Lib/ |
D | cookielib.py | 99 year, mon, mday, hour, min, sec = time.gmtime(t)[:6] 101 year, mon, mday, hour, min, sec) 115 year, mon, mday, hour, min, sec, wday = time.gmtime(t)[:7] 117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec) 137 def _str2time(day, mon, yr, hr, min, sec, tz): argument 141 mon = MONTHS_LOWER.index(mon.lower())+1 145 imon = int(mon) 149 mon = imon 176 t = _timegm((yr, mon, day, hr, min, sec, tz)) 245 mon = MONTHS_LOWER.index(g[1].lower()) + 1 [all …]
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | MonitorInfoImpl.java | 42 MonitorInfoImpl(VirtualMachine vm, ObjectReference mon, in MonitorInfoImpl() argument 45 this.monitor = mon; in MonitorInfoImpl()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | SimpleDateRule.java | 150 int mon = c.get(Calendar.MONTH); in doFirstBetween() local 154 if (mon > this.month) { in doFirstBetween() 163 if (mon == this.month && result.before(start)) { in doFirstBetween()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | SimpleDateRule.java | 155 int mon = c.get(Calendar.MONTH); in doFirstBetween() local 159 if (mon > this.month) { in doFirstBetween() 168 if (mon == this.month && result.before(start)) { in doFirstBetween()
|