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

/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.cpp183 android::String8 string; local
186 string.setTo("~!");
196 string.appendFormat(fmt, a);
208 string.appendFormat(fmt, a);
214 *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/fastbootd/commands/
H A Dpartitions.c547 int GPT_parse_entry(char *string, struct GPT_entry_raw *entry) argument
549 char *ptr = string;
/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/libusbhost/
H A Dusbhost.c35 #include <string.h>
451 char string[256]; local
459 string[0] = 0;
477 // skip first word, and copy the rest to the string, changing shorts to bytes.
480 string[i - 1] = buffer[i];
481 string[i - 1] = 0;
482 return strdup(string);

Completed in 8352 milliseconds