Home
last modified time | relevance | path

Searched refs:rstr (Results 1 – 10 of 10) sorted by relevance

/external/marisa-trie/v0_1_5/tests/
Dunit-test.cc127 marisa_alpha::RString rstr; in TestString() local
129 ASSERT(rstr.ptr() == NULL); in TestString()
130 ASSERT(rstr.length() == 0); in TestString()
140 rstr = marisa_alpha::RString(str); in TestString()
141 ASSERT(rstr.ptr() == s); in TestString()
142 ASSERT(rstr.length() == 2); in TestString()
143 ASSERT(rstr[0] == s[1]); in TestString()
144 ASSERT(rstr[1] == s[0]); in TestString()
159 rstr = marisa_alpha::RString(str); in TestString()
161 ASSERT(rstr.ptr() == s2.c_str()); in TestString()
[all …]
/external/marisa-trie/tests/
Dunit-test.cc125 marisa::RString rstr; in TestString() local
127 ASSERT(rstr.ptr() == NULL); in TestString()
128 ASSERT(rstr.length() == 0); in TestString()
138 rstr = marisa::RString(str); in TestString()
139 ASSERT(rstr.ptr() == s); in TestString()
140 ASSERT(rstr.length() == 2); in TestString()
141 ASSERT(rstr[0] == s[1]); in TestString()
142 ASSERT(rstr[1] == s[0]); in TestString()
157 rstr = marisa::RString(str); in TestString()
159 ASSERT(rstr.ptr() == s2.c_str()); in TestString()
[all …]
/external/fio/
Deta.c13 static void update_condensed_str(char *rstr, char *run_str_condensed) in update_condensed_str() argument
15 if (*rstr) { in update_condensed_str()
16 while (*rstr) { in update_condensed_str()
19 *run_str_condensed++ = *rstr++; in update_condensed_str()
20 while (*(rstr - 1) == *rstr) { in update_condensed_str()
21 rstr++; in update_condensed_str()
/external/linux-tools-perf/src/tools/lib/traceevent/
Dparse-filter.c2033 char *rstr; in exp_to_str() local
2039 rstr = arg_to_str(filter, arg->exp.right); in exp_to_str()
2040 if (!lstr || !rstr) in exp_to_str()
2078 len = strlen(op) + strlen(lstr) + strlen(rstr) + 4; in exp_to_str()
2080 snprintf(str, len, "%s %s %s", lstr, op, rstr); in exp_to_str()
2083 free(rstr); in exp_to_str()
2091 char *rstr; in num_to_str() local
2097 rstr = arg_to_str(filter, arg->num.right); in num_to_str()
2098 if (!lstr || !rstr) in num_to_str()
2125 len = strlen(lstr) + strlen(op) + strlen(rstr) + 4; in num_to_str()
[all …]
/external/chromium-libpac/test/
Dproxy_resolver_v8_unittest.cc123 std::string rstr(response8.string()); in string16ToProxyList() local
124 if (rstr.find(';') == std::string::npos) { in string16ToProxyList()
125 addString(&ret, rstr); in string16ToProxyList()
129 rstr.copy(str, 0, rstr.length()); in string16ToProxyList()
/external/libvncserver/x11vnc/
Dscreen.c1641 char *str, *rstr, *q; in initialize_raw_fb() local
1729 rstr = strdup(raw_fb_str+1); in initialize_raw_fb()
1735 rstr = strdup(raw_fb_str); in initialize_raw_fb()
1739 if (!strcasecmp(rstr, "NULL") || !strcasecmp(rstr, "ZERO") in initialize_raw_fb()
1740 || !strcasecmp(rstr, "NONE")) { in initialize_raw_fb()
1741 rstr = strdup("map:/dev/zero@640x480x32"); in initialize_raw_fb()
1742 } else if (!strcasecmp(rstr, "NULLBIG") || !strcasecmp(rstr, "NONEBIG")) { in initialize_raw_fb()
1743 rstr = strdup("map:/dev/zero@1024x768x32"); in initialize_raw_fb()
1745 if (!strcasecmp(rstr, "RAND")) { in initialize_raw_fb()
1746 rstr = strdup("file:/dev/urandom@128x128x16"); in initialize_raw_fb()
[all …]
Dconnections.c297 char *rstr = strdup(str); in client_match() local
298 char *q = strrchr(rstr, ':'); in client_match()
313 char *orig = rstr; in client_match()
314 rstr = host2ip(rstr); in client_match()
316 if (rstr == NULL || *rstr == '\0') { in client_match()
323 rfbLog("lookup: %s -> %s port=%d\n", str, rstr, port); in client_match()
325 if (!strcmp(rstr, cl->host)) { in client_match()
343 free(rstr); in client_match()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc167 android::String8 rstr(str); in UTF16ToASCII() local
168 return std::string(rstr.string()); in UTF16ToASCII()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-US/
Den-US_lexpos.utf3731 N^V "overstrain" ",o_Uv@rstr'e_In"
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch3533 +if (db) fprintf(stderr, "rstr: %dx%d+%d+%d\n", ws, hs, xs, ys);