Searched refs:str (Results 76 - 100 of 223) sorted by relevance

123456789

/system/libhwbinder/include/hwbinder/
H A DTextOutput.h74 std::string str = strbuf.str(); local
75 to.print(str.c_str(), str.size());
/system/netd/libnetdutils/
H A DSlice.cpp51 return ss.str();
/system/tools/hidl/
H A DHash.cpp46 std::string fileContent = fileStream.str();
66 return s.str();
137 std::string hash = match.str(1);
138 std::string fqName = match.str(2);
/system/tools/hidl/c2hal/
H A DDefine.cpp21 extern android::status_t parseExpression(android::AST *ast, std::string str);
H A DType.cpp60 return ss.str();
184 return ss.str();
198 return ss.str();
/system/bt/embdrv/sbc/decoder/include/
H A Doi_string.h64 #define OI_StrLen(str) strlen((str))
/system/core/logd/
H A DCommandListener.cpp189 static std::string package_string(const std::string& str) { argument
192 for (size_t l = str.length(), y = 0, x = 6; y != x;
196 return android::base::StringPrintf(fmt, str.c_str());
259 std::string str; local
261 if (str.length()) {
262 str += " ";
264 str += argv[i];
267 int ret = mBuf.initPrune(str.c_str());
H A DLogWhiteBlackList.h68 int init(const char* str);
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp84 static ostream &operator<<(ostream &stream, const String16& str);
221 static ostream &operator<<(ostream &stream, const String16& str) argument
223 for (unsigned int n1 = 0; n1 < str.size(); n1++) {
224 if ((str[n1] > 0x20) && (str[n1] < 0x80)) {
225 stream << (char) str[n1];
/system/update_engine/scripts/
H A Dupdate_device.py152 'bytes ' + str(start_range) + '-' + str(end_range - 1) +
153 '/' + str(end_range - start_range))
233 logging.info('Running: %s', ' '.join(str(x) for x in command))
241 parser.add_argument('otafile', metavar='ZIP', type=str,
247 parser.add_argument('-s', type=str, default='', metavar='DEVICE',
/system/bt/btif/src/
H A Dbtif_hf.cc457 (event == BTA_AG_AT_D_EVT) ? p_data->val.str : NULL,
471 HAL_CBACK(bt_hf_callbacks, dtmf_cmd_cb, p_data->val.str[0],
516 (bthf_chld_type_t)atoi(p_data->val.str),
529 HAL_CBACK(bt_hf_callbacks, unknown_at_cmd_cb, p_data->val.str,
574 HAL_CBACK(bt_hf_callbacks, bind_cb, p_data->val.str,
1000 snprintf(ag_res.str, sizeof(ag_res.str), "0,0,\"%.16s\"", cops);
1039 ag_res.str, sizeof(ag_res.str), "%d,%d,%d,%d,%d,%d,%d",
1113 strncpy(ag_res.str, rs
[all...]
/system/core/demangle/
H A DDemangleTest.cpp432 std::string str; local
434 str = demangle("_ZN1a1b1cES0_");
435 ASSERT_EQ("a::b::c(a::b)", str);
437 str = demangle("_");
438 ASSERT_EQ("_", str);
440 str = demangle("_Z");
441 ASSERT_EQ("_Z", str);
443 str = demangle("_Za");
444 ASSERT_EQ("_Za", str);
446 str
[all...]
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dfastgrep.c326 grep_revstr(unsigned char *str, int len) argument
332 c = str[i];
333 str[i] = str[len - i - 1];
334 str[len - i - 1] = c;
/system/core/adb/
H A Dadb_io_test.cpp133 const char str[] = "Foobar"; local
138 ASSERT_TRUE(WriteFdExactly(tf.fd, str)) << strerror(errno);
143 EXPECT_STREQ(str, s.c_str());
H A Dline_printer.cpp34 string ElideMiddle(const string& str, size_t width) { argument
36 string result = str;
H A Dtest_adb.py97 subprocess.check_output(['adb', '-P', str(port), 'kill-server'],
102 p = subprocess.Popen(['adb', '-P', str(port), 'start-server'],
143 subprocess.check_output(['adb', '-P', str(port), 'kill-server'],
178 ['adb', '-s', 'emulator-' + str(port), 'emu', 'kill'],
/system/libvintf/
H A DRuntimeInfo.cpp147 *error = ss.str();
171 *error = ss.str();
181 *error = ss.str();
/system/vold/
H A DUtils.h87 status_t HexToStr(const std::string& hex, std::string& str);
89 status_t StrToHex(const std::string& str, std::string& hex);
91 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
H A DUtils.cpp389 status_t HexToStr(const std::string& hex, std::string& str) { argument
390 str.clear();
420 str.push_back(cur);
430 status_t StrToHex(const std::string& str, std::string& hex) { argument
432 for (size_t i = 0; i < str.size(); i++) {
433 hex.push_back(kLookup[(str[i] & 0xF0) >> 4]);
434 hex.push_back(kLookup[str[i] & 0x0F]);
439 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex) { argument
441 for (size_t i = 0; i < str.size(); i++) {
442 hex.push_back(kLookup[(str
[all...]
/system/connectivity/wificond/
H A Dserver.cpp198 if (!WriteStringToFd(ss.str(), fd)) {
294 LOG(INFO) << "2.4Ghz frequencies:"<< ss.str();
295 ss.str("");
300 LOG(INFO) << "5Ghz non-DFS frequencies:"<< ss.str();
301 ss.str("");
306 LOG(INFO) << "5Ghz DFS frequencies:"<< ss.str();
/system/tools/aidl/
H A Doptions.h105 bool EndsWith(const std::string& str, const std::string& suffix);
108 std::string* str);
H A Dtype_namespace.cpp52 bool is_java_keyword(const char* str) { argument
66 return std::find(kJavaKeywords.begin(), kJavaKeywords.end(), str) !=
/system/bt/btcore/test/
H A Ddevice_class_test.cc34 ss.str("");
36 std::string expected_str = ss.str();
38 ss.str("");
40 std::string actual_str = ss.str();
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dbt_address.h67 // Set the address to the address represented by |str|.
68 // returns true if |str| represents a valid address, otherwise false.
69 bool FromString(const std::string& str);
71 // Set the address to the address represented by |str|.
/system/core/base/include/android-base/
H A Dstrings.h50 return result.str();

Completed in 471 milliseconds

123456789