Searched refs:str (Results 151 - 175 of 223) sorted by relevance

123456789

/system/core/mkbootimg/
H A Dmkbootimg45 f.write(pack(str(pad) + 'x'))
169 if isinstance(img_id, str):
/system/libhidl/base/
H A DHidlSupport.cpp212 std::ostream& operator<<(std::ostream& os, const hidl_string& str) { argument
213 os << str.c_str();
/system/netd/tests/dns_responder/
H A Ddns_responder_client.cpp110 for (const auto& str : servers) {
112 cmd += str;
/system/sepolicy/tests/
H A Dpolicy.py65 ret += " ".join(str(x) for x in sorted(MatchPrefix))
68 ret += " ".join(str(x) for x in sorted(violators)) + "\n"
/system/extras/perfprofd/
H A Dperfprofdcore.cc480 inline char* string_as_array(std::string* str) { argument
481 return str->empty() ? NULL : &*str->begin();
854 if (!android::base::WriteStringToFile("0", oomscore_path.str())) {
855 W_ALOGE("unable to write to %s", oomscore_path.str().c_str());
/system/extras/simpleperf/runtest/
H A Druntest.py565 str = 'test %s on %s ' % (test.test_name, runner.target)
567 str += 'with call graph '
568 str += 'using %s ' % runner.sampler
569 str += ' Succeeded' if result else 'Failed'
570 print str
/system/extras/perfprofd/quipper/
H A Dperf_reader.cc243 dest->str = string(buffer.ptr + *offset);
690 bool PerfReader::ReadFromString(const string& str) { argument
691 return ReadFromPointer(str.c_str(), str.size());
1578 const CStringWithLength& str = metadata.data[j]; local
1579 size += sizeof(str.len) + (str.len * sizeof(char));
1607 const CStringWithLength& str = cpu_topology_.core_siblings[i]; local
1608 size += sizeof(str.len) + (str
1614 const CStringWithLength& str = cpu_topology_.thread_siblings[i]; local
[all...]
/system/chre/host/msm/daemon/generated/
H A Dchre_slpi_skel.c138 #define _STD_STRLEN_IF(str) (str == 0 ? 0 : strlen(str))
/system/core/fastboot/
H A Dengine.cpp187 static int match(const char* str, const char** value, unsigned count) { argument
197 match = !strncmp(val, str, len);
199 match = !strcmp(val, str);
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dgrep.c367 char *str; local
378 while ((str = strsep(&eopts, " ")) != NULL)
379 eargv[eargc++] = grep_strdup(str);
/system/bt/bta/include/
H A Dbta_hf_client_api.h359 uint32_t val1, uint32_t val2, const char* str);
/system/core/liblog/tests/
H A Dbenchmark.h34 int PrettyPrintInt(char* str, int len, unsigned int arg);
/system/libvintf/
H A DRuntimeInfo-target.cpp95 mRuntimeInfo->mCpuInfo = sstream.str();
/system/libvintf/include/vintf/
H A Dparse_string.h52 return oss.str();
/system/netd/server/
H A DMDnsSdListener.h113 void stop(SocketClient *cli, int argc, char **argv, const char *str);
/system/security/keystore/
H A Dgrant_store.cpp61 return s.str();
/system/security/keystore/include/keystore/
H A Dkeystore_hidl_support.h43 return s.str();
/system/vold/
H A DKeyUtil.cpp104 return o.str();
/system/core/base/
H A Dutf8_test.cpp126 wide << UTF8ToWide(utf8.str());
128 EXPECT_EQ(kConvertRoundtripCases[i], wide.str());
/system/core/libcutils/tests/
H A DPropertiesTest.cpp44 return ss.str();
80 return ss.str();
/system/extras/simpleperf/scripts/
H A Dsimpleperf_report_lib.py39 def _char_pt(str):
40 return str_to_bytes(str)
86 # convert char_p to str for python3.
H A Dpprof_proto_generator.py165 if label.HasField('str'):
166 print('%s)' % self.get_string(label.str))
354 def get_string_id(self, str):
355 if len(str) == 0:
357 id = self.string_table.get(str)
361 self.string_table[str] = id
362 self.profile.string_table.append(str)
/system/extras/tests/sdcard/
H A Dplot_sdcard.py61 return str(zip(self.time, self.data))
312 print str(err)
/system/core/debuggerd/
H A Ddebuggerd_test.cpp75 #define ASSERT_MATCH(str, pattern) \
78 if (!std::regex_search((str), r)) { \
79 FAIL() << "regex mismatch: expected " << (pattern) << " in: \n" << (str); \
83 #define ASSERT_NOT_MATCH(str, pattern) \
86 if (std::regex_search((str), r)) { \
87 FAIL() << "regex mismatch: expected to not find " << (pattern) << " in: \n" << (str); \
/system/core/logcat/
H A Dlogcat.cpp1502 std::string str = android::base::StringPrintf( local
1511 str.data(), str.length()));
1752 for (auto& str : context->args) {
1753 context->argv_hold.push_back(str.c_str());
1756 for (auto& str : context->envs) {
1757 context->envp_hold.push_back(str.c_str());
1767 for (auto str : context->argv_hold) {
1768 fprintf(stderr, " \"%s\"", str ?: "nullptr");

Completed in 509 milliseconds

123456789