Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 27) sorted by relevance

12

/trusty/kernel/lib/libc-ext/
Duuid.c30 void uuid_to_str(const struct uuid* uuid, char* str) { in uuid_to_str()
42 static bool parse_dash(const char** str) { in parse_dash()
51 static bool parse_hex_digit(const char** str, uint8_t* dst) { in parse_hex_digit()
70 static bool parse_u8(const char** str, uint8_t* dst) { in parse_u8()
86 static bool parse_u16(const char** str, uint16_t* dst) { in parse_u16()
102 static bool parse_u32(const char** str, uint32_t* dst) { in parse_u32()
118 int str_to_uuid(const char* str, struct uuid* uuid) { in str_to_uuid()
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/
Dmetrics_atoms_protoc_plugin.py77 def snake_case(s: str):
119 type_name: str) -> 'VendorAtomValueTag':
259 def snake_case(cls, s: str):
263 def assert_reverse_domain_name_field(msg_dict: Dict[str, DescriptorProto],
286 def make_atom(msg_dict: Dict[str, DescriptorProto],
310 pkg: str = '') -> None:
312 def get_uri(type_name: str):
359 def process_data(data: bytes, pkg: str = '') -> None:
/trusty/vendor/google/aosp/scripts/
Drun_tests.py59 def __init__(self, test: str, status: Optional[int], retried: bool):
72 def __format__(self, _format_spec: str) -> str:
242 def test_should_run(testname: str, test_filters: Optional[list[re.Pattern]]):
263 projects: list[str],
280 def has_test(name: str):
303 project: str,
350 def print_test_command(name, cmd: Optional[list[str]] = None):
492 projects: list[str],
Dtrusty_build_config.py202 def __init__(self, name: str,
365 default_key_paths: List[str],
366 project_overrides: Optional[Dict[str, List[str]]] = None):
434 def signing_keys(self, project_name: str):
Dlog_processor.py84 def insert(self, key, val: tuple[str, bool]):
/trusty/user/base/lib/unittest-rust/src/
Dasserts.rs96 result: &'static str, in assert_err()
106 result: &'static str, in assert_err_inner()
131 pub fn simple_assert_failed(cond: &'static str, args: Option<fmt::Arguments<'_>>) { in simple_assert_failed()
Dtypes.rs79 pub fn as_slice(&self) -> &str { in as_slice()
187 pub fn test_mode(&self) -> Option<&'static str> { in test_mode()
Dlib.rs58 static TEST_PORT: &'static str; variable
178 fn print_status(test: &TestDesc, msg: &str) { in print_status()
/trusty/user/app/sample/prebuilts-test/
Dmain.c25 char str[16]; in TEST() local
/trusty/user/app/secretkeeper/
Dtests.rs28 fn port_connect(port_name: &str, secure: SecureConnections) { in port_connect()
Dlib.rs229 port_name: &str, in add_service_port()
/trusty/user/base/lib/storage/rust/src/
Dlib.rs234 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file()
250 name: &str, in open_file_impl()
301 pub fn read<'buf>(&mut self, path: &str, buf: &'buf mut [u8]) -> Result<&'buf [u8], Error> { in read()
322 pub fn write(&mut self, path: &str, buf: &[u8]) -> Result<(), Error> { in write()
541 pub fn rename(&mut self, from: &str, to: &str) -> Result<(), Error> { in rename()
548 fn rename_impl(&mut self, from: &str, to: &str, complete: bool) -> Result<(), Error> { in rename_impl()
590 fn remove_impl(&mut self, name: &str, complete: bool) -> Result<(), Error> { in remove_impl()
Dtransaction.rs62 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file()
162 pub fn rename(&mut self, from: &str, to: &str) -> Result<(), Error> { in rename()
/trusty/kernel/lib/memlog/
Dmemlog.c76 static void __memlog_write(struct memlog* log, const char* str, size_t len) { in __memlog_write()
97 static void memlog_write(struct memlog* log, const char* str, size_t len) { in memlog_write()
150 void memlog_print_callback(print_callback_t* cb, const char* str, size_t len) { in memlog_print_callback()
/trusty/user/base/lib/apploader_package/include/apploader/
Dcbor.h379 void encodeTstr(const std::basic_string_view<char> str) { in encodeTstr()
386 void encodeTstr(const char* str) { in encodeTstr()
393 void encodeBstr(const std::string& str) { in encodeBstr()
587 void encodeTstr(const char* str) { in encodeTstr()
592 void encodeTstr(const std::string_view str) { in encodeTstr()
597 void encodeBstr(const std::string& str) { in encodeBstr()
/trusty/device/arm/generic-arm64/project/qemu/
Drun.py70 def run_test(runner: qemu.Runner, cmd: List[str]) -> int:
/trusty/user/app/storage/
Ddebug.h30 #define TRACEFF(f, str, x...) \ argument
Dcrypt.c166 uint64_t str_hash(const char* str) { in str_hash()
/trusty/kernel/app/consoletest/
Dconsoletest.c45 const char* str, in test_print_callback()
/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs246 name: &str, in parse_cborium_bytes_to_fixed_array()
267 value_name: &str, in parse_cborium_u32()
/trusty/user/base/lib/trusty-std/src/ffi/
Dc_str.rs142 impl SpecIntoVec for &'_ str { in try_new() implementation
/trusty/user/app/storage/test/storage-unittest-aidl/unittests/
Dhelpers.rs15 fname: &str, in ensure_deleted()
/trusty/user/app/keymaster/
Dopenssl_keymaster_enforcement.cpp137 inline keymaster_blob_t toBlob(const char* str) { in toBlob()
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp284 keymaster_blob_t toBlob(const char* str) { in toBlob()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp398 keymaster_blob_t toBlob(const char* str) { in toBlob()

12