/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | grep.h | 89 struct str { struct 146 char *grep_strdup(const char *str); 147 void printline(struct str *line, int sep, regmatch_t *matches, int m); 150 void enqueue(struct str *x);
|
H A D | queue.c | 51 struct str data; 60 enqueue(struct str *x)
|
/system/iot/attestation/atap/libatap/ |
H A D | atap_sysdeps.h | 75 /* Returns the length of |str|, excluding the terminating NUL-byte. */ 76 size_t atap_strlen(const char* str) ATAP_ATTR_WARN_UNUSED_RESULT;
|
/system/libufdt/ |
H A D | ufdt_prop_dict.c | 31 static int _ufdt_prop_dict_str_hash(const char *str) { argument 34 for (; *str != '\0'; str++) { 36 res += *str;
|
/system/netd/server/ |
H A D | ControllersTest.cpp | 207 #define DELETE_SUBSTRING(substr, str) { \ 208 size_t start = (str).find((substr)); \ 210 (str).erase(start, strlen((substr))); \ 211 ASSERT_EQ(std::string::npos, (str).find((substr))); \
|
/system/tools/hidl/docs/src/lexer/ |
H A D | DocLexer.kt | 24 * @param str The string should already be padded from the file lexer. 26 override fun tokenize(str: String): List<Token> { 31 val formattedStr = str.lines()
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 395 char str[MAXSTR]; local 408 while (fgets(str, sizeof(str), fp) != NULL) { 409 if ((strlen(str) > 1) && (str[strlen(str) - 1] == '\n')) { 410 str[strlen(str) - 1] = '\0'; 412 testPrintI(" out: %s", str);
|
/system/sepolicy/tools/ |
H A D | insertkeys.py | 46 "line: " + str(lineNo)) 54 + str(lineNo)) 61 sys.exit("Empty certficate , certificate "+ str(certNo) + " found in file: " 71 sys.exit("Invalid certificate, certificate "+ str(certNo) + " found in file: " 83 sys.exit("Detected erroneous line \""+ line + "\" on " + str(lineNo) 102 return str(self.getBase16Keys()) 131 str(target_build_variant)) 221 version = "%prog " + str(__VERSION) 262 logging.info(k + " : " + str(key_map[k]))
|
/system/chre/apps/chqts/src/shared/ |
H A D | nano_string.cc | 50 size_t strlen(char const *str) { argument 52 for (; str[ret] != '\0'; ret++) {}
|
/system/core/healthd/ |
H A D | healthd_draw.cpp | 85 int HealthdDraw::draw_text(const GRFont* font, int x, int y, const char* str) { argument 86 int str_len_px = gr_measure(font, str); 90 gr_text(font, x + kSplitOffset, y, str, false /* bold */); 92 gr_text(font, x - kSplitOffset + screen_width_, y, str, false /* bold */); 164 std::string str = base::StringPrintf("%d%%", cur_level); local 167 determine_xy(field, str.size(), &x, &y); 169 LOGV("drawing percent %s %d %d\n", str.c_str(), x, y); 171 draw_text(field.font, x, y, str.c_str());
|
H A D | healthd_draw.h | 45 virtual int draw_text(const GRFont* font, int x, int y, const char* str);
|
/system/core/logcat/ |
H A D | logcatd_main.cpp | 43 for (auto& str : args) argv_hold.push_back(str.c_str());
|
/system/extras/perfprofd/ |
H A D | cpuconfig.cc | 85 FILE *fp = fopen(ss.str().c_str(), "we"); 90 PLOG(WARNING) << "open failed for " << ss.str();
|
/system/tools/aidl/ |
H A D | options.cpp | 264 bool EndsWith(const string& str, const string& suffix) { argument 265 if (str.length() < suffix.length()) { 268 return std::equal(str.crbegin(), str.crbegin() + suffix.length(), 274 string* str) { 275 if (!EndsWith(*str, old_suffix)) return false; 276 str->replace(str->length() - old_suffix.length(), 272 ReplaceSuffix(const string& old_suffix, const string& new_suffix, string* str) argument
|
/system/update_engine/common/ |
H A D | http_common.cc | 74 const char* str; member in struct:chromeos_update_engine::__anon2684 85 return (is_found ? http_content_type_table[i].str : nullptr);
|
/system/core/storaged/ |
H A D | storaged_utils.cpp | 110 printf("last 24 hours : %s\n", line.str().c_str()); 112 line.str(""); 117 printf("last 7 days : %s\n", line.str().c_str()); 119 line.str(""); 123 printf("last 52 weeks : %s\n", line.str().c_str());
|
/system/tools/hidl/ |
H A D | hidl-gen_l.ll | 177 {COMPONENT} { yylval->str = strdup(yytext); return token::IDENTIFIER; } 178 {FQNAME} { yylval->str = strdup(yytext); return token::FQNAME; } 180 0[xX]{H}+{IS}? { yylval->str = strdup(yytext); return token::INTEGER; } 181 0{D}+{IS}? { yylval->str = strdup(yytext); return token::INTEGER; } 182 {D}+{IS}? { yylval->str = strdup(yytext); return token::INTEGER; } 183 L?\"(\\.|[^\\"])*\" { yylval->str = strdup(yytext); return token::STRING_LITERAL; } 185 {D}+{E}{FS}? { yylval->str = strdup(yytext); return token::FLOAT; } 186 {D}+\.{E}?{FS}? { yylval->str = strdup(yytext); return token::FLOAT; } 187 {D}*\.{D}+{E}?{FS}? { yylval->str = strdup(yytext); return token::FLOAT; } 192 . { yylval->str [all...] |
/system/core/init/ |
H A D | result.h | 125 const std::string str() const { function in class:android::init::Error 126 std::string str = ss_.str(); local 128 if (str.empty()) { 131 return str + ": " + strerror(errno_); 133 return str; 165 Result(Error&& error) : contents_(std::in_place_index_t<1>(), error.str(), error.get_errno()) {}
|
/system/libvintf/test/ |
H A D | AssembleVintfTest.cpp | 27 static bool In(const std::string& sub, const std::string& str) { argument 28 return str.find(sub) != std::string::npos; 30 #define EXPECT_IN(sub, str) EXPECT_TRUE(In((sub), (str))) << (str); 46 std::string getOutput() { return mOutputStream->str(); } 48 void resetOutput() { mOutputStream->str(""); }
|
/system/tools/hidl/c2hal/ |
H A D | c2hal_y.yy | 119 %token<str> ID 120 %token<str> COMMENT 121 %token<str> VALUE 122 %token<str> INTEGRAL_VALUE 123 %token<str> INCLUDE_FILE 124 %token<str> FUNCTION 125 %token<str> DEFINE_SLURP 126 %token<str> OTHER_STATEMENT 143 %type<str> opt_id 152 const char *str; [all...] |
/system/update_engine/scripts/ |
H A D | update_device.py | 162 'bytes ' + str(start_range) + '-' + str(end_range - 1) + 163 '/' + str(end_range - start_range)) 325 logging.info('Running: %s', ' '.join(str(x) for x in command)) 343 logging.info('Running: %s', ' '.join(str(x) for x in command)) 349 parser.add_argument('otafile', metavar='PAYLOAD', type=str, 356 parser.add_argument('-s', type=str, default='', metavar='DEVICE', 360 parser.add_argument('--public-key', type=str, default='', 362 parser.add_argument('--extra-headers', type=str, default='',
|
/system/chre/apps/chqts/src/general_test/ |
H A D | basic_audio_test.cc | 75 bool verifyStringWithLength(const char *str, size_t length) { argument 79 if (str[i] == '\0') { 82 } else if (!isAsciiPrintable(str[i])) {
|
/system/chre/platform/android/ |
H A D | host_link.cc | 40 * @param str The string to assign. 42 void setVectorToString(std::vector<int8_t> *vector, const char *str) { argument 43 *vector = std::vector<int8_t>(str, str + strlen(str));
|
/system/chre/platform/shared/include/chre/platform/shared/ |
H A D | host_protocol_common.h | 65 * @param str The string to add. 70 const char *str);
|
/system/extras/memcpy-perf/ |
H A D | graph_memcpy.py | 8 parser.add_argument("--files", nargs='+', type=str, help="files to graph", default=None)
|