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

/system/core/sh/
H A Dmystring.c48 * scopy(from, to) Copy a string.
50 * number(s) Convert a string of digits to an integer.
51 * is_number(s) Return true if s is a string of digits.
61 char nullstr[1]; /* zero length string */
73 * scopyn - copy a string from "from" to "to", truncating the string
91 * prefix -- see if pfx is a prefix of string.
95 prefix(const char *pfx, const char *string) argument
98 if (*pfx++ != *string++)
106 * Convert a string o
[all...]
H A Dinput.c49 #include <string.h>
75 struct strpush *prev; /* preceding string on stack */
91 int fd; /* file descriptor (or -1 if string) */
278 * 1) If a string was pushed back on the input, pop it;
280 * from a string so we can't refill the buffer, return EOF.
382 * Push a string back onto the input at this current parsefile level.
477 * Like setinputfile, but takes input from a string.
481 setinputstring(char *string, int push) argument
486 parsenextc = string;
487 parselleft = parsenleft = strlen(string);
[all...]
H A Dexpand.c76 * Structure specifying which parts of the string should be searched
88 char *expdest; /* output of current string */
344 * evaluate, place result in (backed up) result, adjust string position.
601 * input string.
716 * Terminate the string and start recording the pattern
819 * Add the value of a specialized variable to the stack string.
909 * string for IFS characters.
939 * Break the argument string into pieces based upon IFS and add the
940 * strings to the argument list. The regions of the string to be
944 ifsbreakup(char *string, struc argument
1331 patmatch(char *pattern, char *string, int squoted) argument
1343 pmatch(char *pattern, char *string, int squoted) argument
[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;
139 * These methods operate on the string as if it were a path name.
207 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
210 * Like appendPath(), but does not affect this string. Returns a new one instead.
214 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
217 * Converts all separators in this string to /, the default path separator.
253 inline const char* String8::string() const function in class:android::String8
/system/core/debuggerd/
H A Ddebuggerd.c60 write_string(const char* file, const char* string) argument
66 len = strlen(string);
69 amt = write(fd, string, len);
/system/media/audio_route/
H A Daudio_route.c25 #include <string.h>
323 static int mixer_enum_string_to_value(struct mixer_ctl *ctl, const char *string) argument
329 if (strcmp(mixer_ctl_get_enum_string(ctl, i), string) == 0)
/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 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>
450 char string[256]; local
456 string[0] = 0;
474 // skip first word, and copy the rest to the string, changing shorts to bytes.
477 string[i - 1] = buffer[i];
478 string[i - 1] = 0;
479 return strdup(string);
/system/core/libnetutils/
H A Difc_utils.c20 #include <string.h>
48 #include <string.h>
95 int string_to_ip(const char *string, struct sockaddr_storage *ss) { argument
108 ret = getaddrinfo(string, NULL, &hints, &ai);
274 // Convert string representation to sockaddr_storage.

Completed in 9465 milliseconds