HomeSort by relevance Sort by last modified time
    Searched refs:str (Results 76 - 100 of 3694) sorted by null

1 2 34 5 6 7 8 91011>>

  /bionic/libc/netbsd/isc/
ev_streams.c 42 static int copyvec(evStream *str, const struct iovec *iov, int iocnt);
43 static void consume(evStream *str, size_t bytes);
44 static void done(evContext opaqueCtx, evStream *str);
130 evStream *str = id.opaque; local
134 str->timer = timer;
135 str->flags |= EV_STR_TIMEROK;
141 evStream *str = id.opaque; local
145 str->flags &= ~EV_STR_TIMEROK;
205 copyvec(evStream *str, const struct iovec *iov, int iocnt) {
208 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt)
265 evStream *str = uap; local
288 evStream *str = uap; local
    [all...]
  /bionic/libc/string/
strdup.c 39 strdup(const char *str)
44 siz = strlen(str) + 1;
47 (void)memcpy(copy, str, siz);
  /external/e2fsprogs/intl/
hash-string.h 32 const char *str = str_param; local
36 while (*str != '\0')
39 hval += (unsigned char) *str++;
  /external/qemu/
qjson.c 78 QString *str; member in struct:ToJsonIterState
81 static void to_json(const QObject *obj, QString *str, int pretty, int indent);
90 qstring_append(s->str, ", ");
93 qstring_append(s->str, "\n");
95 qstring_append(s->str, " ");
99 to_json(QOBJECT(qkey), s->str, s->pretty, s->indent);
102 qstring_append(s->str, ": ");
103 to_json(obj, s->str, s->pretty, s->indent);
113 qstring_append(s->str, ", ");
116 qstring_append(s->str, "\n")
280 QString *str = qstring_new(); local
289 QString *str = qstring_new(); local
    [all...]
  /external/stlport/test/unit/
bound_test.cpp 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
54 const unsigned strCt = sizeof(str)/sizeof(str[0]);
56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str);
74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
76 const unsigned strCt = sizeof(str)/sizeof(str[0]);
77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less)
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
bound_test.cpp 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
54 const unsigned strCt = sizeof(str)/sizeof(str[0]);
56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str);
74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
76 const unsigned strCt = sizeof(str)/sizeof(str[0]);
77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less)
    [all...]
  /ndk/tests/device/test-stlport/unit/
bound_test.cpp 52 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
54 const unsigned strCt = sizeof(str)/sizeof(str[0]);
56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str);
74 char const* str [] = { "a", "a", "b", "b", "q", "w", "z" }; local
76 const unsigned strCt = sizeof(str)/sizeof(str[0]);
77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less)
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_type.cc 303 AutofillFieldType AutofillType::StringToFieldType(const std::string& str) {
304 if (str == "NO_SERVER_DATA")
306 if (str == "UNKNOWN_TYPE")
308 if (str == "EMPTY_TYPE")
310 if (str == "NAME_FIRST")
312 if (str == "NAME_MIDDLE")
314 if (str == "NAME_LAST")
316 if (str == "NAME_MIDDLE_INITIAL")
318 if (str == "NAME_FULL")
320 if (str == "NAME_SUFFIX"
    [all...]
  /external/webkit/Source/WebKit/android/jni/
WebCoreJni.cpp 61 WTF::String jstringToWtfString(JNIEnv* env, jstring str)
63 if (!str || !env)
65 const jchar* s = env->GetStringChars(str, NULL);
68 WTF::String ret(s, env->GetStringLength(str));
69 env->ReleaseStringChars(str, s);
74 jstring wtfStringToJstring(JNIEnv* env, const WTF::String& str, bool validOnZeroLength)
76 int length = str.length();
77 return length || validOnZeroLength ? env->NewString(str.characters(), length) : 0;
90 string16 str = UTF8ToUTF16(s);
93 return str;
    [all...]
  /external/chromium/crypto/
sha2.cc 13 void SHA256HashString(const std::string& str, void* output, size_t len) {
15 ctx->Update(str.data(), str.length());
19 std::string SHA256HashString(const std::string& str) {
21 SHA256HashString(str, string_as_array(&output), output.size());
  /external/valgrind/main/coregrind/
link_tool_exe_darwin.in 88 my ($str) = @_;
89 if ($str =~ /.\.a$/ || $str =~ /.\.o$/) {
115 my $str = $ARGV[$n];
116 if ($str eq "-o" && $outname eq "") {
129 my $str = $ARGV[$n];
130 if ($str eq "-arch" && $archstr eq "") {
157 my $str = $ARGV[$n];
158 if (is_dota_or_doto($str)) {
159 $cmd = "$cmd $str";
    [all...]
  /dalvik/vm/hprof/
HprofString.cpp 38 static u4 computeUtf8Hash(const char *str)
44 cp = str;
52 hprof_string_id hprofLookupStringId(const char *str)
59 hashValue = computeUtf8Hash(str);
60 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)str,
65 newStr = strdup(str);
90 const char *str; local
92 str = (const char *)dvmHashIterData(&iter);
93 assert(str != NULL);
103 err = hprofAddU4ToRecord(rec, (u4)str);
    [all...]
  /development/tools/emulator/opengl/host/tools/emugen/
strUtils.cpp 21 std::string getNextToken(const std::string & str, size_t pos, size_t * last, const std::string & delim)
23 if (str.size() == 0 || pos >= str.size()) return "";
25 pos = str.find_first_not_of(WHITESPACE, pos);
28 *last = str.find_first_of(delim, pos);
29 if (*last == std::string::npos) *last = str.size();
30 std::string retval = str.substr(pos, *last - pos);
36 std::string trim(const string & str)
39 string::size_type start = str.find_first_not_of(WHITESPACE, 0);
40 string::size_type end = str.find_last_not_of(WHITESPACE)
    [all...]
  /external/chromium/base/json/
string_escape.cc 51 template <class STR>
52 void JsonDoubleQuoteT(const STR& str,
58 for (typename STR::const_iterator it = str.begin(); it != str.end(); ++it) {
59 typename ToUnsigned<typename STR::value_type>::Unsigned c = *it;
80 void JsonDoubleQuote(const std::string& str,
83 JsonDoubleQuoteT(str, put_in_quotes, dst);
86 std::string GetDoubleQuotedJson(const std::string& str) {
    [all...]
  /external/iproute2/lib/
ipx_pton.c 20 static int ipx_getnet(u_int32_t *net, const char *str)
25 for(i = 0; *str && (i < 8); i++) {
27 if ((tmp = hexget(*str)) & 0xf0) {
28 if (*str == '.')
34 str++;
39 if (*str == 0)
45 static int ipx_getnode(u_int8_t *node, const char *str)
51 if ((tmp = hexget(*str++)) & 0xf0)
55 if ((tmp = hexget(*str++)) & 0xf0)
58 if (*str == ':'
    [all...]
  /external/srec/shared/src/
ESR_Locale.c 43 ESR_ReturnCode ESR_str2locale(const LCHAR* str, ESR_Locale* locale)
46 if (!lstrcasecmp(str, L("EN-US"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_US;
47 else if (!lstrcasecmp(str, L("FR-FR"), &rtn) && !rtn) *locale = ESR_LOCALE_FR_FR;
48 else if (!lstrcasecmp(str, L("DE-DE"), &rtn) && !rtn) *locale = ESR_LOCALE_DE_DE;
49 else if (!lstrcasecmp(str, L("EN-GB"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_GB;
50 else if (!lstrcasecmp(str, L("IT-IT"), &rtn) && !rtn) *locale = ESR_LOCALE_IT_IT;
51 else if (!lstrcasecmp(str, L("NL-NL"), &rtn) && !rtn) *locale = ESR_LOCALE_NL_NL;
52 else if (!lstrcasecmp(str, L("PT-PT"), &rtn) && !rtn) *locale = ESR_LOCALE_PT_PT;
53 else if (!lstrcasecmp(str, L("ES-ES"), &rtn) && !rtn) *locale = ESR_LOCALE_ES_ES;
54 else if (!lstrcasecmp(str, L("JA-JP"), &rtn) && !rtn) *locale = ESR_LOCALE_JA_JP
    [all...]
  /external/dropbear/libtommath/
bn_mp_read_radix.c 19 int mp_read_radix (mp_int * a, const char *str, int radix)
35 if (*str == '-') {
36 ++str;
46 while (*str) {
51 ch = (char) ((radix < 36) ? toupper (*str) : *str);
72 ++str;
bn_mp_toradix.c 19 int mp_toradix (mp_int * a, char *str, int radix)
24 char *_s = str;
33 *str++ = '0';
34 *str = '\0';
45 *str++ = '-';
55 *str++ = mp_s_rmap[d];
65 *str = '\0';
bn_mp_toradix_n.c 22 int mp_toradix_n(mp_int * a, char *str, int radix, int maxlen)
27 char *_s = str;
36 *str++ = '0';
37 *str = '\0';
51 *str++ = '-';
68 *str++ = mp_s_rmap[d];
78 *str = '\0';
  /frameworks/base/tools/localize/
ValuesFile_test.cpp 20 const StringResource& str = *it; local
21 printf("%s: '%s'[%d]='%s' (%s) <!-- %s -->\n", str.pos.ToString().c_str(),
22 str.id.c_str(), str.index,
23 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(),
24 str.config.ToString().c_str(), str.comment.c_str());
  /external/apache-http/src/org/apache/commons/codec/language/
Soundex.java 159 * @param str
167 private char getMappingCode(String str, int index) {
168 char mappedChar = this.map(str.charAt(index));
171 char hwChar = str.charAt(index - 1);
173 char preHWChar = str.charAt(index - 2);
243 * @param str
249 public String soundex(String str) {
250 if (str == null) {
253 str = SoundexUtils.clean(str);
    [all...]
  /external/javasqlite/src/main/java/SQLite/
Shell.java 63 static public String sql_quote_dbl(String str) {
64 if (str == null) {
68 for (i = 0; i < str.length(); i++) {
69 if (str.charAt(i) == '\'') {
71 } else if (str.charAt(i) == '"') {
76 return "\"" + str + "\"";
79 for (i = 0; i < str.length(); i++) {
80 char c = str.charAt(i);
90 static public String sql_quote(String str) {
91 if (str == null)
    [all...]
  /external/v8/test/cctest/
test-flags.cc 74 const char* str = local
78 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
106 const char* str = local
110 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
131 const char* str = "--testing_bool_flag --foo"; local
132 CHECK_EQ(2, FlagList::SetFlagsFromString(str, StrLength(str)));
149 const char* str = " --testing_int_flag=\"foobar\"" local
168 const char* str = " --testing-int-flag 0 --testing_float_flag "; local
193 const char* str = "--testing-int-flag 42 -- testing-float-flag 7"; local
205 const char* str = "--testing-int-flag 42 --js-arguments testing-float-flag 7"; local
217 const char* str = "--testing-int-flag 42 --js-arguments=testing-float-flag 7"; local
229 const char* str = "--testing-int-flag 42 --"; local
    [all...]
  /external/bluetooth/bluez/lib/
bluetooth.c 53 char *str = bt_malloc(18); local
54 if (!str)
57 sprintf(str, "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",
61 return str;
64 bdaddr_t *strtoba(const char *str)
70 str2ba(str, &b);
77 int ba2str(const bdaddr_t *ba, char *str)
79 return sprintf(str, "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",
83 int str2ba(const char *str, bdaddr_t *ba)
88 if (bachk(str) < 0)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/
CachedXPathAPI.java 116 * @param str A valid XPath string.
121 public Node selectSingleNode(Node contextNode, String str)
124 return selectSingleNode(contextNode, str, contextNode);
132 * @param str A valid XPath string.
139 Node contextNode, String str, Node namespaceNode)
144 NodeIterator nl = selectNodeIterator(contextNode, str, namespaceNode);
155 * @param str A valid XPath string.
160 public NodeIterator selectNodeIterator(Node contextNode, String str)
163 return selectNodeIterator(contextNode, str, contextNode);
171 * @param str A valid XPath string
    [all...]

Completed in 1072 milliseconds

1 2 34 5 6 7 8 91011>>