OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsValidResourceEntryName
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/tools/aapt2/text/
Unicode_test.cpp
53
TEST(UnicodeTest,
IsValidResourceEntryName
) {
55
EXPECT_TRUE(
IsValidResourceEntryName
("FøøBar_12"));
56
EXPECT_TRUE(
IsValidResourceEntryName
("Føø.Bar"));
57
EXPECT_TRUE(
IsValidResourceEntryName
("Føø-Bar"));
58
EXPECT_TRUE(
IsValidResourceEntryName
("_FøøBar"));
60
EXPECT_FALSE(
IsValidResourceEntryName
("12FøøBar"));
61
EXPECT_FALSE(
IsValidResourceEntryName
("Føø$Bar"));
62
EXPECT_FALSE(
IsValidResourceEntryName
("Føø/Bar"));
63
EXPECT_FALSE(
IsValidResourceEntryName
("Føø:Bar"));
64
EXPECT_FALSE(
IsValidResourceEntryName
("Føø;Bar"))
[
all
...]
Unicode.h
53
bool
IsValidResourceEntryName
(const android::StringPiece& str);
Unicode.cpp
101
bool
IsValidResourceEntryName
(const StringPiece& str) {
/frameworks/base/tools/aapt2/
ResourceTable.cpp
34
using ::aapt::text::
IsValidResourceEntryName
;
291
if (!
IsValidResourceEntryName
(name)) {
Completed in 202 milliseconds