/system/libhwbinder/include/hwbinder/ |
H A D | TextOutput.h | 74 std::string str = strbuf.str(); local 75 to.print(str.c_str(), str.size());
|
/system/netd/libnetdutils/ |
H A D | Slice.cpp | 51 return ss.str();
|
/system/tools/hidl/ |
H A D | Hash.cpp | 46 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 D | Define.cpp | 21 extern android::status_t parseExpression(android::AST *ast, std::string str);
|
H A D | Type.cpp | 60 return ss.str(); 184 return ss.str(); 198 return ss.str();
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_string.h | 64 #define OI_StrLen(str) strlen((str))
|
/system/core/logd/ |
H A D | CommandListener.cpp | 189 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 D | LogWhiteBlackList.h | 68 int init(const char* str);
|
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 84 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 D | update_device.py | 152 '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 D | btif_hf.cc | 457 (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 D | DemangleTest.cpp | 432 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 D | fastgrep.c | 326 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 D | adb_io_test.cpp | 133 const char str[] = "Foobar"; local 138 ASSERT_TRUE(WriteFdExactly(tf.fd, str)) << strerror(errno); 143 EXPECT_STREQ(str, s.c_str());
|
H A D | line_printer.cpp | 34 string ElideMiddle(const string& str, size_t width) { argument 36 string result = str;
|
H A D | test_adb.py | 97 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 D | RuntimeInfo.cpp | 147 *error = ss.str(); 171 *error = ss.str(); 181 *error = ss.str();
|
/system/vold/ |
H A D | Utils.h | 87 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 D | Utils.cpp | 389 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 D | server.cpp | 198 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 D | options.h | 105 bool EndsWith(const std::string& str, const std::string& suffix); 108 std::string* str);
|
H A D | type_namespace.cpp | 52 bool is_java_keyword(const char* str) { argument 66 return std::find(kJavaKeywords.begin(), kJavaKeywords.end(), str) !=
|
/system/bt/btcore/test/ |
H A D | device_class_test.cc | 34 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 D | bt_address.h | 67 // 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 D | strings.h | 50 return result.str();
|