Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 79) sorted by relevance

1234

/system/core/healthd/
DAnimationParser.cpp40 bool remove_prefix(std::string_view line, const char* prefix, const char** rest) { in remove_prefix() argument
50 *rest = &str[start]; in remove_prefix()
92 const char* rest; in parse_animation_desc() local
96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc()
98 if (sscanf(rest, "%d %d %n%*s%n", &anim->num_cycles, &anim->first_frame_repeats, in parse_animation_desc()
104 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc()
106 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc()
107 anim->fail_file.assign(rest); in parse_animation_desc()
108 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc()
109 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc()
[all …]
DAnimationParser_test.cpp37 const char* rest = nullptr; in TEST() local
38 EXPECT_FALSE(remove_prefix(TEST_STRING, "def", &rest)); in TEST()
40 EXPECT_FALSE(remove_prefix(TEST_STRING, TEST_STRING, &rest)); in TEST()
42 EXPECT_TRUE(remove_prefix(TEST_STRING, "abc", &rest)); in TEST()
43 EXPECT_STREQ("def", rest); in TEST()
45 EXPECT_TRUE(remove_prefix(" abcdef", "abc", &rest)); in TEST()
46 EXPECT_STREQ("def", rest); in TEST()
DAnimationParser.h29 bool remove_prefix(std::string_view str, const char* prefix, const char** rest);
/system/core/llkd/tests/
Dllkd_test.cpp59 void rest() { in rest() function
85 rest(); in llkdSleepPeriod()
90 rest(); in llkdSleepPeriod()
92 rest(); in llkdSleepPeriod()
94 rest(); in llkdSleepPeriod()
96 rest(); in llkdSleepPeriod()
98 rest(); in llkdSleepPeriod()
101 rest(); in llkdSleepPeriod()
104 rest(); in llkdSleepPeriod()
110 rest(); in llkdSleepPeriod()
/system/keymint/wire/src/
Dlegacy.rs317 let (v, rest) = <u32>::deserialize(data)?; in deserialize()
318 Ok((v != 0, rest)) in deserialize()
327 let (len, rest) = <u32>::deserialize(data)?; in deserialize()
329 if rest.len() < len { in deserialize()
334 buf.extend_from_slice(&rest[..len]); in deserialize()
335 Ok((buf, &rest[len..])) in deserialize()
348 let (v, rest) = <u32>::deserialize(data)?; in deserialize()
349 Ok((Self::try_from(v as i32).map_err(|_e| Error::InvalidEnumValue(v))?, rest)) in deserialize()
358 let (v, rest) = <u32>::deserialize(data)?; in deserialize()
359 Ok((Self::try_from(v as i32).map_err(|_e| Error::InvalidEnumValue(v))?, rest)) in deserialize()
[all …]
/system/logging/logcat/tests/
Dlogcat_test.cpp56 static void rest() { in rest() function
89 rest(); in TEST()
128 rest(); in TEST()
1416 rest(); in TEST()
1453 rest(); in TEST()
1539 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1551 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1561 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1570 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1583 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
[all …]
/system/keymint/common/src/keyblob/
Dlegacy.rs219 let rest = &data[Self::MAC_LEN..]; in deserialize() localVariable
220 if !rest.is_empty() { in deserialize()
221 return Err(km_err!(InvalidKeyBlob, "extra data (len {})", rest.len())); in deserialize()
/system/sepolicy/prebuilts/api/30.0/public/
Dmediaswcodec.te23 # permissions and be isolated from the rest of the system and network.
Dmediatranscoding.te23 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te41 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/29.0/public/
Dmediaswcodec.te23 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te41 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/32.0/public/
Dmediaswcodec.te21 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te42 # permissions and be isolated from the rest of the system and network.
Dhal_omx.te46 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/31.0/public/
Dmediaswcodec.te21 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te42 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/public/
Dmediaswcodec.te21 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te42 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/34.0/public/
Dmediaswcodec.te21 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te42 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/33.0/public/
Dmediaswcodec.te21 # permissions and be isolated from the rest of the system and network.
Dmediametrics.te42 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/vendor/
Dmediacodec.te35 # permissions and be isolated from the rest of the system and network.
/system/nfc/src/fuzzers/
DREADME.md33 "blueline" for the rest of the steps. If you are using a different device,
47 the rest steps need to run from this environment.

1234