/external/chromium_org/content/renderer/pepper/ |
npapi_glue.cc | 91 StringVar* string = StringVar::FromPPVar(var); local 92 if (!string) { 96 const std::string& value = string->value(); 153 StringVar* string = StringVar::FromPPVar(var); local 154 if (!string) 156 return WebBindings::getStringIdentifier(string->value().c_str()); 280 StringVar* string = StringVar::FromPPVar(exception_); local 281 if (string) 282 WebBindings::setException(object_var_, string->value().c_str()) [all...] |
ppb_var_deprecated_impl.cc | 72 StringVar* string = StringVar::FromPPVar(var); local 73 if (!string) { 77 const std::string& value = string->value(); 281 // Specifically allow only string functions to be called.
|
v8_var_converter.cc | 9 #include <string> 121 StringVar* string = StringVar::FromPPVar(var); local 122 if (!string) { 127 const std::string& value = string->value(); 128 // Create a string object rather than a string primitive. This allows us 129 // to have multiple references to the same string in javascript, which 131 *result = v8::String::NewFromUtf8(isolate, 133 v8::String::kNormalString [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
manifest_util.py | 8 import string namespace 53 """Convert a dict to a JSON-formatted string.""" 134 # Ensure host_os has a valid string. We'll use it for pretty printing. 162 template = string.Template(self['url']) 244 """Load a JSON bundle string. Raises an exception if json_string 248 json_string: a JSON-formatted string containing the bundle 414 """This class contains utilities for manipulation an SDK manifest string 556 """Load a JSON manifest string. Raises an exception if json_string 560 json_string: a JSON-formatted string containing the previous manifest
|
/external/chromium_org/native_client_sdk/src/doc/_sphinxext/ |
devsite_builder.py | 13 import string namespace 26 PAGE_TEMPLATE = string.Template(r''' 266 out_f.write(string.Template(in_f.read()).substitute(subs))
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/ |
nacl_io_demo.c | 11 #include <string.h> 71 * Create a new PP_Var from a C string. 72 * @param[in] str The string to convert. 83 * Printf to a newly allocated C string. 84 * @param[in] format A printf format string. 86 * @return The newly constructed string. Caller takes ownership. */ 105 * Printf to a newly allocated C string. 106 * @param[in] format A print format string. 108 * @return The newly constructed string. Caller takes ownership. 121 * @param[in] format A print format string 127 char* string; local [all...] |
/external/chromium_org/net/http/ |
mock_gssapi_library_posix.cc | 17 std::string name; 85 std::string BufferToString(const gss_buffer_t src) { 86 std::string dest; 89 const char* string = reinterpret_cast<char*>(src->value); local 90 dest.assign(string, src->length); 94 void BufferFromString(const std::string& src, gss_buffer_t dest) { 119 std::string NameToString(const gss_name_t& src) { 120 std::string dest; 123 test::GssNameMockImpl* string = 125 dest = string->name [all...] |
/external/chromium_org/net/tools/flip_server/ |
spdy_interface_test.cc | 35 void Save() { string = std::string(data, size); } 39 std::string string; member in struct:net::__anon9553::StringSaver 46 MOCK_METHOD2(OnStreamError, void(SpdyStreamId, const std::string&)); 78 std::string log_prefix) 91 std::string, 92 std::string, 93 std::string, 116 SMInterface*(const std::string&, const std::string&)) [all...] |
/external/chromium_org/ppapi/tests/ |
test_case.h | 12 #include <string> 48 // first displayed, passing a string. If the string is empty, RunTests should 56 virtual void RunTests(const std::string& test_filter) = 0; 58 static std::string MakeFailureMessage(const char* file, int line, 91 const std::map<std::string, bool>& remaining_tests() { 94 const std::set<std::string>& skipped_tests() { 120 bool ShouldRunAllTests(const std::string& filter); 125 bool ShouldRunTest(const std::string& test_name, const std::string& filter) 139 std::string RunOnThread(std::string(T::*test_to_run)()) { function in class:TestCase [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
addrcache_test.cc | 22 #include <string> 37 typedef std::string string; typedef in class:open_vcdiff::__anon10347::VCDiffAddressCacheTest 119 string address_stream_; 122 string large_address_stream_; 128 string::size_type last_encode_size_; 463 // (the uppermost, or 7 bit) set. A longer string of bytes that all have 464 // bit 7 set is not a valid Varint. Try to parse such a string as a Varint
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteStatement.cpp | 43 SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql) 70 // Pass the length of the string including the null character to sqlite3_prepare_v2; 71 // this lets SQLite avoid an extra string copy. 176 int SQLiteStatement::bindBlob(int index, const String& text) 179 ASSERT(!String().charactersWithNullTermination().data()); 183 int SQLiteStatement::bindText(int index, const String& text) 190 ASSERT(!String().charactersWithNullTermination().data()); 234 return bindText(index, value.string()); 281 return equalIgnoringCase(String("BLOB"), String(reinterpret_cast<const UChar*>(sqlite3_column_decltype16(m_statement, col)))) 313 const UChar* string = reinterpret_cast<const UChar*>(sqlite3_value_text16(value)); local 334 const UChar* string = reinterpret_cast<const UChar*>(sqlite3_column_text16(m_statement, col)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
AtomicString.cpp | 37 COMPILE_ASSERT(sizeof(AtomicString) == sizeof(String), atomic_string_and_string_must_be_same_size); 50 StringImpl* addStringImpl(StringImpl* string) 52 if (!string->length()) 55 StringImpl* result = *m_table.add(string).iterator; 60 ASSERT(!string->isStatic() || result->isStatic()); 86 StringImpl* string = *iter; local 87 if (!string->isStatic()) { 88 ASSERT(string->isAtomic()); 89 string->setIsAtomic(false); 118 // If the string is newly-translated, then we need to adopt it [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
svn.py | 35 import string namespace
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
sfobjs.c | 53 FT_String* string = NULL; local 55 FT_Byte* read = (FT_Byte*)entry->string; 61 if ( FT_NEW_ARRAY( string, len + 1 ) ) 74 string[n] = (char)code; 77 string[n] = 0; 79 return string; 88 FT_String* string = NULL; local 90 FT_Byte* read = (FT_Byte*)entry->string; 96 if ( FT_NEW_ARRAY( string, len + 1 ) ) 109 string[n] = (char)code [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
reldtfmt.cpp | 32 int32_t len; /** length of the string **/ 33 const UChar* string; /** string, or NULL if not set **/ member in struct:URelativeString 126 // look up string 130 // found a relative string 197 if(fDates[n].string != NULL && 200 fDates[n].string))) { 251 return fDates[n].string; 408 // load the string and length 425 // copy the string pointe [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
uenumtst.c | 210 const char *string = NULL; local 212 while ((string = uenum_next(en, &len, &status))) { 213 log_verbose("read \"%s\", length %i\n", string, len); 281 const char *string = NULL; local 290 while ((string = uenum_next(en, &len, &status))) { 291 log_verbose("read \"%s\", length %i\n", string, len);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayPost.cpp | 32 SK_MEMBER(sink, String), 33 SK_MEMBER_PROPERTY(target, String), 34 SK_MEMBER_PROPERTY(type, String) 83 SkString string; local 84 SkDump::GetEnumString(SkType_EventMode, mode, &string); 85 if (!string.equals("immediate")) 86 SkDebugf("mode=\"%s\" ", string.c_str()); 133 SkDebugf("string=\"%s\" ", meta.findString(name)); 283 SkString* string = value.fOperand.fString; local 287 fEvent.setString("id", *string); [all...] |
SkMemberInfo.cpp | 124 void SkMemberInfo::getString(const SkDisplayable* displayable, SkString** string) const { 129 *string = value.fOperand.fString; 135 *string = (SkString*) valuePtr; 148 SkString* string = (SkString*) memberData(displayable); local 149 string->set(*value); 232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) { 233 SkASSERT(sizeof("string") == sizeof("script")); 312 SkString string(rawValue, rawValueLen); 314 scriptValue.fOperand.fString = &string; 318 SkString* string = (SkString*) memberData(displayable); local 423 SkString* string = untypedStorage ? (SkString*) untypedStorage : (*arrayStorage)[storageOffset].fString; local [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
rijndael.py | 12 key must be a string of length 16, 24, or 32 30 import string namespace 327 return string.join(map(chr, result), '') 370 return string.join(map(chr, result), '')
|
/external/chromium_org/tools/emacs/ |
flymake-chromium.el | 33 (defun cr-flymake-string-prefix-p (prefix str) 34 "Return non-nil if PREFIX is a prefix of STR (23.2 has string-prefix-p but 36 (string= prefix (substring str 0 (length prefix)))) 43 (cr-flymake-string-prefix-p 49 (replace-regexp-in-string 53 (file-truename (or (and (cr-flymake-string-prefix-p 85 (error (message "%s" (prin1-to-string msg))))
|
/external/chromium_org/tools/generate_stubs/ |
generate_stubs.py | 37 import string namespace 62 # We consider the identifier to be the string that follows these constraints: 149 #include <string> 167 # string substition with the path to the associated stub header file. 295 const std::vector<std::string>& paths = it->second; 297 for (std::vector<std::string>::const_iterator dso_path = paths.begin(); 348 """typedef std::map<StubModules, std::vector<std::string> > StubPathMap; 363 infile_path: String holding the path to the input file. 366 The module name as a string. 387 return_type: A string with the return type [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
cmake.py | 34 import string namespace 122 """Escapes the string 'a' for use inside a CMake string. 126 '"' otherwise it will end the string 127 ';' otherwise the string becomes a list 130 '#' when the lexer is in string state, this does not start a comment 236 """Converts the given string 'a' to a valid CMake target name. 243 return a.translate(string.maketrans(' /():.', '______')) [all...] |
/external/chromium_org/tools/gyp/test/lib/ |
TestCommon.py | 99 import string namespace 137 elif string.find(sys.platform, 'irix') != -1: 146 elif string.find(sys.platform, 'darwin') != -1: 155 elif string.find(sys.platform, 'sunos') != -1: 232 print "Missing files: `%s'" % string.join(missing, "', `") 234 print "Unwritable files: `%s'" % string.join(unwritable, "', `") 241 contains = (string.find(file_contents, required) != -1) 243 print "File `%s' does not contain required string." % file 244 print self.banner('Required string ') 251 """Ensures that the specified output string (first argument [all...] |
/external/chromium_org/ui/android/java/resource_map/org/chromium/ui/ |
R.java | 18 public static final class string { class in class:R
|
/external/chromium_org/ui/base/x/ |
x11_util.h | 14 #include <string> 159 UI_EXPORT bool PropertyExists(XID window, const std::string& property_name); 171 // Get the value of an int, int array, atom array or string property. On 175 // should accept an Atom instead of a string. 176 UI_EXPORT bool GetIntProperty(XID window, const std::string& property_name, 178 UI_EXPORT bool GetXIDProperty(XID window, const std::string& property_name, 180 UI_EXPORT bool GetIntArrayProperty(XID window, const std::string& property_name, 183 const std::string& property_name, 186 XID window, const std::string& property_name, std::string* value) 347 const char* string() const { return string_; } function in class:ui::XScopedString [all...] |