Home
last modified time | relevance | path

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

/system/core/healthd/
DAnimationParser.cpp40 bool remove_prefix(const std::string& line, const char* prefix, const char** rest) { in remove_prefix() argument
50 *rest = &str[start]; in remove_prefix()
93 const char* rest; in parse_animation_desc() local
97 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc()
99 if (sscanf(rest, "%d %d %n%*s%n", &anim->num_cycles, &anim->first_frame_repeats, in parse_animation_desc()
105 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc()
107 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc()
108 anim->fail_file.assign(rest); in parse_animation_desc()
109 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc()
110 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc()
[all …]
DAnimationParser.h27 bool remove_prefix(const std::string& str, const char* prefix, const char** rest);
/system/core/healthd/tests/
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()
/system/sepolicy/public/
Dmediametrics.te35 # permissions and be isolated from the rest of the system and network.
Dcameraserver.te46 # permissions and be isolated from the rest of the system and network.
Dmediaextractor.te47 # permissions and be isolated from the rest of the system and network.
Dmediacodec.te64 # permissions and be isolated from the rest of the system and network.
/system/bt/doc/
Ddirectory_layout.md29 * vnd - *Vendor* - Vendor specific APIs - *to be integrated into rest of stack ?*.
/system/netd/server/
DBandwidthController.cpp999 char rest[MAX_IPT_OUTPUT_LINE_LEN]; in addForwardChainStats() local
1019 iface0[0] = iface1[0] = rest[0] = packets = bytes = 0; in addForwardChainStats()
1024 &packets, &bytes, iface0, iface1, rest); in addForwardChainStats()
1029 &packets, &bytes, iface0, iface1, rest); in addForwardChainStats()
1032 iface0, iface1, packets, bytes, rest, buffPtr); in addForwardChainStats()
/system/sepolicy/private/
Daudioserver.te63 # permissions and be isolated from the rest of the system and network.
/system/media/camera/docs/
DCameraMetadataKeys.mako32 # Dedent fixes markdown not to generate code blocks. Then do the rest.
/system/core/liblog/tests/
Dliblog_test.cpp1870 static const useconds_t rest = 20 * 1000; in TEST() local
1871 for (; total_time < max_time; total_time += rest) { in TEST()
1872 usleep(rest); // property system does not guarantee performance. in TEST()
1875 if (total_time > rest) { in TEST()
/system/core/adb/
Dprotocol.txt225 the remote connection threadpair and that the rest of the program will
/system/sepolicy/tools/fc_sort/
DNOTICE227 be a consequence of the rest of this License.
/system/tpm/trunks/generator/
Draw_commands_fixed.txt1926 TPM_RC_SESSIONS, then the rest of the response has the format indicated in