HomeSort by relevance Sort by last modified time
    Searched refs:str (Results 276 - 300 of 2740) sorted by null

<<11121314151617181920>>

  /external/webkit/WebCore/rendering/
break_lines.cpp 106 int nextBreakablePosition(const UChar* str, int pos, int len, bool treatNoBreakSpaceAsBreak)
113 UChar lastCh = pos > 0 ? str[pos - 1] : 0;
115 UChar ch = str[i];
124 breakIterator = lineBreakIterator(str, len);
131 if (UCFindTextBreak(breakLocator, kUCTextBreakLineMask, 0, str, len, i, &nextUCBreak) == 0)
  /libcore/luni/src/main/java/java/io/
Writer.java 146 * @param str
151 public void write(String str) throws IOException {
152 write(str, 0, str.length());
156 * Writes {@code count} characters from {@code str} starting at {@code
159 * @param str
162 * the index of the first character in {@code str} to write.
164 * the number of characters from {@code str} to write.
169 * offset + count} is greater than the length of {@code str}.
171 public void write(String str, int offset, int count) throws IOException
    [all...]
DataOutputStream.java 152 * @param str
159 public final void writeBytes(String str) throws IOException {
160 if (str.length() == 0) {
163 byte[] bytes = new byte[str.length()];
164 for (int index = 0; index < str.length(); index++) {
165 bytes[index] = (byte) str.charAt(index);
190 * Writes the 16-bit characters contained in {@code str} to the target
193 * @param str
200 public final void writeChars(String str) throws IOException {
201 byte[] newBytes = new byte[str.length() * 2]
    [all...]
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeConstants.java 165 private final String str; field in class:DatatypeConstants.Field
176 * @param str <code>String</code> representation of <code>Field</code>
179 private Field(final String str, final int id) {
180 this.str = str;
191 public String toString() { return str; }
  /external/openssl/crypto/pem/
pem.h 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
    [all...]
  /external/openssl/include/openssl/
pem.h 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
    [all...]
  /external/openssl/crypto/asn1/
asn1_lib.c 343 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str)
345 if (str == NULL)
347 dst->type = str->type;
348 if (!ASN1_STRING_set(dst,str->data,str->length))
350 dst->flags = str->flags;
354 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str)
357 if (!str)
362 if (!ASN1_STRING_copy(ret,str))
370 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len
    [all...]
  /frameworks/base/libs/utils/
String16.cpp 258 char16_t* str = (char16_t*)buf->data(); local
259 *str = 0;
261 gEmptyString = str;
293 char16_t* str = (char16_t*)buf->data(); local
295 utf8_to_utf16((const uint8_t*)p, len, str, bufSize);
298 //printHexData(1, str, buf->size(), 16, 1);
301 return str;
332 char16_t* str = (char16_t*)buf->data(); local
333 strcpy16(str, o);
334 mString = str;
346 char16_t* str = (char16_t*)buf->data(); local
414 char16_t* str = (char16_t*)buf->data(); local
437 char16_t* str = (char16_t*)buf->data(); local
458 char16_t* str = (char16_t*)buf->data(); local
493 char16_t* str = (char16_t*)buf->data(); local
510 const char16_t* str = string(); local
524 const char16_t* str = string(); local
553 const char16_t* str = string(); local
575 const char16_t* str = string(); local
612 char16_t* str = (char16_t*)buf->data(); local
619 char16_t* str = (char16_t*)buf->data(); local
    [all...]
  /external/bluetooth/hcidump/parser/
csr.c 58 static inline void valueless_dump(int level, char *str, struct frame *frm)
61 printf("%s\n", str);
64 static inline void complex_dump(int level, char *str, struct frame *frm)
67 printf("%s\n", str);
72 static inline void bool_dump(int level, char *str, struct frame *frm)
79 printf("%s: value %s (%d)\n", str, value ? "TRUE" : "FALSE", value);
82 static inline void int8_dump(int level, char *str, struct frame *frm)
89 printf("%s: value %d (0x%2.2x)\n", str, value, value);
92 static inline void int16_dump(int level, char *str, struct frame *frm)
99 printf("%s: value %d (0x%2.2x)\n", str, value, value)
    [all...]
  /system/extras/tests/sdcard/
stopwatch.cpp 36 #define SNPRINTF_OR_RETURN(str, size, format, ...) { \
37 int len = snprintf((str), (size), (format), ## __VA_ARGS__); \
43 (size) -= len; (str) += len; \
106 void StopWatch::sprint(char **str, size_t *size)
118 if (kVerbose) SNPRINTF_OR_RETURN(*str, *size, "# Got %d samples for %s\n", mDataLen, mName);
121 SNPRINTF_OR_RETURN(*str, *size, "# StopWatch %s total/cumulative duration %f Samples: %d\n",
123 printThroughput(str, size);
124 printAverageMinMax(str, size);
130 SNPRINTF_OR_RETURN(*str, *size, "# Name Iterations Duration Min MinIdx Max MaxIdx SizeKbytes\n");
131 SNPRINTF_OR_RETURN(*str, *size, "%s %d %f %f %d %f %d %d\n", mName, mNum, mDuration
    [all...]
  /bionic/libc/stdio/
asprintf.c 27 asprintf(char **str, const char *fmt, ...)
49 *str = (char *)_base;
54 *str = NULL;
snprintf.c 41 snprintf(char *str, size_t n, const char *fmt, ...)
54 str = &dummy;
60 f._bf._base = f._p = (unsigned char *)str;
sscanf.c 48 sscanf(const char *str, const char *fmt, ...)
57 f._bf._base = f._p = (unsigned char *)str;
58 f._bf._size = f._r = strlen(str);
vasprintf.c 26 vasprintf(char **str, const char *fmt, __va_list ap)
47 *str = (char *)_base;
52 *str = NULL;
  /external/blktrace/
act_mask.c 5 #define COMPARE_MASK_MAP(mmp, str) \
6 (!strcasecmp((mmp)->short_form, (str)) || \
7 !strcasecmp((mmp)->long_form, (str)))
  /external/chromium/base/i18n/
word_iterator_unittest.cc 13 std::wstring str(L" foo bar! \npouet boom");
14 WordIterator iter(str, WordIterator::BREAK_WORD);
51 std::wstring str(L" foo bar! \npouet boom");
52 WordIterator iter(str, WordIterator::BREAK_LINE);
75 const std::wstring str(L"\x03a0\x03b1\x03b3\x03ba\x03cc\x03c3\x03bc\x03b9"
77 const std::wstring word1(str.substr(0, 10));
78 const std::wstring word2(str.substr(11, 5));
79 WordIterator iter(str, WordIterator::BREAK_WORD);
97 const std::wstring str(
100 const std::wstring very_wide_word(str.substr(0, 2))
    [all...]
  /external/chromium/base/
string_util.h 204 bool ContainsOnlyWhitespaceASCII(const std::string& str);
205 bool ContainsOnlyWhitespace(const string16& str);
228 bool IsString8Bit(const std::wstring& str);
229 bool IsStringUTF8(const std::string& str);
230 bool IsStringWideUTF8(const std::wstring& str);
231 bool IsStringASCII(const std::wstring& str);
232 bool IsStringASCII(const base::StringPiece& str);
233 bool IsStringASCII(const string16& str);
243 template <class str> inline void StringToLowerASCII(str* s)
    [all...]
  /external/chromium/third_party/icu/source/common/
uhash_us.cpp 26 const UnicodeString *str = (const UnicodeString*) key.pointer; local
27 return (str == NULL) ? 0 : str->hashCode();
  /external/clearsilver/python/examples/base/
odb_sqlite.py 19 def escape_string(str):
24 return re.sub("('|\0|%)",subfn,str)
26 def unescape_string(str):
30 return re.sub("%(..)",subfn,str)
37 def escape(self,str):
38 if str is None:
40 elif type(str) == type(""):
41 return string.replace(str,"'","''")
42 elif type(str) == type(1):
43 return str
    [all...]
  /external/e2fsprogs/misc/
uuidgen.c 40 char str[37]; local
74 uuid_unparse(uu, str);
76 printf("%s\n", str);
  /external/icu4c/common/
uhash_us.cpp 26 const UnicodeString *str = (const UnicodeString*) key.pointer; local
27 return (str == NULL) ? 0 : str->hashCode();
  /external/libnfc-nxp/src/
phLlcNfc_DataTypes.h 57 #define PH_LLCNFC_PRINT( str ) phOsalNfc_DbgString(str)
59 #define PH_LLCNFC_STRING( str )
60 #define PH_LLCNFC_DEBUG(str, arg) \
62 snprintf(trace_buffer,MAX_TRACE_BUFFER,str,arg); \
83 #define PH_LLCNFC_PRINT( str )
85 #define PH_LLCNFC_DEBUG(str, arg1)
86 #define PH_LLCNFC_STRING( str ) phOsalNfc_DbgString(str)
100 #define PH_LLCNFC_PRINT(str)
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
stl_util-inl.h 75 // string_as_array(&str)[i] is valid for 0 <= i < str.size() until the
83 inline char* string_as_array(string* str) {
84 // DO NOT USE const_cast<char*>(str->data())! See the unittest for why.
85 return str->empty() ? NULL : &*str->begin();
  /external/webkit/WebKitTools/android/flex-2.5.4a/
sym.c 154 /* hashfunct - compute the hash value for "str" and hash size "hash_size" */
156 int hashfunct( str, hash_size )
157 register char str[];
166 while ( str[locstr] )
168 hashval = (hashval << 1) + (unsigned char) str[locstr++];
226 void scinstal( str, xcluflg )
227 char str[];
233 action_define( str, lastsc );
238 scname[lastsc] = copy_string( str );
244 str );
    [all...]
  /libcore/luni/src/main/java/java/lang/
StringBuilder.java 90 * @param str
93 * if {@code str} is {@code null}.
95 public StringBuilder(String str) {
96 super(str);
212 * @param str
216 public StringBuilder append(String str) {
217 append0(str);
259 * @param str
271 public StringBuilder append(char[] str, int offset, int len) {
272 append0(str, offset, len)
    [all...]

Completed in 3719 milliseconds

<<11121314151617181920>>