Searched refs:asserts (Results 1 – 12 of 12) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | encoder.js | 84 goog.asserts.assert(lowBits == Math.floor(lowBits)); 85 goog.asserts.assert(highBits == Math.floor(highBits)); 86 goog.asserts.assert((lowBits >= 0) && 88 goog.asserts.assert((highBits >= 0) && 108 goog.asserts.assert(value == Math.floor(value)); 109 goog.asserts.assert((value >= 0) && 127 goog.asserts.assert(value == Math.floor(value)); 128 goog.asserts.assert((value >= -jspb.BinaryConstants.TWO_TO_31) && 156 goog.asserts.assert(value == Math.floor(value)); 157 goog.asserts.assert((value >= 0) && [all …]
|
D | reader.js | 274 goog.asserts.fail('Decoder hit an error'); 293 goog.asserts.fail('Invalid wire type'); 335 goog.asserts.fail('Invalid wire type for skipVarintField'); 349 goog.asserts.fail('Invalid wire type for skipDelimitedField'); 364 goog.asserts.fail('Invalid wire type for skipFixed32Field'); 378 goog.asserts.fail('Invalid wire type for skipFixed64Field'); 395 goog.asserts.fail('Unmatched start-group tag: stream EOF'); 407 goog.asserts.fail('Unmatched end-group tag'); 438 goog.asserts.fail('Invalid wire encoding for field.'); 453 goog.asserts.assert(!this.readCallbacks_[callbackName]); [all …]
|
D | decoder.js | 410 goog.asserts.assert(this.cursor_ <= this.end_); 497 goog.asserts.fail('Failed to read varint, encoding is invalid.'); 553 goog.asserts.assert(this.cursor_ <= this.end_); 561 goog.asserts.assert(this.cursor_ <= this.end_); 569 goog.asserts.assert(this.cursor_ <= this.end_); 577 goog.asserts.assert(this.cursor_ <= this.end_); 587 goog.asserts.assert((temp & 0xF0) == 0); 589 goog.asserts.assert(this.cursor_ <= this.end_); 598 goog.asserts.assert((temp & 0xF0) == 0xF0); 599 goog.asserts.assert(bytes[this.cursor_ + 5] == 0xFF); [all …]
|
D | writer.js | 152 goog.asserts.assert(messageLength >= 0); 208 goog.asserts.assert(this.bookmarks_.length == 0); 227 goog.asserts.assert(offset == flat.length); 262 goog.asserts.assert(this.bookmarks_.length >= 0); 277 goog.asserts.assert(field >= 1 && field == Math.floor(field)); 320 goog.asserts.fail('Group field type not supported in writeAny()'); 323 goog.asserts.fail('Message field type not supported in writeAny()'); 353 goog.asserts.fail('Invalid field type in writeAny()'); 445 goog.asserts.assert((value >= -jspb.BinaryConstants.TWO_TO_31) && 460 goog.asserts.assert((intValue >= -jspb.BinaryConstants.TWO_TO_31) && [all …]
|
D | utils.js | 577 goog.asserts.assert(dec.length > 0); 648 goog.asserts.assert(hex.length == 18); 649 goog.asserts.assert(hex[0] == '0'); 650 goog.asserts.assert(hex[1] == 'x'); 973 goog.asserts.fail('Type not convertible to Uint8Array.');
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | debug.js | 57 goog.asserts.assert(message instanceof jspb.Message, 61 goog.asserts.assert(object['getExtension'], 82 goog.asserts.assertArray(thing); 86 goog.asserts.assert(message instanceof jspb.Message,
|
D | message.js | 662 goog.asserts.fail('Cannot coerce to b64 string: ' + goog.typeOf(value)); 681 goog.asserts.fail('Cannot coerce to Uint8Array: ' + goog.typeOf(value)); 728 goog.asserts.fail('Inconsistent type in JSPB repeated field array. ' + 1273 goog.asserts.assert(extension1 === undefined); 1274 goog.asserts.assert(i === field1.length - 1); 1280 goog.asserts.assert(extension2 === undefined); 1281 goog.asserts.assert(i === field2.length - 1); 1345 goog.asserts.assertInstanceof(fromMessage, jspb.Message); 1346 goog.asserts.assertInstanceof(toMessage, jspb.Message); 1347 goog.asserts.assert(fromMessage.constructor == toMessage.constructor,
|
D | map.js | 418 goog.asserts.assert(key != undefined); 419 goog.asserts.assert(value != undefined);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/commonjs/ |
D | import_test.js | 36 var asserts = require('closure_asserts_commonjs'); variable 40 googleProtobuf.object.extend(global, asserts);
|
/frameworks/compile/mclinker/ |
D | Android.bp | 12 //To enable asserts:
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBConcurrencyTests.m | 40 // trip. Rather, the asserts simply exercise the apis, and if there is
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBDictionary.m | 127 //% #pragma unused(dataType) // For when asserts are off in release. 133 //% #pragma unused(dataType) // For when asserts are off in release. 245 #pragma unused(dataType) // For when asserts are off in release. 251 #pragma unused(dataType) // For when asserts are off in release. 257 #pragma unused(dataType) // For when asserts are off in release. 263 #pragma unused(dataType) // For when asserts are off in release. 269 #pragma unused(dataType) // For when asserts are off in release. 275 #pragma unused(dataType) // For when asserts are off in release. 281 #pragma unused(dataType) // For when asserts are off in release. 287 #pragma unused(dataType) // For when asserts are off in release. [all …]
|