Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 213) sorted by relevance

123456789

/openthread-3.4.0/third_party/nlbuild-autotools/repo/make/pre/macros/
Dgit.mak6 # you may not use this file except in compliance with the License.
20 # This file is the make "header" or pre make header that defines make
24 # nlGitGetConfigFromFileCommand <file>
26 # Command to get a value for a variable set in the specified git config file <file>.
28 nlGitGetConfigFromFileCommand = $(GIT) config --file $(1)
30 # nlGitListConfigFromFileCommand <file>
32 # Command to list all variables set in the specified config file <file>
36 # nlGitGetConfigFromFile <file>
38 # Get a value for a variable set in the specified git config file <file>.
42 # nlGitListConfigFromFile <file>
[all …]
/openthread-3.4.0/script/
Dclang-format-check47 for file in "$@"; do
48 echo "Checking ${file}"
49 …"$(dirname "$0")"/clang-format -style=file "${file}" | diff -u "${file}" - || die "${file} is not …
50 [ -z "$(tail -c1 "${file}")" ] || die "${file} misses EOF newline."
Dcheck-size230 for file in "${bins[@]}"; do
231 … "${OT_TMP_DIR}"/a/"${build_dir}"/bin/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
232 … "${OT_TMP_DIR}"/a/"${build_dir}"/bin/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
233 … "${OT_TMP_DIR}"/a/"${build_dir}"/bin/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
236 for file in "${libs[@]}"; do
237 … "${OT_TMP_DIR}"/a/"${build_dir}"/lib/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
238 … "${OT_TMP_DIR}"/a/"${build_dir}"/lib/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
239 … "${OT_TMP_DIR}"/a/"${build_dir}"/lib/"${file}"_"${thread_version}" "${OT_TMP_DIR}"/b/"${build_dir…
/openthread-3.4.0/third_party/mbedtls/repo/library/
Ddebug.c60 const char *file, int line, in debug_send_line() argument
71 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
73 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
79 const char *file, int line, in mbedtls_debug_print_msg() argument
104 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
108 const char *file, int line, in mbedtls_debug_print_ret() argument
132 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
136 const char *file, int line, const char *text, in mbedtls_debug_print_buf() argument
154 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
168 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
[all …]
Dplatform.c285 FILE *file; in mbedtls_platform_std_nv_seed_read() local
288 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "rb" ) ) == NULL ) in mbedtls_platform_std_nv_seed_read()
291 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
293 fclose( file ); in mbedtls_platform_std_nv_seed_read()
298 fclose( file ); in mbedtls_platform_std_nv_seed_read()
304 FILE *file; in mbedtls_platform_std_nv_seed_write() local
307 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "w" ) ) == NULL ) in mbedtls_platform_std_nv_seed_write()
310 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
312 fclose( file ); in mbedtls_platform_std_nv_seed_write()
316 fclose( file ); in mbedtls_platform_std_nv_seed_write()
Dentropy_poll.c167 FILE *file; in mbedtls_platform_entropy_poll() local
187 ((void) file); in mbedtls_platform_entropy_poll()
197 file = fopen( "/dev/urandom", "rb" ); in mbedtls_platform_entropy_poll()
198 if( file == NULL ) in mbedtls_platform_entropy_poll()
201 read_len = fread( output, 1, len, file ); in mbedtls_platform_entropy_poll()
204 fclose( file ); in mbedtls_platform_entropy_poll()
208 fclose( file ); in mbedtls_platform_entropy_poll()
/openthread-3.4.0/third_party/nlbuild-autotools/repo/third_party/autoconf/
Dar-lib47 file=$1
48 case $file in
66 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
69 file=`cygpath -m "$file" || echo "$file"`
72 file=`winepath -w "$file" || echo "$file"`
107 Members may be specified in a file named with @FILE.
148 archive=$file
204 $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $?
222 $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
248 set x "$@" "@$file"
[all …]
Dmkinstalldirs59 for file
61 if test -d "$file"; then
107 for file
109 case $file in
115 set fnord $file
Dpy-compile105 pathtrans="path = file"
107 pathtrans="path = os.path.join('$basedir', file)"
124 for file in files.split():
130 sys.stdout.write(file)
148 for file in files.split():
154 sys.stdout.write(file)
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_hmac_drbg.misc.data21 HMAC_DRBG write/update seed file SHA-1 [#1]
25 HMAC_DRBG write/update seed file SHA-1 [#2]
27 hmac_drbg_seed_file:MBEDTLS_MD_SHA1:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
29 HMAC_DRBG write/update seed file SHA-224 [#1]
33 HMAC_DRBG write/update seed file SHA-224 [#2]
35 hmac_drbg_seed_file:MBEDTLS_MD_SHA224:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
37 HMAC_DRBG write/update seed file SHA-256 [#1]
41 HMAC_DRBG write/update seed file SHA-256 [#2]
43 hmac_drbg_seed_file:MBEDTLS_MD_SHA256:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
45 HMAC_DRBG write/update seed file SHA-384 [#1]
[all …]
Dtest_suite_debug.function11 void string_debug(void *data, int level, const char *file, int line, const char *str)
17 memcpy( p, file, strlen( file ) );
18 p += strlen( file );
51 void debug_print_msg_threshold( int threshold, int level, char * file,
68 mbedtls_debug_print_msg( &ssl, level, file, line,
80 void mbedtls_debug_print_ret( char * file, int line, char * text, int value,
96 mbedtls_debug_print_ret( &ssl, 0, file, line, text, value);
107 void mbedtls_debug_print_buf( char * file, int line, char * text,
124 mbedtls_debug_print_buf( &ssl, 0, file, line, text, data->x, data->len );
135 void mbedtls_debug_print_crt( char * crt_file, char * file, int line,
[all …]
/openthread-3.4.0/third_party/nlbuild-autotools/repo/automake/pre/macros/
Dcoverage.am5 # you may not use this file except in compliance with the License.
19 # This file defines automake variables and macros common to all
31 # Suffix for the lcov "info" file inside the code coverage report bundle.
63 # with an final output "info" file as specified by the target variable.
67 # - create baseline coverage data file (base.info) with '-i|--initial' option
68 # - create test coverage data file (test.info)
69 # - combine baseline and test coverage data to create the final "info" file
74 …_LCOV_FLAGS) --config-file="$(abs_top_nlbuild_autotools_dir)/etc/lcov.config" --initial --capture …
75 …(NL_V_LCOV_FLAGS) --config-file="$(abs_top_nlbuild_autotools_dir)/etc/lcov.config" --capture --dir…
76 …AGS) --config-file="$(abs_top_nlbuild_autotools_dir)/etc/lcov.config" --add-tracefile "base.info" …
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md21 * [PSA ITS](#file-namespace-on-its-for-0.1.0)
22 * [C stdio](#file-namespace-on-stdio-for-0.1.0)
26 * [Persistent transparent keys](#key-file-format-for-0.1.0) designated by a [slot number](#key-name…
27 * [Nonvolatile random seed](#nonvolatile-random-seed-file-format-for-0.1.0) on ITS only.
31 …olatile random seed file produced with Mbed OS 5.11.x and is upgraded to a later version of Mbed O…
33 We do not make any promises regarding key storage, or regarding the nonvolatile random seed file on…
37file whose name is constructed from the key identifier. The way in which the file name is construc…
47 ### Key file format for 0.1.0
51 The layout of a key file is:
62 ### Nonvolatile random seed file format for 0.1.0
[all …]
/openthread-3.4.0/third_party/jlink/SEGGER_RTT_V640/Syscalls/
DSEGGER_RTT_Syscalls_GCC.c86 int _write(int file, char *ptr, int len);
87 int _write_r(struct _reent *r, int file, const void *ptr, int len);
106 int _write(int file, char *ptr, int len) { in _write() argument
107 (void) file; /* Not used, avoid warning */ in _write()
122 int _write_r(struct _reent *r, int file, const void *ptr, int len) { in _write_r() argument
123 (void) file; /* Not used, avoid warning */ in _write_r()
/openthread-3.4.0/third_party/nlbuild-autotools/repo/make/host/tools/
Dtools.mak6 # you may not use this file except in compliance with the License.
20 # This file is the generic "header" or pre make header for all
80 # nl-check-file-with-subroutine <subroutine prefix> <macro suffix>
82 # Check whether a file, referenced by the $(@) variable, should be
84 # $(<) variable by running the make macro check-file-<macro suffix>.
87 # it and the prospective new output file, which the macro MUST
98 # make macro to invoke to actually check the file.
102 # make macro to invoke to actually check the file.
105 define nl-check-file-with-subroutine
116 endef # nl-check-file
[all …]
/openthread-3.4.0/third_party/nlbuild-autotools/repo/automake/pre/
Dmacros.am6 # you may not use this file except in compliance with the License.
20 # This file defines automake macros common to all other automake
51 # check-file <macro suffix>
53 # Check whether a file, referenced by the $(@) variable, should be
55 # $(<) variable by running the make macro check-file-<macro suffix>.
58 # it and the prospective new output file, which the macro MUST
62 # prior to invoking check-file-<macro suffix>.
67 # <macro suffix> - The name, suffixed to "check-file-", which indicates
71 define check-file
72 $(call nl-check-file-with-subroutine,check-file,$(1))
[all …]
/openthread-3.4.0/src/posix/platform/
Dentropy.cpp98 FILE *file = nullptr; in otPlatEntropyGet() local
103 file = fopen("/dev/urandom", "rb"); in otPlatEntropyGet()
104 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in otPlatEntropyGet()
106 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
111 if (file != nullptr) in otPlatEntropyGet()
113 fclose(file); in otPlatEntropyGet()
Dutils.cpp58 FILE *file; in ExecuteCommand() local
66 file = popen(cmd, "r"); in ExecuteCommand()
67 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in ExecuteCommand()
68 while (fgets(buf, sizeof(buf), file)) in ExecuteCommand()
77 exitCode = pclose(file); in ExecuteCommand()
/openthread-3.4.0/examples/platforms/simulation/
Dentropy.c96 FILE *file = NULL; in otPlatEntropyGet() local
101 file = fopen("/dev/urandom", "rb"); in otPlatEntropyGet()
102 otEXPECT_ACTION(file != NULL, error = OT_ERROR_FAILED); in otPlatEntropyGet()
104 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
109 if (file != NULL) in otPlatEntropyGet()
111 fclose(file); in otPlatEntropyGet()
/openthread-3.4.0/third_party/mbedtls/repo/docs/architecture/testing/
Dtest-framework.md13 … the test does. The first non-comment line of each paragraph in a `.data` file is the test descrip…
16 … that process test descriptions (`generate_test_code.py`, [outcome file](#outcome-file) tools) sim…
17 * Test descriptions must be unique within a `.data` file. If you can't think of a better descriptio…
18 …a failure log to the test data. Avoid confusion between cases in the [outcome file](#outcome-file).
39 ### Outcome file
41 #### Generating an outcome file argument
43 … outcome file**. This feature is enabled if the environment variable `MBEDTLS_TEST_OUTCOME_FILE` i…
45 If you run `all.sh --outcome-file test-outcome.csv`, this collects the outcome of all the test case…
47 #### Outcome file format argument
49 The outcome file is in a CSV format using `;` (semicolon) as the delimiter and no quoting. This mea…
[all …]
/openthread-3.4.0/third_party/nlbuild-autotools/repo/
DMakefile97 _NL_V_COPY_0 = @for file in $(DISTFILES); do echo " COPY $${file}"; done;
126 define check-file
130 $(call check-file-$(1),$(<),$(@).N); \
151 define check-file-.local-version
169 define check-file-.dist-version
183 $(call check-file,$(@F))
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/
Dhelpers.c284 const char *file, in mbedtls_param_failed() argument
289 param_failed_ctx.location_record.file = file; in mbedtls_param_failed()
313 const char *file, int line ) in mbedtls_test_err_add_check() argument
333 line, file ); in mbedtls_test_err_add_check()
341 line, file ); in mbedtls_test_err_add_check()
349 line, file ); in mbedtls_test_err_add_check()
357 line, file ); in mbedtls_test_err_add_check()
362 line, file ); in mbedtls_test_err_add_check()
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Ddebug.h169 const char *file, int line,
188 const char *file, int line,
209 const char *file, int line, const char *text,
230 const char *file, int line,
252 const char *file, int line,
273 const char *file, int line,
302 const char *file, int line,
/openthread-3.4.0/third_party/nlbuild-autotools/repo/examples/
DMakefile-toplevel.am6 # you may not use this file except in compliance with the License.
20 # This file is the GNU automake template for the @PACKAGE_DESCRIPTION@.
56 # .default-version - The default package version. This file is ALWAYS checked
60 # .dist-version - The distributed package version. This file is NEVER
65 # file is NEVER checked in within the upstream repository,
69 # When present, the .local-version file is preferred first, the
101 # check-file-.local-version
106 # If @PACKAGE_SHORT_UPPER@_VERSION has been supplied anywhere other than in this file
110 # This is called from $(call check-file,.local-version).
112 define check-file-.local-version
[all …]
/openthread-3.4.0/third_party/nlbuild-autotools/repo/scripts/
Dmkskeleton92 local file="${3}"
99 if [ -r "${nlbuild}/examples/${file}" ]; then
100 from="${nlbuild}/examples/${file}"
109 echo "Cannot find an example file \"${file}\" for directory \"${directory}\"."
114 to="${directory}/${file}"

123456789