Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 25 of 274) sorted by relevance

1234567891011

/external/webrtc/webrtc/base/
Dbandwidthsmoother_unittest.cc24 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/
Dvm.go127 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/
Dsample_binary.lua76 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/
Dluatest.lua18 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 …]
Dpy_test.py1141 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/
DimportNLT.pl25 ($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 …]
DparseNLT.pl11 $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/
Draw_skew.c69 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.gitignore57 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/
Dhud_cpu.c254 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/
Dflat_buffers_test.dart32 '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/
Ds3c24x0_rtc.c48 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()
Ddate.c125 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()
Dmax6900.c41 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()
Dpt7c4338.c65 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()
Drx8025.c83 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()
Dds164x.c57 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()
Dds1556.c55 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/
DNetTest.sh10 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/
DTimeUtils.cpp58 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/
Deapol_test.py28 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/
Dxmlschemastypes.c68 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/
Dmonitors_test.py794 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/
Dcras_udev.c23 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/
Dwpa_helpers.c99 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()

1234567891011