Searched defs:string (Results 1 - 15 of 15) sorted by relevance

/system/bt/btcore/src/
H A Dbdaddr.c22 #include <string.h>
47 const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size) { argument
49 assert(string != NULL);
55 sprintf(string, "%02x:%02x:%02x:%02x:%02x:%02x",
58 return string;
61 bool string_is_bdaddr(const char *string) { argument
62 assert(string != NULL);
64 size_t len = strlen(string);
70 if (((i + 1) % 3) == 0 && string[i] != ':')
74 if (((i + 1) % 3) != 0 && !isxdigit(string[
80 string_to_bdaddr(const char *string, bt_bdaddr_t *addr) argument
[all...]
H A Duuid.c22 #include <string.h>
31 char string[0]; member in struct:uuid_string_t
54 return (const char *)uuid_string->string;
134 char *string = uuid_string->string; local
137 string += sprintf(string, "%02x", uuid->uu[i]);
139 string += sprintf(string, "-");
141 string
[all...]
/system/core/include/utils/
H A DString16.h40 //! This is a string holding UTF-16 characters.
66 inline const char16_t* string() const;
142 inline const char16_t* String16::string() const function in class:android::String16
H A DString8.h25 #include <string.h> // for strcmp
35 //! This is a string holding UTF-8 characters. Does not allow the value more
66 inline const char* string() const;
133 // return true if this string contains the specified substring
147 * These methods operate on the string as if it were a path name.
215 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
218 * Like appendPath(), but does not affect this string. Returns a new one instead.
222 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
225 * Converts all separators in this string to /, the default path separator.
261 inline const char* String8::string() cons function in class:android::String8
[all...]
/system/core/libutils/
H A DPrinter.cpp24 #include <string.h>
49 ALOGE("%s: Failed to format string", __FUNCTION__);
75 void LogPrinter::printLine(const char* string) { argument
76 if (string == NULL) {
77 ALOGW("%s: NULL string passed in", __FUNCTION__);
81 if (mIgnoreBlankLines || (*string)) {
83 printRaw(string);
90 void LogPrinter::printRaw(const char* string) { argument
91 __android_log_print(mPriority, mLogTag, "%s%s", mPrefix, string);
109 void FdPrinter::printLine(const char* string) { argument
135 printLine(const char* string) argument
156 printLine(const char* string) argument
[all...]
/system/core/logd/
H A DLogWhiteBlackList.cpp179 android::String8 string; local
182 string.setTo("~!");
192 string.appendFormat(fmt, a);
204 string.appendFormat(fmt, a);
210 *strp = strdup(string.string());
/system/media/audio_route/
H A Daudio_route.c25 #include <string.h>
347 static int mixer_enum_string_to_value(struct mixer_ctl *ctl, const char *string) argument
353 if (strcmp(mixer_ctl_get_enum_string(ctl, i), string) == 0)
/system/core/libnetutils/
H A Difc_utils.c20 #include <string.h>
48 #include <string.h>
100 int string_to_ip(const char *string, struct sockaddr_storage *ss) { argument
113 ret = getaddrinfo(string, NULL, &hints, &ai);
279 // Convert string representation to sockaddr_storage.
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp108 void ARMAssembler::comment(const char* string) argument
110 mComments.add(mPC, string);
H A DARMAssemblerProxy.cpp68 void ARMAssemblerProxy::comment(const char* string) { argument
69 mTarget->comment(string);
H A DArm64Assembler.cpp33 #include <string.h>
256 void ArmToArm64Assembler::comment(const char* string) argument
258 mComments.add(mPC, string);
259 LOG_INSTR("//%s\n", string);
H A DMIPSAssembler.cpp132 void ArmToMipsAssembler::comment(const char* string) argument
134 mMips->comment(string);
1366 void MIPSAssembler::comment(const char* string) argument
1368 mComments.add(pc(), string); local
/system/core/adb/
H A Dtransport.cpp26 #include <string.h>
416 static int device_tracker_send(device_tracker* tracker, const std::string& string) { argument
420 snprintf(reinterpret_cast<char*>(p->data), 5, "%04x", static_cast<int>(string.size()));
421 memcpy(&p->data[4], string.data(), string.size());
422 p->len = 4 + string.size();
434 std::string transports = list_transports(false);
461 std::string transports = list_transports(false);
744 const char* serial, std::string* error_ou
[all...]
/system/core/libusbhost/
H A Dusbhost.c35 #include <string.h>
59 // Some devices fail to send string descriptors if we attempt reading > 255 bytes
454 char string[256]; local
462 string[0] = 0;
480 // skip first word, and copy the rest to the string, changing shorts to bytes.
483 string[i - 1] = buffer[i];
484 string[i - 1] = 0;
485 return strdup(string);
/system/bt/stack/include/
H A Davrc_defs.h1131 tAVRC_FULL_NAME string; member in struct:__anon944

Completed in 891 milliseconds