Lines Matching refs:str

38 #define ASSERT_CONTAINS_REGEX(pattern, str)                         \  argument
40 ASSERT_TRUE(std::regex_search(str, std::regex(pattern))) \
42 << (str) << "--------"; \
66 ASSERT_CONTAINS_REGEX(ADDRESS "504d4449 magic\n", stream.str()); in TEST()
67 ASSERT_CONTAINS_REGEX(ADDRESS "00000009 version\n", stream.str()); in TEST()
70 stream.str()); in TEST()
73 stream.str()); in TEST()
74 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 fulfilled policies: public\n", stream.str()); in TEST()
75 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 enforce overlayable\n", stream.str()); in TEST()
76 ASSERT_CONTAINS_REGEX(ADDRESS "00000004 target entry count", stream.str()); in TEST()
77 ASSERT_CONTAINS_REGEX(ADDRESS "00000000 target inline entry count", stream.str()); in TEST()
78 ASSERT_CONTAINS_REGEX(ADDRESS "00000000 target inline entry value count", stream.str()); in TEST()
79 ASSERT_CONTAINS_REGEX(ADDRESS "00000000 config count", stream.str()); in TEST()
80 ASSERT_CONTAINS_REGEX(ADDRESS "00000004 overlay entry count", stream.str()); in TEST()
81 ASSERT_CONTAINS_REGEX(ADDRESS "0000000a string pool index offset", stream.str()); in TEST()
82 ASSERT_CONTAINS_REGEX(ADDRESS "7f020000 target id: integer/int1", stream.str()); in TEST()
83 ASSERT_CONTAINS_REGEX(ADDRESS "7f010000 overlay id: integer/int1", stream.str()); in TEST()
84 ASSERT_CONTAINS_REGEX(ADDRESS "7f03000e target id: string/str1", stream.str()); in TEST()
85 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000b overlay id: string/str1", stream.str()); in TEST()
86 ASSERT_CONTAINS_REGEX(ADDRESS "7f030010 target id: string/str3", stream.str()); in TEST()
87 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000c overlay id: string/str3", stream.str()); in TEST()
88 ASSERT_CONTAINS_REGEX(ADDRESS "7f030011 target id: string/str4", stream.str()); in TEST()
89 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000d overlay id: string/str4", stream.str()); in TEST()
90 ASSERT_CONTAINS_REGEX(ADDRESS "7f010000 overlay id: integer/int1", stream.str()); in TEST()
91 ASSERT_CONTAINS_REGEX(ADDRESS "7f020000 target id: integer/int1", stream.str()); in TEST()
92 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000b overlay id: string/str1", stream.str()); in TEST()
93 ASSERT_CONTAINS_REGEX(ADDRESS "7f03000e target id: string/str1", stream.str()); in TEST()
94 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000c overlay id: string/str3", stream.str()); in TEST()
95 ASSERT_CONTAINS_REGEX(ADDRESS "7f030010 target id: string/str3", stream.str()); in TEST()
96 ASSERT_CONTAINS_REGEX(ADDRESS "7f02000d overlay id: string/str4", stream.str()); in TEST()
97 ASSERT_CONTAINS_REGEX(ADDRESS "7f030011 target id: string/str4", stream.str()); in TEST()
98 ASSERT_CONTAINS_REGEX(ADDRESS "000000b4 string pool size", stream.str()); in TEST()
99 ASSERT_CONTAINS_REGEX(ADDRESS "........ string pool", stream.str()); in TEST()
115 ASSERT_CONTAINS_REGEX(ADDRESS "504d4449 magic\n", stream.str()); in TEST()
116 ASSERT_CONTAINS_REGEX(ADDRESS "00000009 version\n", stream.str()); in TEST()
117 ASSERT_CONTAINS_REGEX(ADDRESS "00001234 target crc\n", stream.str()); in TEST()
118 ASSERT_CONTAINS_REGEX(ADDRESS "00005678 overlay crc\n", stream.str()); in TEST()
119 ASSERT_CONTAINS_REGEX(ADDRESS "00000011 fulfilled policies: public|signature\n", stream.str()); in TEST()
120 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 enforce overlayable\n", stream.str()); in TEST()
121 ASSERT_CONTAINS_REGEX(ADDRESS "0000000b target path size\n", stream.str()); in TEST()
122 ASSERT_CONTAINS_REGEX(ADDRESS "........ target path: targetX.apk\n", stream.str()); in TEST()
123 ASSERT_CONTAINS_REGEX(ADDRESS "0000000c overlay path size\n", stream.str()); in TEST()
124 ASSERT_CONTAINS_REGEX(ADDRESS "........ overlay path: overlayX.apk\n", stream.str()); in TEST()
125 ASSERT_CONTAINS_REGEX(ADDRESS "0000000b overlay name size\n", stream.str()); in TEST()
126 ASSERT_CONTAINS_REGEX(ADDRESS "........ overlay name: OverlayName\n", stream.str()); in TEST()
127 ASSERT_CONTAINS_REGEX(ADDRESS "00000003 target entry count\n", stream.str()); in TEST()
128 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 target inline entry count\n", stream.str()); in TEST()
129 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 target inline entry value count", stream.str()); in TEST()
130 ASSERT_CONTAINS_REGEX(ADDRESS "00000001 config count", stream.str()); in TEST()
131 ASSERT_CONTAINS_REGEX(ADDRESS "00000003 overlay entry count\n", stream.str()); in TEST()
132 ASSERT_CONTAINS_REGEX(ADDRESS "00000000 string pool index offset\n", stream.str()); in TEST()
133 ASSERT_CONTAINS_REGEX(ADDRESS "7f020000 target id\n", stream.str()); in TEST()
134 ASSERT_CONTAINS_REGEX(ADDRESS "7f020000 overlay id\n", stream.str()); in TEST()
135 ASSERT_CONTAINS_REGEX(ADDRESS "7f030000 target id\n", stream.str()); in TEST()
136 ASSERT_CONTAINS_REGEX(ADDRESS "7f030000 overlay id\n", stream.str()); in TEST()
137 ASSERT_CONTAINS_REGEX(ADDRESS "7f030002 target id\n", stream.str()); in TEST()
138 ASSERT_CONTAINS_REGEX(ADDRESS "7f030001 overlay id\n", stream.str()); in TEST()
139 ASSERT_CONTAINS_REGEX(ADDRESS "7f040000 target id\n", stream.str()); in TEST()
140 ASSERT_CONTAINS_REGEX(ADDRESS "0000000e config: land-xxhdpi-v7 size\n", stream.str()); in TEST()
141 ASSERT_CONTAINS_REGEX(ADDRESS "........ config: land-xxhdpi-v7\n", stream.str()); in TEST()
142 ASSERT_CONTAINS_REGEX(ADDRESS " 11 type: integer\n", stream.str()); in TEST()
143 ASSERT_CONTAINS_REGEX(ADDRESS "12345678 data\n", stream.str()); in TEST()
144 ASSERT_CONTAINS_REGEX(ADDRESS "7f020000 overlay id\n", stream.str()); in TEST()
145 ASSERT_CONTAINS_REGEX(ADDRESS "7f030002 target id\n", stream.str()); in TEST()
146 ASSERT_CONTAINS_REGEX(ADDRESS "00000004 string pool size\n", stream.str()); in TEST()
147 ASSERT_CONTAINS_REGEX(ADDRESS "........ string pool\n", stream.str()); in TEST()