/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 284 * Consumes {@code expected}. 286 private void expect(JsonToken expected) throws IOException { 288 if (token != expected) { 289 throw new IllegalStateException("Expected " + expected + " but was " + peek()); 316 "Expected JSON document to start with '[' or '{' but was " + token); 361 throw new IllegalStateException("Expected a name but was " + peek()); 379 throw new IllegalStateException("Expected a string but was " + peek()); 397 throw new IllegalStateException("Expected a boolean but was " + token); 415 throw new IllegalStateException("Expected null but was " + token) [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
verify_filelist.py | 123 # must be that we expected something that isn't there. 135 msg += '>>> Expected filenames: <<<\n%s\n' % ( 138 msg += '>>> Expected 1+ files in these directories: <<< \n%s\n' % ( 185 parser.error('Expected rule file.') 190 parser.error('Expected rule file and directory.')
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
tokenizer.cc | 369 AddError("Expected hex digits for escape sequence."); 377 AddError("Expected four hex digits for \\u escape sequence."); 390 AddError("Expected eight hex digits up to 10ffff for \\U escape " 972 // Convert the escape sequence parameter to a number of expected hex digits. [all...] |
/external/chromium_org/content/browser/resources/media/new/ |
webui_resource_test.js | 6 * Tests that an observation matches the expected value. 7 * @param {Object} expected The expected value. 12 function assertEquals(expected, observed, opt_message) { 13 if (observed !== expected) { 15 '\n Expected: ' + expected; 71 throw new Error('Assertion Failed: throw expected.'); 75 * Verifies that the contents of the expected and observed arrays match. 76 * @param {!Array} expected The expected result [all...] |
/external/llvm/lib/TableGen/ |
TGLexer.cpp | 296 PrintError(getLoc(), "Expected filename after include");
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-137.js | 37 case 10: return "A"; // Expected result.
|
regress-925537.js | 28 function assertClose(expected, actual) { 30 if (Math.abs(expected - actual) > delta) { 31 print('Failure: Expected <' + actual + '> to be close to <' + 32 expected + '>');
|
/external/v8/test/mjsunit/regress/ |
regress-137.js | 37 case 10: return "A"; // Expected result.
|
regress-925537.js | 28 function assertClose(expected, actual) { 30 if (Math.abs(expected - actual) > delta) { 31 print('Failure: Expected <' + actual + '> to be close to <' + 32 expected + '>');
|
/frameworks/base/core/java/android/util/ |
JsonReader.java | 305 * Consumes {@code expected}. 307 private void expect(JsonToken expected) throws IOException { 309 if (token != expected) { 310 throw new IllegalStateException("Expected " + expected + " but was " + peek()); 337 "Expected JSON document to start with '[' or '{' but was " + token); 356 throw syntaxError("Expected EOF"); 390 throw new IllegalStateException("Expected a name but was " + peek()); 408 throw new IllegalStateException("Expected a string but was " + peek()); 426 throw new IllegalStateException("Expected a boolean but was " + token) [all...] |
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 312 const RSExportRecordType *Expected = EF->getParamPacketType(); 313 if (Expected) { 314 fprintf(stderr, "Expected:\n"); 315 Expected->getLLVMType()->dump();
|
/external/protobuf/python/google/protobuf/ |
text_format.py | 175 # Group names are expected to be capitalized as they appear in the 215 raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token)) 382 raise self._ParseError('Expected "%s".' % token) 406 raise self._ParseError('Expected identifier.') 517 raise self._ParseError('Expected "true" or "false".')
|
/external/protobuf/src/google/protobuf/io/ |
tokenizer.cc | 351 AddError("Expected hex digits for escape sequence.");
|
/external/chromium_org/v8/test/mjsunit/ |
mjsunit.js | 46 // Expected and found values the same objects, or the same primitive 51 // Expected and found values are identical primitive values or functions 58 // as the expected object. The expected object doesn't need to be an Array, 63 // expected object. The type of object isn't checked. 67 // the expected string. Only kept for backwards compatability, please 79 // please just use assertEquals(null, expected). 172 message += ": expected <" + expectedText + 231 assertSame = function assertSame(expected, found, name_opt) { 234 if (found === expected) { [all...] |
/external/v8/test/mjsunit/ |
mjsunit.js | 46 // Expected and found values the same objects, or the same primitive 51 // Expected and found values are identical primitive values or functions 58 // as the expected object. The expected object doesn't need to be an Array, 63 // expected object. The type of object isn't checked. 67 // the expected string. Only kept for backwards compatability, please 79 // please just use assertEquals(null, expected). 164 message += ": expected <" + expectedText + 223 assertSame = function assertSame(expected, found, name_opt) { 226 if (found === expected) { [all...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
text_format.py | 195 # Group names are expected to be capitalized as they appear in the 235 raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token)) 378 raise self._ParseError('Expected "%s".' % token) 391 raise self._ParseError('Expected identifier.') 529 raise self._ParseError('Expected string.') 698 raise ValueError('Expected "true" or "false".')
|
/external/llvm/lib/Support/ |
YAMLParser.cpp | 377 /// \a Expected. This updates \a Column. 378 bool consume(uint32_t Expected); 903 bool Scanner::consume(uint32_t Expected) { 904 if (Expected >= 0x80) 910 if (uint8_t(*Current) == Expected) { 952 setError( "Could not find expected : for simple key" [all...] |
/external/chromium/chrome/browser/resources/touch_ntp/ |
newtab.js | 116 'Expected exactly one apps-page in the apps-page-list.'); 122 'Expected exactly one dot in the dots-list.'); 276 assert(appsPages.length == origPageCount + 1, 'expected new page'); 357 assert(appElement, 'Expected app-template to have an app child'); 359 'Expected every app to have an ID or empty string'); 599 assert(draggingAppContainer, 'expected stored container'); 615 'expected drag over container');
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
echo_client.py | 167 If expected_value is specified, compares expected value and actual value 179 'Illegal value for header %s: %r (expected) vs %r (actual)' % 228 'Expected LF but found %r while reading value %r for ' 385 'Expected HTTP status code 101 but found %r' % status_code) 395 'Expected LF but found %r while reading value %r for header ' 438 'Expected response for challenge: %r (%s)', 443 'Invalid %s header: %r (expected: %s)' % 593 'Expected HTTP status code 101 but found %r in status line: ' 601 raise ClientHandshakeError('Expected LF but found %r' % ch) 641 # 4.1 43. let /expected/ be the MD5 fingerprint of /challenge/ as [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
json_schema.js | 91 invalidType: "Expected '*' but got '*'.", 93 "Expected 'integer' but got 'number', consider using Math.round().",
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
collections.py | 45 raise TypeError('expected at most 1 arguments, got %d' % len(args)) 251 raise TypeError('Expected {num_fields:d} arguments, got %d' % len(result))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
collections.py | 45 raise TypeError('expected at most 1 arguments, got %d' % len(args)) 251 raise TypeError('Expected {num_fields:d} arguments, got %d' % len(result))
|
/sdk/adtproductbuild/ |
Android.mk | 7 # Expected env vars:
|
/external/clang/lib/Frontend/ |
ASTUnit.cpp | [all...] |
/external/chromium_org/remoting/webapp/ |
host_native_messaging.js | 104 * @param {string} type Expected type of the object. 109 console.error('NativeMessaging: "' + name + '" expected to be of type "' + 214 console.error('NativeMessaging: expected reply type: ', reply.type,
|