| /external/chromium_org/chrome/browser/resources/cryptotoken/ |
| usbenrollhandler.js | 2 // Use of this source code is governed by a BSD-style license that can be 96 if (!signResult.code) { 101 } else if (signResult.code == DeviceStatusCodes.WRONG_DATA_STATUS || 102 signResult.code == DeviceStatusCodes.WRONG_LENGTH_STATUS) { 238 * @param {number} code Status code 243 function(gnubby, version, code, infoArray) { 248 switch (code) { 275 console.log(UTIL_fmt('timeout (' + code.toString(16) + 292 console.log(UTIL_fmt('Failed to enroll gnubby: ' + code)); [all...] |
| /external/chromium_org/chrome/browser/signin/ |
| account_reconcilor_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 90 net::HttpStatusCode code, 92 url_fetcher_factory_.SetFakeResponse(GURL(url), data, code, status); local
|
| /external/chromium_org/chrome/renderer/spellchecker/ |
| spellcheck_provider.cc | 2 // Use of this source code is governed by a BSD-style license that can be 248 uint32 code = 0; local 249 U16_NEXT(data, index, length, code); 251 if (uscript_getScript(code, &error) != USCRIPT_COMMON) 327 int code = 0; local 329 U16_PREV(text.data(), 0, length, code); 331 if (uscript_getScript(code, &error) != USCRIPT_COMMON) {
|
| /external/chromium_org/chrome/test/chromedriver/net/ |
| websocket.cc | 2 // Use of this source code is governed by a BSD-style license that can be 89 int code = socket_->Connect(base::Bind( local 91 if (code != net::ERR_IO_PENDING) 92 OnSocketConnect(code); 118 void WebSocket::OnSocketConnect(int code) { 119 if (code != net::OK) { 120 Close(code); 148 void WebSocket::OnWrite(int code) { 150 // Supposedly if |StreamSocket| is closed, the error code may be undefined. 154 if (code < 0) 172 int code = local 181 int code = local [all...] |
| /external/chromium_org/chrome_elf/ |
| breakpad.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 // This module contains the necessary code to register the Breakpad exception 6 // handler. This implementation is based on Chrome's crash reporting code. 99 // switch, there is a small chance that this code will match things that the 100 // Chrome code (which executes a similar check) does not. However, as long as 109 DWORD code = exinfo->ExceptionRecord->ExceptionCode; local 110 if (code == EXCEPTION_BREAKPOINT || code == EXCEPTION_SINGLE_STEP) 127 // N.B. We don't use base::GetTempDir() here to avoid running more code then
|
| /external/chromium_org/components/translate/core/language_detection/ |
| language_detection_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 28 // Similar language code list. Some languages are very similar and difficult 31 const char* const code; member in struct:__anon11512::SimilarLanguageCode 42 // Checks |kSimilarLanguageCodes| and returns group code. 45 if (language.find(kSimilarLanguageCodes[i].code) != 0) 60 // Applies a series of language code modification in proper order. 61 void ApplyLanguageCodeCorrection(std::string* code) { 63 translate::CorrectLanguageCodeTypo(code); 65 if (!translate::IsValidLanguageCode(*code)) { 66 *code = std::string() [all...] |
| /external/chromium_org/content/browser/geolocation/ |
| geolocation_dispatcher_host.cc | 2 // Use of this source code is governed by a BSD-style license that can be 47 GeopositionErrorCode code = GEOPOSITION_ERROR_CODE_NONE; local 50 code = GEOPOSITION_ERROR_CODE_NONE; 53 code = GEOPOSITION_ERROR_CODE_PERMISSION_DENIED; 56 code = GEOPOSITION_ERROR_CODE_POSITION_UNAVAILABLE; 59 code = GEOPOSITION_ERROR_CODE_TIMEOUT; 63 code,
|
| /external/chromium_org/content/shell/browser/ |
| shell_devtools_frontend.cc | 2 // Use of this source code is governed by a BSD-style license that can be 163 std::string code = "InspectorFrontendAPI.embedderMessageAck(" + local 165 base::string16 javascript = base::UTF8ToUTF16(code); 177 std::string code = "InspectorFrontendAPI.dispatchMessage(" + message + ");"; local 178 base::string16 javascript = base::UTF8ToUTF16(code);
|
| /external/chromium_org/content/shell/renderer/test_runner/ |
| mock_web_speech_recognizer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 90 blink::WebSpeechRecognizerClient::ErrorCode code, 92 : MockWebSpeechRecognizer::Task(mock), code_(code), message_(message) {} 190 blink::WebSpeechRecognizerClient::ErrorCode code; local 192 code = blink::WebSpeechRecognizerClient::OtherError; 194 code = blink::WebSpeechRecognizerClient::NoSpeechError; 196 code = blink::WebSpeechRecognizerClient::AbortedError; 198 code = blink::WebSpeechRecognizerClient::AudioCaptureError; 200 code = blink::WebSpeechRecognizerClient::NetworkError; 202 code = blink::WebSpeechRecognizerClient::NotAllowedError [all...] |
| /external/chromium_org/extensions/browser/value_store/ |
| value_store.h | 2 // Use of this source code is governed by a BSD-style license that can be 44 Error(ErrorCode code, 49 static scoped_ptr<Error> Create(ErrorCode code, 52 return make_scoped_ptr(new Error(code, message, key.Pass())); 55 // The error code. 56 const ErrorCode code; member in struct:ValueStore::Error 81 return error_.get() && error_->code == CORRUPTION;
|
| /external/chromium_org/net/proxy/ |
| proxy_script_fetcher_impl_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 50 int code; member in struct:net::__anon14018::FetchResult
|
| /external/chromium_org/net/spdy/ |
| hpack_huffman_table.cc | 2 // Use of this source code is governed by a BSD-style license that can be 71 if (symbols[0].code != 0) { 77 uint32 code = symbols[i-1].code + (1 << code_shift); local 79 if (code != symbols[i].code) { 83 if (code < symbols[i-1].code) { 85 // lengths do not represent a valid Huffman code. 91 // At least one code (such as an EOS symbol) must be 8 bits or longer 227 uint32 code = code_by_id_[symbol_id] >> (32 - length); local [all...] |
| /external/chromium_org/remoting/host/setup/ |
| service_client.cc | 2 // Use of this source code is governed by a BSD-style license that can be 150 std::string code; local 154 dict->GetString("data.authorizationCode", &code)) { 155 delegate_->OnHostRegistered(code);
|
| /external/chromium_org/sandbox/win/src/ |
| target_services.cc | 2 // Use of this source code is governed by a BSD-style license that can be 81 // If the client code as called RegOpenKey, advapi32.dll has cached some 82 // handles. The following code gets rid of them. 118 ResultCode code = CrossCall(ipc, IPC_PING1_TAG, cookie, &answer); local 120 if (SBOX_ALL_OK != code) { 144 ResultCode code = CrossCall(ipc, IPC_PING2_TAG, counted_buffer, &answer); local 146 if (SBOX_ALL_OK != code) {
|
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
| ExceptionState.h | 8 * * Redistributions of source code must retain the above copyright 87 ExceptionCode code() const { return m_code; } function in class:blink::ExceptionState
|
| /external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
| FileError.h | 8 * * Redistributions of source code must retain the above copyright 75 static PassRefPtrWillBeRawPtr<FileError> create(ErrorCode code) 77 return adoptRefWillBeNoop(new FileError(code)); 80 ErrorCode code() const { return m_code; } function in class:blink::FileError
|
| /external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
| NewWebSocketChannelImpl.h | 8 * * Redistributions of source code must retain the above copyright 80 // Start closing handshake. Use the CloseEventCodeNotSpecified for the code 82 virtual void close(int code, const String& reason) OVERRIDE; 105 Message(unsigned short code, const String& reason); 113 unsigned short code; member in struct:blink::FINAL::Message 129 void handleDidClose(bool wasClean, unsigned short code, const String& reason); 138 virtual void didClose(WebSocketHandle*, bool wasClean, unsigned short code, const WebString& reason) OVERRIDE;
|
| /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
| BMPImageReader.cpp | 8 * * Redistributions of source code must retain the above copyright 169 // Don't increment m_decodedOffset here, it just makes the code in 221 // other code relies on this value being correct. 486 // continue, to avoid an infinite loop in the counting code below. 593 const uint8_t code = m_data->data()[m_decodedOffset + 1]; local 594 if ((count || (code != 1)) && pastEndOfImage(0)) 599 switch (code) { 638 // |code| pixels specified as in BI_RGB, zero-padded at the end 644 const ProcessingResult result = processNonRLEData(true, code); 666 fillRGBA(endX, m_data->data()[m_decodedOffset + 3], m_data->data()[m_decodedOffset + 2], code, 0xff) [all...] |
| /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
| GIFImageReader.cpp | 15 * The Original Code is mozilla.org code. 17 * The Initial Developer of the Original Code is 217 int code = datum & codemask; local 222 if (code == clearCode) { 230 // Check for explicit end-of-stream code. 231 if (code == (clearCode + 1)) { 238 const int tempCode = code; 240 if (code < avail) { 241 // This is a pre-existing code, so we already know what i [all...] |
| /external/chromium_org/third_party/freetype/src/cff/ |
| cffparse.h | 55 FT_UInt code, 86 int code; member in struct:CFF_Field_Handler_
|
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| cucdapi.c | 62 /* bogus names should return invalid code */ 75 log_data_err("Error getting script code Got: %i Expected: %i for name %s (Error code does not propagate if data is not present. Are you missing data?)\n", 103 log_err("Japanese locale: code #%d was %d (%s) but expected %d (%s)\n", j, 240 UScriptCode code = USCRIPT_INVALID_CODE; local 245 code = uscript_getScript(codepoints[i],&status); 247 if( code != expected[i] || 248 code != (UScriptCode)u_getIntPropertyValue(codepoints[i], UCHAR_SCRIPT) 265 UScriptCode code= USCRIPT_INVALID_CODE; local 267 code = uscript_getScript(0x001D169,&status) 273 UScriptCode code= USCRIPT_INVALID_CODE; local [all...] |
| sprpdata.c | 52 uint32_t code; local 76 /* get the character code, field 0 */ 77 code=(uint32_t)uprv_strtoul(fields[0][0], &end, 16); 83 compareMapping(data, code,mapping, length,USPREP_MAP); 102 /*fprintf(stdout,"Number of code points that have mappings with length >1 : %i\n",len);*/ 237 // supplementary code point
|
| /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
| dtmfsender.cc | 8 * 1. Redistributions of source code must retain the above copyright notice, 45 // | Event | Code | Type | Volume? | 53 // 2 seconds before processing the next tone. We use -1 as its code. 66 // Get DTMF code from the DTMF event character. 67 bool GetDtmfCode(char tone, int* code) { 74 *code = p - kDtmfTonesTable - 1; 198 int code = 0; local 208 if (!GetDtmfCode(tone, &code)) { 216 if (code == kDtmfCodeTwoSecondDelay) { 227 if (!provider_->InsertDtmf(track_->id(), code, duration_)) [all...] |
| /external/chromium_org/third_party/lzma_sdk/ |
| Bcj2.c | 1 /* Bcj2.c -- Converter for x86 code (BCJ2) 24 #define RC_INIT2 code = 0; range = 0xFFFFFFFF; \ 25 { int i; for (i = 0; i < 5; i++) { RC_TEST; code = (code << 8) | RC_READ_BYTE; }} 27 #define NORMALIZE if (range < kTopValue) { RC_TEST; range <<= 8; code = (code << 8) | RC_READ_BYTE; } 29 #define IF_BIT_0(p) ttt = *(p); bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 31 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CProb)(ttt - (ttt >> kNumMoveBits)); NORMALIZE; 44 UInt32 range, code; local
|
| LzmaDec.h | 56 UInt32 range, code; member in struct:__anon18058 102 LZMA_STATUS_NOT_SPECIFIED, /* use main error code instead */
|