/trusty/kernel/lib/libc-ext/ |
D | uuid.c | 30 void uuid_to_str(const struct uuid* uuid, char* str) { in uuid_to_str() argument 31 sprintf(str, in uuid_to_str() 42 static bool parse_dash(const char** str) { in parse_dash() argument 43 if (**str != '-') { in parse_dash() 47 *str += 1; in parse_dash() 51 static bool parse_hex_digit(const char** str, uint8_t* dst) { in parse_hex_digit() argument 54 c = **str; in parse_hex_digit() 55 *str += 1; in parse_hex_digit() 70 static bool parse_u8(const char** str, uint8_t* dst) { in parse_u8() argument 74 if (!parse_hex_digit(str, &msn)) { in parse_u8() [all …]
|
/trusty/vendor/google/aosp/scripts/ |
D | genReport.py | 31 llvmProfdataBin = str(str(os.path.join(llvmDir, "./llvm-profdata"))) 40 llvmCovBin = str(str(os.path.join(llvmDir, "./llvm-cov"))) 49 llvmCovBin = str(str(os.path.join(llvmDir, "./llvm-cov"))) 63 type=str, 70 type=str, 77 type=str, 83 type=str, 89 type=str, 104 profrawFiles = [str(os.path.join(args.profraw_dir, f))
|
D | run_tests.py | 55 test: str 59 def __init__(self, test: str, status: Optional[int], retried: bool): argument 72 def __format__(self, _format_spec: str) -> str: argument 242 def test_should_run(testname: str, test_filters: Optional[list[re.Pattern]]): argument 263 projects: list[str], argument 266 ) -> list[str]: 280 def has_test(name: str): argument 303 project: str, argument 350 def print_test_command(name, cmd: Optional[list[str]] = None): argument 492 projects: list[str], argument [all …]
|
D | build.py | 69 f.write(str(num)) 74 return getpass.getuser() + "@" + os.uname()[1] + "-" + str(num) 362 print(str(failed)) 442 def time_from_bytes(f, n: int) -> str: 620 test_obj["type"] = str(test.port_type) 671 type=str, 684 type=str, 694 parser.add_argument("--buildid", type=str, help="Server build id") 697 type=str, 703 type=str, [all …]
|
D | trusty_build_config.py | 124 cmd += ['--timeout', str(timeout)] 161 cmd += ['--timeout', str(self.timeout)] if self.timeout else [] 202 def __init__(self, name: str, argument 365 default_key_paths: List[str], argument 366 project_overrides: Optional[Dict[str, List[str]]] = None): argument 434 def signing_keys(self, project_name: str): argument 464 print(" " + str(test.command)) 581 assert m.group(1) == str(i + 1)
|
/trusty/user/app/sample/prebuilts-test/ |
D | main.c | 25 char str[16]; in TEST() local 27 rc = get_foo(str, sizeof(str)); in TEST() 30 rc = strcmp(str, foo); in TEST()
|
/trusty/kernel/app/pactest/ |
D | pactest_arm64.S | 44 str x0, [x2] 61 str x0, [x2] 79 str x0, [x2] 96 str x0, [x2]
|
/trusty/user/app/keymint/secure_storage_manager/ |
D | software.rs | 28 const RSA_ATTEST_KEY: &str = concat!( 100 const RSA_ATTEST_CERT: &str = concat!( 173 const RSA_ATTEST_ROOT_CERT: &str = concat!( 215 const EC_ATTEST_KEY: &str = concat!( 263 const EC_ATTEST_CERT: &str = concat!( 326 const EC_ATTEST_ROOT_CERT: &str = concat!( 412 pub fn hex_decode(hex: &str) -> Result<Vec<u8>, String> { in hex_decode()
|
/trusty/kernel/lib/libc-ext/include/trusty/ |
D | uuid.h | 41 void uuid_to_str(const struct uuid* uuid, char* str); 51 __attribute__((warn_unused_result)) int str_to_uuid(const char* str,
|
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/ |
D | metrics_atoms_protoc_plugin.py | 77 def snake_case(s: str): argument 88 name: str 98 name: str 119 type_name: str) -> 'VendorAtomValueTag': argument 166 name: str 239 name: str 251 enums: Dict[str, VendorAtomEnum] 259 def snake_case(cls, s: str): argument 263 def assert_reverse_domain_name_field(msg_dict: Dict[str, DescriptorProto], argument 286 def make_atom(msg_dict: Dict[str, DescriptorProto], argument [all …]
|
/trusty/user/base/lib/unittest-rust/src/ |
D | types.rs | 73 StaticTestName(&'static str), 75 AlignedTestName(Cow<'static, str>, NamePadding), 79 pub fn as_slice(&self) -> &str { in as_slice() argument 159 pub ignore_message: Option<&'static str>, 164 pub source_file: &'static str, 187 pub fn test_mode(&self) -> Option<&'static str> { in test_mode() argument
|
D | asserts.rs | 96 result: &'static str, in assert_err() argument 106 result: &'static str, in assert_err_inner() argument 131 pub fn simple_assert_failed(cond: &'static str, args: Option<fmt::Arguments<'_>>) { in simple_assert_failed() argument
|
D | lib.rs | 58 static TEST_PORT: &'static str; variable 84 pub static TEST_PORT: &'static str = env!( 96 Message(&'m str), 178 fn print_status(test: &TestDesc, msg: &str) { in print_status() argument
|
/trusty/user/base/lib/storage/rust/src/ |
D | transaction.rs | 62 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file() argument 162 pub fn rename(&mut self, from: &str, to: &str) -> Result<(), Error> { in rename() argument 175 pub fn remove(&mut self, name: &str) -> Result<(), Error> { in remove()
|
D | lib.rs | 234 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file() argument 250 name: &str, in open_file_impl() argument 301 pub fn read<'buf>(&mut self, path: &str, buf: &'buf mut [u8]) -> Result<&'buf [u8], Error> { in read() argument 322 pub fn write(&mut self, path: &str, buf: &[u8]) -> Result<(), Error> { in write() argument 541 pub fn rename(&mut self, from: &str, to: &str) -> Result<(), Error> { in rename() argument 548 fn rename_impl(&mut self, from: &str, to: &str, complete: bool) -> Result<(), Error> { in rename_impl() argument 583 pub fn remove(&mut self, name: &str) -> Result<(), Error> { in remove() 590 fn remove_impl(&mut self, name: &str, complete: bool) -> Result<(), Error> { in remove_impl() argument
|
/trusty/kernel/lib/memlog/ |
D | memlog.c | 76 static void __memlog_write(struct memlog* log, const char* str, size_t len) { in __memlog_write() argument 93 *ptr = str[i]; in __memlog_write() 97 static void memlog_write(struct memlog* log, const char* str, size_t len) { in memlog_write() argument 105 __memlog_write(log, &str[i * chunk_size], chunk_size); in memlog_write() 109 __memlog_write(log, &str[i * chunk_size], rem); in memlog_write() 150 void memlog_print_callback(print_callback_t* cb, const char* str, size_t len) { in memlog_print_callback() argument 152 memlog_write(log, str, len); in memlog_print_callback()
|
/trusty/user/app/storage/ |
D | debug.h | 30 #define TRACEFF(f, str, x...) \ argument 32 fprintf(f, "%s():%d: " str, __func__, __LINE__, ##x); \
|
D | crypt.c | 166 uint64_t str_hash(const char* str) { in str_hash() argument 168 size_t len = strlen(str); in str_hash() 172 evp_ret = EVP_Digest(str, len, md, NULL, EVP_sha1(), NULL); in str_hash()
|
/trusty/user/base/lib/apploader_package/include/apploader/ |
D | cbor.h | 379 void encodeTstr(const std::basic_string_view<char> str) { in encodeTstr() argument 380 size_t len = str.size(); in encodeTstr() 386 void encodeTstr(const char* str) { in encodeTstr() argument 387 size_t len = strlen(str); in encodeTstr() 393 void encodeBstr(const std::string& str) { in encodeBstr() argument 394 encodeBstr(reinterpret_cast<const uint8_t*>(str.data()), in encodeBstr() 395 str.size()); in encodeBstr() 587 void encodeTstr(const char* str) { in encodeTstr() argument 588 const std::string_view view(str); in encodeTstr() 592 void encodeTstr(const std::string_view str) { in encodeTstr() argument [all …]
|
/trusty/kernel/lib/sm/arch/arm/ |
D | entry.S | 101 str r0, [r5, #__MMU_INITIAL_MAPPING_SIZE_OFFSET] 108 str r4, [r5, #__MMU_INITIAL_MAPPING_PHYS_OFFSET]
|
/trusty/kernel/lib/mmutest/ |
D | mmutest_arm64.S | 68 str wzr, [x0] 98 str w3, [x0]
|
/trusty/user/app/keymint/unauthorized_test_app/ |
D | lib.rs | 31 const KM_SEC_TIPC_SRV_PORT: &str = "com.android.trusty.keymaster.secure"; in test_access_policy_unauthorized()
|
/trusty/kernel/lib/sm/arch/arm64/ |
D | entry.S | 44 str x7, [x9], #8
|
/trusty/user/app/sample/rust-hello-world/ |
D | lib.rs | 25 const HELLO_TRUSTY_PORT_NAME: &str = "com.android.trusty.hello"; 135 let inputmsg = std::str::from_utf8(&msg.message).map_err(|e| { in on_message() 231 let deserializedstr = std::str::from_utf8(&buf[2..]) in hello_world_test()
|
/trusty/kernel/lib/syscall/arch/arm64/ |
D | syscall.S | 61 str x0, [x1, 0]
|