Home
last modified time | relevance | path

Searched refs:args (Results 1 – 16 of 16) sorted by relevance

/SCP-firmware-master/unit_test/unity_mocks/
A Dscp_unity.c20 va_list args; in __wrap_fwk_log_printf() local
21 va_start(args, format); in __wrap_fwk_log_printf()
22 vsnprintf(buffer, sizeof(buffer), format, args); in __wrap_fwk_log_printf()
24 va_end(args); in __wrap_fwk_log_printf()
/SCP-firmware-master/tools/
A Dyaml-format.py76 args = parser.parse_args()
82 for source in args.sources:
95 if ("in_place" in args) and args.in_place:
97 elif ("output" in args) and args.output:
98 ostream = open(args.output, "w")
102 if args.command == "diff":
104 if not args.quiet:
107 if args.check:
119 elif args.command == "format":
A Dcheck_style.py116 args = parser.parse_args(argv)
119 if args.path:
120 script_path = args.path
126 if not args.spacing:
129 if not args.length:
132 if not args.initializers:
142 if args.input_mode == 'project':
155 elif args.input_mode == 'stdin':
A Dcheck_spacing.py91 args = parser.parse_args(argv)
94 if args.trim:
96 if args.correct:
164 if args.trim:
179 if args.correct:
187 if args.trim:
207 if args.trim and (trailing_spaces or trailing_lines) != 0:
210 if args.correct and incorrect_spaces != 0:
238 if (args.trim or args.correct) and modified_files:
A Dgen_module_code.py124 args = parser.parse_args()
126 modules = args.modules
128 generate_header(args.path, modules)
129 generate_c(args.path, modules)
A Dcheck_tabs.py81 args = parser.parse_args(argv)
84 if args.convert:
138 if args.convert:
A Dci_cmake.py231 args = parse_args() variable
232 sys.exit(main(args.ignore_errors, args.skip_container, args.log_level,
233 args.output_path))
/SCP-firmware-master/arch/arm/armv8-a/src/
A Darch_libc.c115 static int handle_num(char type, char *buf, va_list *args) in handle_num() argument
122 uint_num = va_arg(*args, unsigned int); in handle_num()
126 int_num = va_arg(*args, int); in handle_num()
130 uint_num = va_arg(*args, unsigned int); in handle_num()
171 s = va_arg(args, char *); in vsnprintf()
224 if (handle_num(*pos, num_buf, &args)) in vsnprintf()
232 va_arg(args, unsigned int); in vsnprintf()
264 va_list args; in snprintf() local
265 va_start(args, format); in snprintf()
266 counter = vsnprintf(str, size, format, args); in snprintf()
[all …]
/SCP-firmware-master/framework/src/
A Dfwk_log.c92 va_list *args) in fwk_log_vsnprintf() argument
141 length += vsnprintf(buffer + length, buffer_size - length, format, *args); in fwk_log_vsnprintf()
172 va_list args; in fwk_log_snprintf() local
174 va_start(args, format); in fwk_log_snprintf()
175 fwk_log_vsnprintf(buffer_size, buffer, format, &args); in fwk_log_snprintf()
176 va_end(args); in fwk_log_snprintf()
217 va_list args; in fwk_log_printf() local
232 va_start(args, format); in fwk_log_printf()
233 fwk_log_vsnprintf(sizeof(buffer), buffer, format, &args); in fwk_log_printf()
234 va_end(args); in fwk_log_printf()
A Dfwk_io.c330 va_list args) in fwk_io_vprintf() argument
343 va_copy(length_args, args); in fwk_io_vprintf()
356 length = vsnprintf(buffer, (size_t)(length + 1), format, args); in fwk_io_vprintf()
375 va_list args; in fwk_io_printf() local
377 va_start(args, format); in fwk_io_printf()
378 status = fwk_io_vprintf(stream, format, args); in fwk_io_printf()
379 va_end(args); in fwk_io_printf()
/SCP-firmware-master/debugger/src/cli/
A Dcli.c334 va_list *args);
536 va_list args; in cli_snprintf() local
538 va_start(args, fmt); in cli_snprintf()
539 cli_snprintf_arg(s, smax, fmt, &args); in cli_snprintf()
540 va_end(args); in cli_snprintf()
1212 if (args == 0) in cli_command_dispatch()
1216 if (cli_strncmp(args[0], "help", 5) == 0) { in cli_command_dispatch()
1263 (args[index] != 0) && (cli_strncmp(args[index], "-h", 3) != 0) && in cli_command_dispatch()
1368 va_list *args) in cli_snprintf_arg() argument
1401 num = va_arg(*args, int32_t); in cli_snprintf_arg()
[all …]
/SCP-firmware-master/module/
A DCMakeLists.txt180 set(args "${ARGN}") variable
184 if("SCP_MODULE" IN_LIST args)
192 string(REPLACE "SCP_MODULE" "INTERFACE" args "${args}")
194 string(REPLACE "SCP_MODULE" "" args "${args}")
200 _add_library(${target} ${args})
211 set(args "${ARGN}") variable
237 set(args "${scp_${CMAKE_CURRENT_FUNCTION}_UNPARSED_ARGUMENTS}") variable
238 string(REPLACE "PUBLIC" "INTERFACE" args "${args}")
241 if(args)
242 cmake_language(CALL _${CMAKE_CURRENT_FUNCTION} ${target} ${args})
/SCP-firmware-master/framework/include/
A Dfwk_io.h439 va_list args);
/SCP-firmware-master/unit_test/unity_mocks/mocks/
A DMockfwk_io.h175 …_ExpectAndReturn(stream, format, args, cmock_retval) fwk_io_vprintf_CMockExpectAndReturn(__LINE__,… argument
176 …ock_line, const struct fwk_io_stream* stream, const char* format, va_list args, int cmock_to_retur…
177 …CALLBACK)(const struct fwk_io_stream* stream, const char* format, va_list args, int cmock_num_call…
181 …stream_Depth, format, args, cmock_retval) fwk_io_vprintf_CMockExpectWithArrayAndReturn(__LINE__, s… argument
182 …ruct fwk_io_stream* stream, int stream_Depth, const char* format, va_list args, int cmock_to_retur…
A DMockfwk_io.c1499 int fwk_io_vprintf(const struct fwk_io_stream* stream, const char* format, va_list args) in fwk_io_vprintf() argument
1517 …int cmock_cb_ret = Mock.fwk_io_vprintf_CallbackFunctionPointer(stream, format, args, Mock.fwk_io_v… in fwk_io_vprintf()
1541 …UNITY_TEST_ASSERT_EQUAL_MEMORY((void*)(&cmock_call_instance->Expected_args), (void*)(&args), sizeo… in fwk_io_vprintf()
1546 …->ReturnVal = Mock.fwk_io_vprintf_CallbackFunctionPointer(stream, format, args, Mock.fwk_io_vprint… in fwk_io_vprintf()
1553 …l_instance, const struct fwk_io_stream* stream, int stream_Depth, const char* format, va_list args) in CMockExpectParameters_fwk_io_vprintf() argument
1560 memcpy((void*)(&cmock_call_instance->Expected_args), (void*)(&args), in CMockExpectParameters_fwk_io_vprintf()
1561 …sizeof(va_list[sizeof(args) == sizeof(va_list) ? 1 : -1])); /* add va_list to :treat_as_array if t… in CMockExpectParameters_fwk_io_vprintf()
1600 …ock_line, const struct fwk_io_stream* stream, const char* format, va_list args, int cmock_to_retur… in fwk_io_vprintf_CMockExpectAndReturn() argument
1610 CMockExpectParameters_fwk_io_vprintf(cmock_call_instance, stream, 1, format, args); in fwk_io_vprintf_CMockExpectAndReturn()
1628 …ruct fwk_io_stream* stream, int stream_Depth, const char* format, va_list args, int cmock_to_retur… in fwk_io_vprintf_CMockExpectWithArrayAndReturn() argument
[all …]
/SCP-firmware-master/
A DJenkinsfile69 args '-e ARMLMD_LICENSE_FILE'

Completed in 24 milliseconds