/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
CRLReason.java | 99 String str; local 103 str = "invalid"; 107 str = reasonString[reason]; 109 return "CRLReason: " + str;
|
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-string.h | 214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } 226 String(const ::std::string& str) { 227 ConstructNonNull(str.c_str(), str.length()); 233 String(const ::string& str) { 234 ConstructNonNull(str.c_str(), str.length()); 303 char* const str = new char[a_length + 1]; local 304 memcpy(str, buffer, a_length) [all...] |
/external/clang/test/CodeGen/ |
2002-03-12-ArrayInitialization.c | 9 char str[10] = "x"; variable
|
/external/clang/test/Lexer/ |
c90.c | 15 const char * str = local
|
/external/clang/test/Preprocessor/ |
c99-6_10_3_4_p6.c | 5 #define str(s) # s macro 6 #define xstr(s) str(s) 15 fputs(str(strncmp("abc\0d" "abc", '\4') // this goes away 16 == 0) str(: @\n), s);
|
/external/llvm/utils/lit/lit/ |
__init__.py | 8 __version__ = '.'.join(map(str, __versioninfo__)) + 'dev'
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-string.h | 214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } 226 String(const ::std::string& str) { 227 ConstructNonNull(str.c_str(), str.length()); 233 String(const ::string& str) { 234 ConstructNonNull(str.c_str(), str.length()); 303 char* const str = new char[a_length + 1]; local 304 memcpy(str, buffer, a_length) [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-string.h | 212 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } 225 String(const ::std::string& str) { 226 ConstructNonNull(str.c_str(), str.length()); 233 String(const ::string& str) { 234 ConstructNonNull(str.c_str(), str.length()); 301 char* const str = new char[length + 1]; local 302 memcpy(str, buffer, length) [all...] |
/external/qemu/ |
qemu_socket.h | 13 int inet_listen(const char *str, char *ostr, int olen, 16 int inet_connect(const char *str, int socktype); 26 int parse_host_port(SockAddress* saddr, const char *str); 28 const char *str);
|
/external/skia/src/ports/ |
SkXMLParser_empty.cpp | 32 void SkXMLParser::GetNativeErrorString(int error, SkString* str)
|
/external/webkit/Source/WebCore/platform/text/cf/ |
StringCF.cpp | 30 String::String(CFStringRef str) 32 if (!str) 35 CFIndex size = CFStringGetLength(str); 40 CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data());
|
/libcore/luni/src/main/java/org/w3c/dom/ |
DOMStringList.java | 44 * @param str The string to look for. 48 public boolean contains(String str);
|
/external/apache-http/src/org/apache/commons/codec/language/ |
RefinedSoundex.java | 152 * @param str 156 public String soundex(String str) { 157 if (str == null) { 160 str = SoundexUtils.clean(str); 161 if (str.length() == 0) { 162 return str; 166 sBuf.append(str.charAt(0)); 171 for (int i = 0; i < str.length(); i++) { 173 current = getMappingCode(str.charAt(i)) [all...] |
/external/bluetooth/bluez/src/ |
oui.c | 44 char *str, *map, *off, *end; local 56 str = malloc(128); 57 if (!str) { 62 memset(str, 0, 128); 66 free(str); 75 strncpy(str, off, end - off); 77 free(str); 78 str = NULL; 85 return str;
|
/external/clang/test/Sema/ |
warn-strlcpycat-size.c | 37 char str[] = "hi"; local 38 strlcpy(s->x, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} 44 char str[] = "hi"; local 46 strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} 52 char str[] = "hi"; local 54 strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
|
/external/icu4c/samples/translit/answers/ |
main_2.cpp | 25 UnicodeString str, str2; local 56 str.remove(); 57 defFmt->format(cal->getTime(status), str, status); 60 uprintf(escape(str)); 64 str.remove(); 65 fmt->format(cal->getTime(status), str, status); 68 uprintf(escape(str)); 72 greek_latin->transliterate(str); 74 uprintf(escape(str));
|
/external/stlport/test/eh/ |
nc_alloc.h | 82 static void SetCurrentTestCategory( const char* str ); 85 static void SetCurrentContainer( const char* str ); 88 static void SetCurrentTestName(const char* str); 162 inline void TestController::SetCurrentTestCategory(const char* str) { 163 current_test_category = str; 168 inline void TestController::SetCurrentContainer(const char* str) { 169 current_container=str; 172 inline void TestController::SetCurrentTestName(const char* str) { 173 current_test = str;
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
CString.cpp | 34 CString::CString(const char* str) 36 if (!str) 39 init(str, strlen(str)); 42 CString::CString(const char* str, size_t length) 44 init(str, length); 47 void CString::init(const char* str, size_t length) 49 if (!str) 59 memcpy(m_buffer->mutableData(), str, length);
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
metered_stream.py | 99 def progress(self, str): 112 self._write(str) 114 def update(self, str): 126 _log.info(str) 128 self._write(str) 130 def _write(self, str): 143 self._stream.write(str) 144 last_newline = str.rfind("\n") 145 self._last_update = str[(last_newline + 1):]
|
/libcore/luni/src/main/java/java/io/ |
StringReader.java | 29 private String str; field in class:StringReader 38 * Construct a new {@code StringReader} with {@code str} as source. The size 40 * to synchronize access through is set to {@code str}. 42 * @param str 45 public StringReader(String str) { 46 this.str = str; 47 this.count = str.length(); 57 str = null; 66 return str == null [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultStatusTest.java | 34 String[] str = {"BUFFER_OVERFLOW", "BUFFER_UNDERFLOW", "CLOSED", "OK"}; local 36 if (enS.length == str.length) { 39 for (int j = 0; j < str.length; j++) { 40 if (enS[i].toString() == str[j]) { 56 String[] str = {"BUFFER_OVERFLOW", "BUFFER_UNDERFLOW", "CLOSED", "OK"}; local 62 for (int i = 0; i < str.length; i++) { 64 enS = SSLEngineResult.Status.valueOf(str[i]); 65 assertEquals("Incorrect Status", enS.toString(), str[i]); 67 fail("Unexpected exception " + e + " was thrown for " + str[i]);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-103087.js | 92 var str = ''; variable 93 str += '<html xmlns="http://www.w3.org/1999/xhtml"' + '\n'; 94 str += ' xmlns:xlink="http://www.w3.org/XML/XLink/0.9">' + '\n'; 95 str += ' <head><title>Three Namespaces</title></head>' + '\n'; 96 str += ' <body>' + '\n'; 97 str += ' <h1 align="center">An Ellipse and a Rectangle</h1>' + '\n'; 98 str += ' <svg xmlns="http://www.w3.org/Graphics/SVG/SVG-19991203.dtd" ' + '\n'; 99 str += ' width="12cm" height="10cm">' + '\n'; 100 str += ' <ellipse rx="110" ry="130" />' + '\n'; 101 str += ' <rect x="4cm" y="1cm" width="3cm" height="6cm" />' + '\n' [all...] |
/external/chromium/base/ |
string_split.cc | 14 template<typename STR> 15 static void SplitStringT(const STR& str, 16 const typename STR::value_type s, 18 std::vector<STR>* r) { 21 size_t c = str.size(); 23 if (i == c || str[i] == s) { 25 STR tmp = str.substr(last, len); 27 STR t_tmp [all...] |
string_tokenizer.h | 90 template <class str, class const_iterator> 93 typedef typename str::value_type char_type; 103 StringTokenizerT(const str& string, 104 const str& delims) { 110 const str& delims) { 122 void set_quote_chars(const str& quotes) { quotes_ = quotes; } 148 str token() const { return str(token_begin_, token_end_); } 157 const str& delims) { 177 if (delims_.find(*token_begin_) == str::npos [all...] |
/external/icu4c/samples/break/ |
ubreak.c | 17 void printTextRange(UChar* str, int32_t start, int32_t end) 22 savedEndChar = str[end]; 23 str[end] = 0; 24 u_austrncpy(charBuf, str+start, sizeof(charBuf)-1); 27 str[end] = savedEndChar; 33 void printEachForward( UBreakIterator* boundary, UChar* str) { 38 printTextRange(str, start, end ); 44 void printEachBackward( UBreakIterator* boundary, UChar* str) { 49 printTextRange( str, start, end ); 54 void printFirst(UBreakIterator* boundary, UChar* str) { [all...] |