/openthread-latest/tests/scripts/thread-cert/pktverify/ |
D | utils.py | 39 def make_filter_func(func: Union[str, Callable], **vars) -> Callable: 47 if isinstance(func, str): 49 func = func.format_map({k: repr(v) for k, v in vars.items()}).strip() 50 print("\t%s" % func, file=sys.stderr) 51 code = compile('(\n' + func + '\n)', func, "eval") 53 def func(p): function 79 assert not vars, 'can not provide vars for non-str filter: %r %r' % (func, vars) 81 assert callable(func) 82 return func
|
D | packet.py | 126 def verify(self, func: Union[str, Callable], **vars) -> bool: 128 func = make_filter_func(func, **vars) 129 ok = func(self) 133 def must_verify(self, func: Union[str, Callable], **vars): 134 if not self.verify(func, **vars): 140 def must_not_verify(self, func: Union[str, Callable], **vars): 141 if self.verify(func, **vars):
|
D | packet_filter.py | 148 def filter(self, func, cascade=True, **vars) -> 'PacketFilter': argument 161 func = make_filter_func(func, **vars) 166 filter_func=lambda p: self._filter_func(p) and func(p),
|
/openthread-latest/tools/otci/otci/ |
D | utils.py | 45 def cached(func): argument 47 prop_name = '__cached_' + func.__name__ 49 @functools.wraps(func) 54 val = func(self) 61 def constant_property(func): argument 63 return property(cached(func))
|
/openthread-latest/third_party/mbedtls/repo/tests/src/ |
D | psa_crypto_helpers.c | 108 const char *func, in mbedtls_test_record_status() argument 120 fprintf(log, "%d:%s:%s:%d:%s\n", (int) status, func, file, line, expr); in mbedtls_test_record_status()
|
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/Sniffer/ |
D | SimSniffer.py | 76 func = replaceFuncs.get((msg, title)) 77 if func is None: 80 return func()
|
/openthread-latest/third_party/mbedtls/repo/tests/include/test/ |
D | psa_crypto_helpers.h | 144 const char *func,
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ctr_drbg.function | 164 goto exit; // goto is needed to avoid warning ( no test assertions in func) 180 goto exit; // goto is needed to avoid warning ( no test assertions in func) 195 goto exit; // goto is needed to avoid warning ( no test assertions in func) 210 goto exit; // goto is needed to avoid warning ( no test assertions in func)
|
D | test_suite_asn1write.function | 394 int (*func)(unsigned char **p, const unsigned char *start, 434 ret = (*func)(&data.p, data.start, bitstring->x, bits);
|
D | test_suite_psa_crypto.function | 2131 psa_key_attributes_t func = psa_key_attributes_init(); 2137 TEST_EQUAL(psa_get_key_lifetime(&func), PSA_KEY_LIFETIME_VOLATILE); 2141 TEST_EQUAL(psa_get_key_type(&func), 0); 2145 TEST_EQUAL(psa_get_key_bits(&func), 0); 2149 TEST_EQUAL(psa_get_key_usage_flags(&func), 0); 2153 TEST_EQUAL(psa_get_key_algorithm(&func), 0); 2940 psa_hash_operation_t func = psa_hash_operation_init(); 2947 TEST_EQUAL(psa_hash_update(&func, input, sizeof(input)), 2955 PSA_ASSERT(psa_hash_abort(&func)); 3460 psa_mac_operation_t func = psa_mac_operation_init(); [all …]
|
/openthread-latest/tools/harness-thci/ |
D | OpenThread.py | 113 def watched(func): argument 114 func_name = func.func_name 116 @functools.wraps(func) 124 ret = func(self, *args, **kwargs) 141 def deco(func): argument 143 @functools.wraps(func) 147 return func(*args, **kwargs) 168 def commissioning(func): argument 170 @functools.wraps(func) 174 return func(self, *args, **kwargs)
|
/openthread-latest/doc/ |
D | Doxyfile.in | 342 # definitions whose arguments contain STL classes (e.g. func(std::string); 343 # versus func(std::string) {}). This also make the inheritance and collaboration
|