Home
last modified time | relevance | path

Searched refs:n (Results 1 – 23 of 23) sorted by relevance

/trusty/user/base/lib/libc-trusty/
Dtime_stubs.c29 size_t n, in strftime_l() argument
33 if (n) { in strftime_l()
40 size_t n, in strftime() argument
43 return strftime_l(s, n, f, tm, 0); in strftime()
/trusty/user/app/sample/hwrng-unittest/
Dmain.c101 const int64_t n = (NB_RNG_QUERIES * LEN_BYTES_RNG_QUERIES * 8); in cumulative_sums_forward_test_helper() local
103 n >= 100, in cumulative_sums_forward_test_helper()
127 int64_t start = ((-(double)n / (double)z) + 1.0) / 4.0; in cumulative_sums_forward_test_helper()
128 int64_t end = (((double)n / (double)z) + 1.0) / 4.0; in cumulative_sums_forward_test_helper()
129 int64_t start2 = ((-(double)n / (double)z) - 3.0) / 4.0; in cumulative_sums_forward_test_helper()
132 p -= phi(((4.0 * k + 1.0) * z) / sqrt(n)); in cumulative_sums_forward_test_helper()
133 p += phi(((4.0 * k - 1.0) * z) / sqrt(n)); in cumulative_sums_forward_test_helper()
136 p += phi(((4.0 * k + 3.0) * z) / sqrt(n)); in cumulative_sums_forward_test_helper()
137 p -= phi(((4.0 * k + 1.0) * z) / sqrt(n)); in cumulative_sums_forward_test_helper()
/trusty/device/arm/generic-arm64/project/qemu/
Dlldbinit3 breakpoint set -n trusty_thread_start -C trusty_thread_start_hook
5 breakpoint set -n relocate_kernel -C relocate_kernel_hook
DLLDB_README.md54 SS_ERR("fatal: unable to initialize proxy endpoint (%d)\n", rc);
/trusty/kernel/lib/tcrypto/include/lib/tcrypto/
Dtcrypto.h57 inline __OPTIMIZE(O0) void* tc_memset(void* p, int c, size_t n) { in __OPTIMIZE()
60 return memset(p, c, n); in __OPTIMIZE()
/trusty/kernel/include/shared/lk/
Dtrusty_unittest.h724 #define ASSERT_EXPECT_STRN_TEST(func, n, is_hard_fail, fail_action, args...) \ argument
725 ASSERT_EXPECT_TEST(func, func, (, ), (, n), is_hard_fail, fail_action, \
743 #define EXPECT_STRN_TEST(func, n, args...) \ argument
744 ASSERT_EXPECT_STRN_TEST(func, n, false, , args)
745 #define EXPECT_STREQN(val1, val2, n, args...) \ argument
746 EXPECT_STR_TEST(!strncmp, n, "==", val1, val2, args)
747 #define EXPECT_STRNEN(val1, val2, n, args...) \ argument
748 EXPECT_STR_TEST(strncmp, n, "!=", val1, val2, args)
749 #define EXPECT_STRCASEEQN(val1, val2, n, args...) \ argument
750 EXPECT_STR_TEST(!strncasecmp, n, "== (ignoring case)", val1, val2, args)
[all …]
/trusty/kernel/platform/vexpress-a15/include/platform/
Dvexpress-a15.h51 #define GICBASE(n) (GIC0 + (n)*0x10000) argument
/trusty/hardware/nxp/platform/imx/common/include/platform/
Dtzasc.h52 #define TZ_GET_REGION_ADDR(n) (TZ_REGION_BASE + (n * 0x10)) argument
/trusty/user/base/lib/hwkey/rust/src/
Dtest.rs166 OsRollbackVersion::Version(n) if n >= 1 => { in test_hwkey_derive_different_specified()
171 .os_rollback_version(OsRollbackVersion::Version(n - 1)) in test_hwkey_derive_different_specified()
244 OsRollbackVersion::Version(n) if n >= 1 => { in test_hwkey_derive_different_specified()
249 .os_rollback_version(OsRollbackVersion::Version(n - 1)) in test_hwkey_derive_different_specified()
299 OsRollbackVersion::Version(n) if n > 0 => { in test_hwkey_derive_different_version_source()
370 OsRollbackVersion::Version(n) => { in test_hwkey_derive_newer_versions()
376 .os_rollback_version(OsRollbackVersion::Version(n + 1)) in test_hwkey_derive_newer_versions()
391 OsRollbackVersion::Version(n) => { in test_hwkey_derive_newer_versions()
397 .os_rollback_version(OsRollbackVersion::Version(n + 1)) in test_hwkey_derive_newer_versions()
Dlib.rs337 n => Ok(OsRollbackVersion::Version(n.try_into()?)), in try_from()
/trusty/user/app/keymint/
Dkeys.rs67 Ok(OsRollbackVersion::Version(n)) => Ok(n), in os_rollback_version_to_u32()
74 OsRollbackVersion::Version(n) => Ok(n), in os_rollback_version_to_u32()
384 OsRollbackVersion::Version(n) => n, in kek_with_different_context_return_different_keys()
/trusty/kernel/lib/trusty/
Dtrusty_virtio.c272 void trusty_virtio_register_bus_notifier(struct trusty_virtio_bus_notifier* n) { in trusty_virtio_register_bus_notifier() argument
274 list_add_tail(&virtio_bus_notifier_list, &n->node); in trusty_virtio_register_bus_notifier()
281 struct trusty_virtio_bus_notifier* n; in on_create_virtio_bus() local
283 list_for_every_entry(&virtio_bus_notifier_list, n, in on_create_virtio_bus()
285 if (!n->on_create) { in on_create_virtio_bus()
288 ret = n->on_create(vb); in on_create_virtio_bus()
Dtrusty_virtio.h105 void trusty_virtio_register_bus_notifier(struct trusty_virtio_bus_notifier* n);
Dtrusty_app.c371 status_t trusty_register_app_notifier(struct trusty_app_notifier* n) { in trusty_register_app_notifier() argument
376 list_add_tail(&app_notifier_list, &n->node); in trusty_register_app_notifier()
1691 struct trusty_app_notifier* n; in trusty_app_start() local
1733 list_for_every_entry(&app_notifier_list, n, struct trusty_app_notifier, in trusty_app_start()
1735 if (!n->startup) in trusty_app_start()
1738 ret = n->startup(trusty_app); in trusty_app_start()
1772 if (n != NULL) { in trusty_app_start()
1773 n = list_prev_type(&app_notifier_list, &n->node, in trusty_app_start()
1776 n = list_peek_tail_type(&app_notifier_list, struct trusty_app_notifier, in trusty_app_start()
1780 while (n != NULL) { in trusty_app_start()
[all …]
/trusty/user/base/lib/secure_fb/srv/
Dsecure_fb_server.c294 int n = sprintf(port_name, "%s.%d", SECURE_FB_PORT_NAME, i); in add_secure_fb_service() local
295 if (n != SECURE_FB_MAX_PORT_NAME_SIZE - 1) { in add_secure_fb_service()
/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs283 Ok(OsRollbackVersion::Version(n)) => Ok(n), in get_service_current_version()
/trusty/user/base/lib/secure_fb/
Dsecure_fb.c70 int n = snprintf(port_name, sizeof(port_name), "%s.%d", SECURE_FB_PORT_NAME, in new_connected_session() local
72 if (n != SECURE_FB_MAX_PORT_NAME_SIZE - 1) { in new_connected_session()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dtrusty_app.h230 status_t trusty_register_app_notifier(struct trusty_app_notifier* n);
/trusty/vendor/google/aosp/scripts/
Dbuild.py442 def time_from_bytes(f, n: int) -> str:
444 rtime = int.from_bytes(f.read(n), byteorder="little")
445 width = 2 * n
Dtest-map470 command="nice -n -20 top -b -m 5 -n 11 -d 2 &"
/trusty/kernel/lib/ubsan/
Dexemptlist55 # Signature of memset is void* memset(void *s, int c, size_t n);
/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c2303 #define set_free_with_pinuse(p, s, n)\ argument
2304 (clear_pinuse(n), set_size_and_pinuse_of_free_chunk(p, s))
3026 #define ok_next(p, n) ((char*)(p) < (char*)(n)) argument
3034 #define ok_next(b, n) (1) argument
4869 mchunkptr n = chunk_plus_offset(r, dsize); in try_realloc_chunk() local
4872 clear_pinuse(n); in try_realloc_chunk()
/trusty/user/app/storage/
Dblock_tree.c3072 static double log_n(double n, double x) { in log_n() argument
3073 return log(x) / log(n); in log_n()