| /external/chromium_org/chrome/browser/chromeos/input_method/ |
| input_method_engine.cc | 2 // Use of this source code is governed by a BSD-style license that can be 68 const std::string& code = event.code(); local 69 if (StartsWithASCII(code, "Control", true)) 71 if (StartsWithASCII(code, "Shift", true)) 73 if (StartsWithASCII(code, "Alt", true)) 75 if (StartsWithASCII(code, "Arrow", true)) 76 return code.substr(5); 77 if (code == "Escape") 79 if (code == "Backspace" || code == "Tab" | [all...] |
| input_method_engine_browsertests.cc | 2 // Use of this source code is governed by a BSD-style license that can be 385 const char* code; member in struct:chromeos::input_method::__anon7871::__anon7872 411 SCOPED_TRACE(std::string("KeyDown, ") + kMediaKeyCases[i].code); 415 kMediaKeyCases[i].key, kMediaKeyCases[i].code); 420 kMediaKeyCases[i].code, 458 " code : 'KeyZ'," 463 " code : 'KeyZ'," 496 " code : 'KeyQ'," 502 " code : 'KeyQ'," [all...] |
| /external/chromium_org/chrome/browser/resources/chromeos/braille_ime/ |
| externs.js | 2 // Use of this source code is governed by a BSD-style license that can be 139 ChromeKeyboardEvent.prototype.code;
|
| /external/chromium_org/chrome/browser/resources/cryptotoken/ |
| multiplesigner.js | 2 // Use of this source code is governed by a BSD-style license that can be 15 * code: number, 150 * @param {number} rc The return code from enumerating. 265 UTIL_fmt((result.code ? 'failure.' : 'success!') + 267 ' got code ' + result.code.toString(16))); 274 tracker.errorStatus = result.code; 276 switch (result.code) { 342 result.code.toString(16) + ')')); 344 'code': result.code [all...] |
| /external/chromium_org/chrome/browser/ui/prefs/ |
| prefs_tab_helper.cc | 2 // Use of this source code is governed by a BSD-style license that can be 227 // |pref_name| is "webkit.webprefs.fonts.serif.Hant". Since the script code for 237 int32 code = u_getPropertyValueEnum(UCHAR_SCRIPT, scriptName); local 238 DCHECK(code >= 0 && code < USCRIPT_CODE_LIMIT); 239 return static_cast<UScriptCode>(code); 243 // the script code in that family that is used in font pref names. For example, 245 // of font selection. Chrome uses the script code USCRIPT_HANGUL (script name 277 UScriptCode code = USCRIPT_INVALID_CODE; 279 uscript_getCode(locale.c_str(), &code, 1, &err) [all...] |
| /external/chromium_org/components/copresence/rpc/ |
| rpc_handler.cc | 2 // Use of this source code is governed by a BSD-style license that can be 61 if (status.code() != OK) { 62 LOG(ERROR) << "Copresence error code " << status.code() 66 return status.code() != OK; 69 void LogIfErrorStatus(const util::error::Code& code, 71 LOG_IF(ERROR, code != util::error::OK) 72 << context << " error " << code << ". See " local 124 // TODO(ckehoe): We're keeping this code in a separate function for no [all...] |
| /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
| SpeechRecognition.java | 2 // Use of this source code is governed by a BSD-style license that can be 92 int code = SpeechRecognitionError.NONE; local 97 code = SpeechRecognitionError.AUDIO; 100 code = SpeechRecognitionError.ABORTED; 104 code = SpeechRecognitionError.NOT_ALLOWED; 109 code = SpeechRecognitionError.NETWORK; 112 code = SpeechRecognitionError.NO_MATCH; 115 code = SpeechRecognitionError.NO_SPEECH; 122 terminate(code);
|
| /external/chromium_org/content/renderer/pepper/ |
| resource_creation_impl.cc | 2 // Use of this source code is governed by a BSD-style license that can be 176 PP_Var code = StringVar::StringToPPVar(""); local 184 code); 194 struct PP_Var code) { 202 code);
|
| /external/chromium_org/extensions/renderer/ |
| module_system_test.cc | 2 // Use of this source code is governed by a BSD-style license that can be 164 const std::string& code) { 165 source_map_->RegisterModule(name, code); 170 const std::string& code = ResourceBundle::GetSharedInstance() local 173 source_map_->RegisterModule(name, code); 178 const std::string& code) { 179 RegisterModule(name, code);
|
| /external/chromium_org/google_apis/drive/ |
| base_requests.h | 2 // Use of this source code is governed by a BSD-style license that can be 67 // Invoked when the authentication failed with an error code |code|. 68 virtual void OnAuthFailed(GDataErrorCode code) = 0; 78 // each request's constructor with error code GDATA_CANCELLED. 177 virtual void RunCallbackOnPrematureFailure(GDataErrorCode code) = 0; 182 // Returns an appropriate GDataErrorCode based on the HTTP response code and 200 virtual void OnAuthFailed(GDataErrorCode code) OVERRIDE; 236 virtual void RunCallbackOnPrematureFailure(GDataErrorCode code) OVERRIDE; 275 virtual void RunCallbackOnPrematureFailure(GDataErrorCode code) OVERRIDE 296 GDataErrorCode code; member in struct:google_apis::UploadRangeResponse [all...] |
| /external/chromium_org/google_apis/gaia/ |
| gaia_auth_fetcher_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 34 "oauth_code=test-code; Path=/test; Secure; HttpOnly"; 36 "oauth_code=test-code; Path=/test; HttpOnly"; 38 "oauth_code=test-code; Path=/test; Secure"; 56 net::URLRequestStatus::Status code; local 60 code = net::URLRequestStatus::SUCCESS; 63 code = net::URLRequestStatus::FAILED; 66 set_status(net::URLRequestStatus(code, 0)); 747 EXPECT_EQ("test-code", auth_code); 755 EXPECT_EQ("test-code", auth_code) [all...] |
| gaia_oauth_client_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 59 net::URLRequestStatus::Status code = net::URLRequestStatus::SUCCESS; variable 61 code = net::URLRequestStatus::FAILED; 64 set_status(net::URLRequestStatus(code, 0));
|
| /external/chromium_org/net/filter/ |
| gzip_filter_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 74 int code = CompressAll(ENCODE_DEFLATE , source_buffer(), source_len(), local 76 ASSERT_TRUE(code == Z_STREAM_END); 85 code = CompressAll(ENCODE_GZIP, source_buffer(), source_len(), 87 ASSERT_TRUE(code == Z_STREAM_END); 104 // other zlib error code if fail. 111 int code; local 115 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 120 code = deflateInit(&zlib_stream, Z_DEFAULT_COMPRESSION); 123 if (code != Z_OK 172 int code = Filter::FILTER_OK; local 337 int code = DecodeAllWithFilter(filter_.get(), corrupt_data, corrupt_data_len, local 360 int code = DecodeAllWithFilter(filter_.get(), corrupt_data, corrupt_data_len, local 380 int code = DecodeAllWithFilter(filter_.get(), corrupt_data, corrupt_data_len, local [all...] |
| sdch_filter_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 220 // Response code needs to be 200 to allow a pass through. 257 // Response code needs to be 200 to allow a pass through. 297 // Response code needs to be 200 to allow a pass through. 333 // Response code needs to be 200 to allow a pass through. 803 int code; local 806 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 811 CHECK_EQ(Z_OK, code); [all...] |
| /external/chromium_org/net/socket/ |
| socks_client_socket.cc | 2 // Use of this source code is governed by a BSD-style license that can be 52 uint8 code; member in struct:net::SOCKS4ServerResponse 424 switch (response->code) {
|
| /external/chromium_org/net/spdy/ |
| hpack_huffman_table_test.cc | 2 // Use of this source code is governed by a BSD-style license that can be 128 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local 129 EXPECT_TRUE(table_.Initialize(&code[0], code.size())); 137 HpackHuffmanSymbol code[] = { local 147 EXPECT_TRUE(table.Initialize(code, arraysize(code))); 150 // But using 2 bits with one symbol overflows the code. 151 HpackHuffmanSymbol code[] = { local 161 EXPECT_FALSE(table.Initialize(code, arraysize(code))) 166 HpackHuffmanSymbol code[] = { local 176 HpackHuffmanSymbol code[] = { local 187 HpackHuffmanSymbol code[] = { local 198 HpackHuffmanSymbol code[] = { local 209 HpackHuffmanSymbol code[] = { local 220 HpackHuffmanSymbol code[] = { local 231 HpackHuffmanSymbol code[] = { local 291 HpackHuffmanSymbol code[] = { local 331 HpackHuffmanSymbol code[] = { local 389 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local 418 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local 453 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local 471 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local 491 std::vector<HpackHuffmanSymbol> code = HpackHuffmanCode(); local [all...] |
| /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
| ThirdPartyTokenFetcher.java | 2 // Use of this source code is governed by a BSD-style license that can be 31 void onTokenFetched(String code, String accessToken); 38 * Request both the authorization code and access token from the server. See 41 private static final String RESPONSE_TYPE = "code token"; 167 String code = intent.getStringExtra("code"); local 175 if (code == null || accessToken == null) { 176 failFetchToken("Ignoring redirect with missing code or token."); 181 mCallback.onTokenFetched(code, accessToken);
|
| /external/chromium_org/sandbox/win/src/ |
| Wow64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 // Warning: do not modify this definition without changing also the code on the 169 DWORD code; local 171 ::GetExitCodeProcess(process_info.process_handle(), &code) ? true : false; 176 return ok && (0 == code);
|
| /external/chromium_org/sandbox/win/tests/common/ |
| controller.h | 2 // Use of this source code is governed by a BSD-style license that can be 48 unsigned int code = static_cast<unsigned int>(result); local 51 return (code > first) && (code < last);
|
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
| PrivateScriptRunner.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 93 fprintf(stderr, "Private script error: Target source code was not found. (Class name = %s)\n", className.utf8().data()); 109 fprintf(stderr, "Private script error: Target source code was not found. (Class name = %s)\n", className.utf8().data()); 208 v8::Handle<v8::Value> code = exceptionObject->Get(v8String(isolate, "code")); local 209 RELEASE_ASSERT(!code.IsEmpty() && code->IsInt32()); 212 exceptionState.throwDOMException(toInt32(code), messageString);
|
| /external/chromium_org/third_party/WebKit/Source/core/testing/ |
| InternalSettings.cpp | 9 * 1. Redistributions of source code must retain the above copyright 222 UScriptCode code = scriptNameToCode(script); local 223 if (code == USCRIPT_INVALID_CODE) 225 if (settings()->genericFontFamilySettings().updateStandard(family, code)) 232 UScriptCode code = scriptNameToCode(script); local 233 if (code == USCRIPT_INVALID_CODE) 235 if (settings()->genericFontFamilySettings().updateSerif(family, code)) 242 UScriptCode code = scriptNameToCode(script); local 243 if (code == USCRIPT_INVALID_CODE) 245 if (settings()->genericFontFamilySettings().updateSansSerif(family, code)) 252 UScriptCode code = scriptNameToCode(script); local 262 UScriptCode code = scriptNameToCode(script); local 272 UScriptCode code = scriptNameToCode(script); local 282 UScriptCode code = scriptNameToCode(script); local [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/xml/ |
| XPathParser.cpp | 10 * 1. Redistributions of source code must retain the above copyright 143 Token Parser::makeTokenAndAdvance(int code, int advance) 146 return Token(code); 149 Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance) 152 return Token(code, val); 155 Token Parser::makeTokenAndAdvance(int code, EqTestOp::Opcode val, int advance) 158 return Token(code, val); 272 char code = peekCurHelper(); local 273 switch (code) { 276 return makeTokenAndAdvance(code); [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
| Geolocation.cpp | 9 * 1. Redistributions of source code must retain the above copyright 66 PositionError::ErrorCode code = PositionError::POSITION_UNAVAILABLE; local 67 switch (error->code()) { 69 code = PositionError::PERMISSION_DENIED; 72 code = PositionError::POSITION_UNAVAILABLE; 76 return PositionError::create(code, error->message());
|
| /external/chromium_org/third_party/brotli/src/brotli/enc/ |
| entropy_encode.cc | 71 // Brotli specifies a maximum depth of 15 bits for "code trees" 72 // and 7 bits for "code length code trees." 250 // Let's make the Huffman code more compatible with rle encoding. 291 // with an rle code. 491 int code = 0; local 493 code = (code + bl_count[bits - 1]) << 1; 494 next_code[bits] = code;
|
| /external/chromium_org/third_party/cython/src/Cython/Utility/ |
| Builtins.c | 82 static PyObject* __Pyx_PyExecGlobals(PyObject* code) { 87 result = __Pyx_PyExec2(code, globals); 107 char *code = 0; local 130 "code object passed to exec() may not contain free variables"); 152 "exec: arg 1 must be string, bytes or code object, got %.200s", 157 code = PyBytes_AS_STRING(o); 159 code = PyString_AS_STRING(o); 162 result = PyRun_StringFlags(code, Py_file_input, globals, locals, &cf); 164 result = PyRun_String(code, Py_file_input, globals, locals);
|