Home
last modified time | relevance | path

Searched refs:count (Results 1 – 21 of 21) sorted by relevance

/misc/config_tools/board_inspector/acpiparser/aml/
A Dstream.py33 def peek_integer(self, count): argument
34 if self.current + count > self.scopes[-1]:
37 for i in range(0, count):
41 def get_integer(self, count): argument
42 if self.current + count > self.scopes[-1]:
44 ret = self.peek_integer(count)
45 self.current += count
69 def get_fixed_length_string(self, count): argument
70 if self.current + count > self.scopes[-1]:
72 ret = self.data[self.current : self.current + count].decode("latin-1")
[all …]
A Dcontext.py132 parent_count = name.count("^")
228 parent_count = new_scope.count("^")
A Dvisitors.py149 nr_dots = segs.count(".")
/misc/services/life_mngr/
A Duart.c25 ssize_t rc = 0U, count = 0U; in try_receive_message_by_uart() local
31 rc = read(fd, buffer + count, buf_len - count); in try_receive_message_by_uart()
33 count += rc; in try_receive_message_by_uart()
35 if ((tmp[count - 1] == '\0') || (tmp[count - 1] == '\n') in try_receive_message_by_uart()
36 || (count == buf_len)) { in try_receive_message_by_uart()
37 if (tmp[count - 1] == '\n') in try_receive_message_by_uart()
38 tmp[count - 1] = '\0'; in try_receive_message_by_uart()
51 return count; in try_receive_message_by_uart()
A Dcommand.c48 unsigned int count = 0U; in dispatch_command_handlers() local
59 count++; in dispatch_command_handlers()
63 if (!count) in dispatch_command_handlers()
/misc/debug_tools/acrn_crashlog/acrnprobe/
A Dcrash_reclassify.c233 int count; in crash_match_filefmt() local
238 count = config_fmt_to_files(filefmt, &files); in crash_match_filefmt()
239 if (count <= 0) in crash_match_filefmt()
241 for (i = 0; i < count; i++) { in crash_match_filefmt()
247 for (i = 0; i < count; i++) in crash_match_filefmt()
299 int count; in crash_reclassify_by_content() local
330 count = config_fmt_to_files(trfile_fmt, &trfiles); in crash_reclassify_by_content()
331 if (count <= 0) in crash_reclassify_by_content()
335 if (read_file(trfiles[count - 1], &size, &content) == -1) { in crash_reclassify_by_content()
337 trfiles[count - 1], strerror(errno)); in crash_reclassify_by_content()
[all …]
A Devent_queue.c42 int count = 0; in events_count() local
46 count++; in events_count()
49 return count; in events_count()
A Devent_handler.c38 int count; in wdt_timeout() local
50 count = events_count(); in wdt_timeout()
51 LOGE("total %d unhandled events :\n", count); in wdt_timeout()
53 while (count-- && (e = event_dequeue())) { in wdt_timeout()
A Dloop.c583 const char *out_dp, int *count) in e2fs_dump_dir_by_dpath() argument
590 if (!fs || !in_dp || !count) in e2fs_dump_dir_by_dpath()
593 *count = 0; in e2fs_dump_dir_by_dpath()
612 *count = dump_needed.dumped_count; in e2fs_dump_dir_by_dpath()
A Dsender.c227 const int count = config_fmt_to_files(log->path, &files); in crashlog_get_log() local
229 if (count < 0) { in crashlog_get_log()
233 if (!count) { in crashlog_get_log()
238 for (i = 0; i < count; i++) { in crashlog_get_log()
255 for (i = 0; i < count; i++) in crashlog_get_log()
/misc/config_tools/board_inspector/inspectorlib/
A Dvalidator.py26 count = 0
33 count += 1
35 return count
/misc/debug_tools/acrn_crashlog/common/
A Dfsutils.c761 int count = 0; in ac_scandir() local
784 count++; in ac_scandir()
792 if (!count) { in ac_scandir()
812 return count; in ac_scandir()
894 count = -EINVAL; in lsdir()
912 return count; in lsdir()
923 return count; in lsdir()
1212 int count; in config_fmt_to_files() local
1283 if (count < 0) { in config_fmt_to_files()
1288 if (!count) { in config_fmt_to_files()
[all …]
/misc/debug_tools/acrn_crashlog/acrnprobe/include/
A Dloop.h17 const char *out_dp, int *count);
/misc/config_tools/configurator/packages/configurator/src/lib/
A Dacrn.ts11 function count(source, target) { function
80 count: number,
110 let block_enabled_length = count(str_bin, "1");
128 end = start + count(str_bin, "1");
297 CATUIData.summary[regionData.level] = {count: 0}
299 CATUIData.summary[regionData.level].count++;
300 … CATUIData.summary[regionData.level][regionData.id] = CATUIData.summary[regionData.level].count;
/misc/sample_application/uservm/
A Dhistapp.py43 count, dataset = transform_data(data)
A DuserApp.cpp103 has_latency = (*latencies.latencyValues).count(actual_latency); in process_data()
/misc/config_tools/board_inspector/
A Dboard_inspector.py194count = validator.validate_board(os.path.join(script_dir, 'schema', 'boardchecks.xsd'), board_etre…
195 if count == 0:
/misc/config_tools/scenario_config/
A Dconfig_summary.py50 def newline(self, count: int = 1) -> None:
51 if count == 1:
54 self._add("\n" * (count - 1))
414 vm_cache_way = bin(vm_bit_map).count('1')
/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/
A DCAT.vue58 …CAT_INFO.summary[CACHE_ALLOCATION.level].count > 1 ? ' Module ' + CAT_INFO.summary[CACHE_ALLOCATIO…
149 function count(source, target) {
/misc/config_tools/library/
A Dscenario_cfg_lib.py347 if cpus_vm_i.count(cpu_id) >= 2:
358 if pre_launch_cpus.count(pcpu) >= 2:
/misc/config_tools/board_inspector/smbiosparser/
A Dsmbios.py43 if types_present.count(types_present[index]) == 1:

Completed in 37 milliseconds