/external/guava/guava-tests/test/com/google/common/eventbus/ |
H A D | StringCatcher.java | 35 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 D | IsEqualIgnoringCase.java | 11 * 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 D | CrcFunction.java | 17 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 D | FindFunction.java | 17 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 D | LengthFunction.java | 17 package com.google.clearsilver.jsilver.functions.string; 24 * Returns the length of the string expression. 29 * @param args A single string value
|
H A D | SliceFunction.java | 17 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 D | InitializationError.java | 23 public InitializationError(String string) { argument 24 this(new Exception(string));
|
/external/libcxx/src/ |
H A D | random.cpp | 31 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 D | compare.pass.cpp | 223 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 D | stream.pass.cpp | 26 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 D | lldb_module_utils.py | 6 import string namespace
|
/external/mdnsresponder/mDNSPosix/ |
H A D | parselog.py | 60 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 D | glX_proto_common.py | 29 import string namespace 72 parameters = string.join( param.count_parameter_list, "," )
|
/external/pcre/dist/ |
H A D | pcre_valid_utf8.c | 53 * 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 D | TypeWriterString.java | 32 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 D | ExtensionMatcher.java | 46 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 D | sample2.h | 37 #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 D | count_reduced_clipstacks.lua | 16 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 D | StringEncoder.java | 22 * 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 D | ExtendedFlags.java | 32 string(int i) { method in class:ExtendedFlags
|
/external/stlport/stlport/stl/ |
H A D | msl_string.h | 22 # 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 D | conv_string.cpp | 87 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 D | Support_Proxy_I1.java | 27 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 D | XMLStringFactoryImpl.java | 49 * 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 D | mbswidth.c | 1 /* 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;
|