Searched defs:string (Results 101 - 125 of 1253) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/eventbus/
H A DStringCatcher.java35 public void hereHaveAString(String string) { argument
36 events.add(string);
39 public void methodWithoutAnnotation(String string) { argument
/external/hamcrest/library/src/org/hamcrest/text/
H A DIsEqualIgnoringCase.java11 * Tests if a string is equal to another string, regardless of the case.
18 private final String string; field in class:IsEqualIgnoringCase
20 public IsEqualIgnoringCase(String string) { argument
21 if (string == null) {
24 this.string = string;
28 return string.equalsIgnoreCase(item);
33 .appendValue(string)
38 public static Matcher<String> equalToIgnoringCase(String string) { argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
H A DCrcFunction.java17 package com.google.clearsilver.jsilver.functions.string;
28 * Returns the CRC-32 of a string.
33 * @param args 1 string expression
34 * @return CRC-32 of string as number value
37 String string = args[0].asString();
43 b = string.getBytes("UTF-8");
H A DFindFunction.java17 package com.google.clearsilver.jsilver.functions.string;
24 * Returns the numeric position of the substring in the string (if found), otherwise returns -1
25 * similar to the Python string.find method.
30 * @param args 2 string expressions (full string and substring)
H A DLengthFunction.java17 package com.google.clearsilver.jsilver.functions.string;
24 * Returns the length of the string expression.
29 * @param args A single string value
H A DSliceFunction.java17 package com.google.clearsilver.jsilver.functions.string;
28 * Returns the string slice starting at start and ending at end, similar to the Python slice
34 * @param args 1 string values then 2 numeric values (start and end).
35 * @return Sliced string
41 String string = stringValue.asString();
44 int length = string.length();
63 return literalValue(string.substring(start, end), stringValue.getEscapeMode(), stringValue
/external/junit/src/org/junit/internal/runners/
H A DInitializationError.java23 public InitializationError(String string) { argument
24 this(new Exception(string));
/external/libcxx/src/
H A Drandom.cpp31 random_device::random_device(const string&) argument
49 random_device::random_device(const string& __token)
/external/libcxx/test/re/re.submatch/re.submatch.op/
H A Dcompare.pass.cpp223 typedef std::basic_string<CharT> string; typedef
224 typedef std::sub_match<typename string::const_iterator> sub_match;
263 assert((x[0] == sm2) == (string(1, x[0]) == y));
264 assert((x[0] != sm2) == (string(1, x[0]) != y));
265 assert((x[0] < sm2) == (string(1, x[0]) < y));
266 assert((x[0] > sm2) == (string(1, x[0]) > y));
267 assert((x[0] <= sm2) == (string(1, x[0]) <= y));
268 assert((x[0] >= sm2) == (string(1, x[0]) >= y));
269 assert((sm1 == y[0]) == (x == string(1, y[0])));
270 assert((sm1 != y[0]) == (x != string(
[all...]
H A Dstream.pass.cpp26 typedef std::basic_string<CharT> string; typedef
27 typedef std::sub_match<typename string::const_iterator> SM;
40 test(std::string("123"));
/external/lldb/examples/python/
H A Dlldb_module_utils.py6 import string namespace
/external/mdnsresponder/mDNSPosix/
H A Dparselog.py60 import string namespace
147 ipList[ip][2] = string.join(qaList[6:])
235 # Should measure string width, but don't know how to do that
/external/mesa3d/src/mapi/glapi/gen/
H A DglX_proto_common.py29 import string namespace
72 parameters = string.join( param.count_parameter_list, "," )
/external/pcre/dist/
H A Dpcre_valid_utf8.c53 * Validate a UTF-8 string *
57 check that a supposed UTF-8 string is actually valid. The early check means
58 that subsequent code can assume it is dealing with a valid string. The check
60 invalid string are then undefined.
74 PCRE_UTF8_ERR1 Missing 1 byte at the end of the string
75 PCRE_UTF8_ERR2 Missing 2 bytes at the end of the string
76 PCRE_UTF8_ERR3 Missing 3 bytes at the end of the string
77 PCRE_UTF8_ERR4 Missing 4 bytes at the end of the string
78 PCRE_UTF8_ERR5 Missing 5 bytes at the end of the string
98 string point
107 valid_utf(PCRE_PUCHAR string, int length, int *erroroffset) argument
[all...]
/external/proguard/src/proguard/gui/splash/
H A DTypeWriterString.java32 private final String string; field in class:TypeWriterString
41 * @param string the basic String.
44 public TypeWriterString(String string, Timing timing) argument
46 this.string = string;
57 int stringLength = string.length();
62 cachedString = string.substring(0, length);
/external/proguard/src/proguard/util/
H A DExtensionMatcher.java46 public boolean matches(String string) argument
48 return endsWithIgnoreCase(string, extension);
53 * Returns whether the given string ends with the given suffix, ignoring its
56 private static boolean endsWithIgnoreCase(String string, String suffix) argument
58 int stringLength = string.length();
61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
/external/protobuf/gtest/samples/
H A Dsample2.h37 #include <string.h>
40 // A simple string class.
48 // Clones a 0-terminated C string, allocating memory using new.
55 // The default c'tor constructs a NULL string.
58 // Constructs a MyString by cloning a 0-terminated C string.
64 MyString(const MyString& string) : c_string_(NULL) { argument
65 Set(string.c_string_);
74 // Gets the 0-terminated C string this MyString object represents.
81 // Sets the 0-terminated C string this MyString object represents.
/external/skia/tools/lua/
H A Dcount_reduced_clipstacks.lua16 function string.starts(String,Start)
17 return string.sub(String,1,string.len(Start))==Start
40 if (string.starts(t.verb, "draw")) then
/external/smack/src/org/jivesoftware/smack/util/
H A DStringEncoder.java22 * Encodes an string to another representation
24 * @param string
27 String encode(String string); argument
30 * Decodes an string back to it's initial representation
32 * @param string
35 String decode(String string); argument
/external/smack/src/org/xbill/DNS/
H A DExtendedFlags.java32 string(int i) { method in class:ExtendedFlags
/external/stlport/stlport/stl/
H A Dmsl_string.h22 # define string __msl_string macro
33 # include_next <string>
35 # include _STLP_NATIVE_HEADER(string)
43 # undef string macro
/external/aac/libSYS/src/
H A Dconv_string.cpp87 Description: string conversion functions
96 INT charBuf2HexString(char *string, UCHAR *charBuf, INT charBufLength) argument
107 /* define hex string Table */
110 /* calculate corresponding hex string from charBuffer */
115 string[i*2] = hexSymb[c1]; /* convert to string */
116 string[i*2+1] = hexSymb[c2]; /* convert to string */
119 /* terminate string */
120 string[charBufLengt
126 hexString2CharBuf(const char *string, UCHAR *charBuf, UINT charBufLength) argument
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_Proxy_I1.java27 String string(String s) throws Support_Proxy_ParentException, LinkageError; method in interface:Support_Proxy_I1
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXMLStringFactoryImpl.java49 * Create a new XMLString from a Java string.
52 * @param string Java String reference, which must be non-null.
56 public XMLString newstr(String string) argument
58 return new XString(string);
80 * @param string FastStringBuffer reference, which must be non-null.
86 public XMLString newstr(char[] string, int start, int length) argument
88 return new XStringForChars(string, start, length);
92 * Get a cheap representation of an empty string.
/external/bison/lib/
H A Dmbswidth.c1 /* Determine the number of screen columns needed for a string.
27 #include <string.h>
42 character string pointed to by STRING. If a non-printable character
47 mbswidth (const char *string, int flags) argument
49 return mbsnwidth (string, strlen (string), flags);
53 character string pointed to by STRING of length NBYTES. If a
57 mbsnwidth (const char *string, size_t nbytes, int flags) argument
59 const char *p = string;

Completed in 6671 milliseconds

1234567891011>>