Searched defs:fail (Results 1 - 25 of 272) sorted by path

1234567891011

/external/bluetooth/bluedroid/test/suite/
H A Dmain.c66 int fail = 0; local
77 ++fail;
83 if (fail) {
84 printf("\n%sSanity suite failed with %d errors.%s\n", RED, fail, GRAY);
98 ++fail;
106 if (fail) {
107 printf("%d/%d tests failed. See above for failed test cases.\n", fail, test_suite_size);
/external/chromium_org/build/
H A Dbuild-ctags.sh18 fail() { function
34 cd "$CHROME_SRC_DIR/$1" || fail $1
38 $(ctags_cmd "$extraexcludes") 2> /dev/null || fail $1
/external/chromium_org/chrome/browser/extensions/updater/
H A Dextension_updater_unittest.cc928 // The first fetch will fail.
1042 // ExtensionDownloader should retry kMaxRetries times and then fail.
1046 // All fetches will fail.
1072 // The first fetch will fail, and require retrying.
1082 // The second fetch will fail with response 400 and should not cause
1096 void TestSingleExtensionDownloading(bool pending, bool retry, bool fail) { argument
1171 if (fail) {
1184 if (fail) {
1921 // These expectations fail if the delegate's methods are invoked for the
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dcertificate_manager_handler.cc577 bool fail = !cert; local
581 fail |= !CallbackArgsToBool(args, 1, &trust_ssl);
582 fail |= !CallbackArgsToBool(args, 2, &trust_email);
583 fail |= !CallbackArgsToBool(args, 3, &trust_obj_sign);
584 if (fail) {
585 LOG(ERROR) << "EditCATrust args fail";
946 bool fail = false; local
950 fail |= !CallbackArgsToBool(args, 0, &trust_ssl);
951 fail |= !CallbackArgsToBool(args, 1, &trust_email);
952 fail |
[all...]
/external/chromium_org/chrome/service/cloud_print/
H A Dprinter_job_handler_unittest.cc387 PrintSystem::PrintSystemResult fail() { function in class:cloud_print::MockPrintSystem
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeBackgroundScript.js49 goog.asserts.fail=function(a,b){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(a)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
53 goog.asserts.assertInstanceof=function(a,b,c,d){!goog.asserts.ENABLE_ASSERTS||a instanceof b||goog.asserts.doAssertFailure_("instanceof check failed.",null,c,Array.prototype.slice.call(arguments,3));return a};goog.asserts.assertObjectPrototypeIsIntact=function(){for(var a in Object.prototype)goog.asserts.fail(a+" should not be enumerable in Object.prototype.")};goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;goog.array.ASSUME_NATIVE_FUNCTIONS=!1;goog.array.peek=function(a){return a[a.length-1]};goog.array.last=goog.array.peek;goog.array.ARRAY_PROTOTYPE_=Array.prototype;
603 c,d);break;case goog.i18n.MessageFormat.BlockType_.ORDINAL:f=a[e].value;this.formatPluralOrdinalBlock_(f,b,goog.i18n.ordinalRules.select,c,d);break;default:goog.asserts.fail("Unrecognized block type: "+a[e].type)}};goog.i18n.MessageFormat.prototype.formatSimplePlaceholder_=function(a,b,c){b=b[a];goog.isDef(b)?(this.literals_.push(b),c.push(this.buildPlaceholder_(this.literals_))):c.push("Undefined parameter - "+a)};
612 case goog.i18n.MessageFormat.BlockType_.PLURAL:d.type=goog.i18n.MessageFormat.BlockType_.PLURAL;d.value=this.parsePluralBlock_(a[c].value);break;case goog.i18n.MessageFormat.BlockType_.ORDINAL:d.type=goog.i18n.MessageFormat.BlockType_.ORDINAL;d.value=this.parseOrdinalBlock_(a[c].value);break;case goog.i18n.MessageFormat.BlockType_.SIMPLE:d.type=goog.i18n.MessageFormat.BlockType_.SIMPLE;d.value=a[c].value;break;default:goog.asserts.fail("Unknown block type for pattern: "+a[c].value)}}else goog.asserts.fail("Unknown part of the pattern.");
614 goog.i18n.MessageFormat.prototype.parseSelectBlock_=function(a){var b="",c=goog.i18n.MessageFormat.SELECT_BLOCK_RE_;a=a.replace(c,function(a,c){b=c;return""});c={};c.argumentIndex=b;a=this.extractParts_(a);for(var d=0;d<a.length;){var e=a[d].value;goog.asserts.assertString(e,"Missing select key element.");d++;goog.asserts.assert(d<a.length,"Missing or invalid select value element.");if(goog.i18n.MessageFormat.Element_.BLOCK==a[d].type)var f=this.parseBlock_(a[d].value);else goog.asserts.fail("Expected block type.");c[e.replace(/\s/g,
617 else goog.asserts.fail("Expected block type.");d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}goog.asserts.assertArray(d[goog.i18n.MessageFormat.OTHER_],"Missing other key in plural statement.");return d};
618 goog.i18n.MessageFormat.prototype.parseOrdinalBlock_=function(a){var b="",c=goog.i18n.MessageFormat.ORDINAL_BLOCK_RE_;a=a.replace(c,function(a,c){b=c;return""});c={};c.argumentIndex=b;c.argumentOffset=0;a=this.extractParts_(a);for(var d=0;d<a.length;){var e=a[d].value;goog.asserts.assertString(e,"Missing ordinal key element.");d++;goog.asserts.assert(d<a.length,"Missing or invalid ordinal value element.");if(goog.i18n.MessageFormat.Element_.BLOCK==a[d].type)var f=this.parseBlock_(a[d].value);else goog.asserts.fail("Expected block type.");
H A DchromeVoxChromeOptionsScript.js110 goog.asserts.fail=function(a,b){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(a)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
114 goog.asserts.assertInstanceof=function(a,b,c,d){!goog.asserts.ENABLE_ASSERTS||a instanceof b||goog.asserts.doAssertFailure_("instanceof check failed.",null,c,Array.prototype.slice.call(arguments,3));return a};goog.asserts.assertObjectPrototypeIsIntact=function(){for(var a in Object.prototype)goog.asserts.fail(a+" should not be enumerable in Object.prototype.")};goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;goog.array.ASSUME_NATIVE_FUNCTIONS=!1;goog.array.peek=function(a){return a[a.length-1]};goog.array.last=goog.array.peek;goog.array.ARRAY_PROTOTYPE_=Array.prototype;
664 c,d);break;case goog.i18n.MessageFormat.BlockType_.ORDINAL:f=a[e].value;this.formatPluralOrdinalBlock_(f,b,goog.i18n.ordinalRules.select,c,d);break;default:goog.asserts.fail("Unrecognized block type: "+a[e].type)}};goog.i18n.MessageFormat.prototype.formatSimplePlaceholder_=function(a,b,c){b=b[a];goog.isDef(b)?(this.literals_.push(b),c.push(this.buildPlaceholder_(this.literals_))):c.push("Undefined parameter - "+a)};
673 case goog.i18n.MessageFormat.BlockType_.PLURAL:d.type=goog.i18n.MessageFormat.BlockType_.PLURAL;d.value=this.parsePluralBlock_(a[c].value);break;case goog.i18n.MessageFormat.BlockType_.ORDINAL:d.type=goog.i18n.MessageFormat.BlockType_.ORDINAL;d.value=this.parseOrdinalBlock_(a[c].value);break;case goog.i18n.MessageFormat.BlockType_.SIMPLE:d.type=goog.i18n.MessageFormat.BlockType_.SIMPLE;d.value=a[c].value;break;default:goog.asserts.fail("Unknown block type for pattern: "+a[c].value)}}else goog.asserts.fail("Unknown part of the pattern.");
675 goog.i18n.MessageFormat.prototype.parseSelectBlock_=function(a){var b="",c=goog.i18n.MessageFormat.SELECT_BLOCK_RE_;a=a.replace(c,function(a,c){b=c;return""});c={};c.argumentIndex=b;a=this.extractParts_(a);for(var d=0;d<a.length;){var e=a[d].value;goog.asserts.assertString(e,"Missing select key element.");d++;goog.asserts.assert(d<a.length,"Missing or invalid select value element.");if(goog.i18n.MessageFormat.Element_.BLOCK==a[d].type)var f=this.parseBlock_(a[d].value);else goog.asserts.fail("Expected block type.");c[e.replace(/\s/g,
678 else goog.asserts.fail("Expected block type.");d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}goog.asserts.assertArray(d[goog.i18n.MessageFormat.OTHER_],"Missing other key in plural statement.");return d};
679 goog.i18n.MessageFormat.prototype.parseOrdinalBlock_=function(a){var b="",c=goog.i18n.MessageFormat.ORDINAL_BLOCK_RE_;a=a.replace(c,function(a,c){b=c;return""});c={};c.argumentIndex=b;c.argumentOffset=0;a=this.extractParts_(a);for(var d=0;d<a.length;){var e=a[d].value;goog.asserts.assertString(e,"Missing ordinal key element.");d++;goog.asserts.assert(d<a.length,"Missing or invalid ordinal value element.");if(goog.i18n.MessageFormat.Element_.BLOCK==a[d].type)var f=this.parseBlock_(a[d].value);else goog.asserts.fail("Expected block type.");
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/asserts/
H A Dasserts.js136 * default: goog.assert.fail('Unrecognized type: ' + type);
145 goog.asserts.fail = function(opt_message, var_args) {
314 goog.asserts.fail(key + ' should not be enumerable in Object.prototype.');
/external/chromium_org/content/browser/renderer_host/
H A Dwebsocket_dispatcher_host.cc113 bool fail,
117 routing_id, fail, selected_protocol, extensions)) ==
120 if (fail) {
191 // Note that some calls to GoAway could fail. In that case hosts[i] will be
111 SendAddChannelResponse( int routing_id, bool fail, const std::string& selected_protocol, const std::string& extensions) argument
H A Dwebsocket_host.cc96 bool fail,
162 bool fail,
166 << " routing_id=" << routing_id_ << " fail=" << fail
171 routing_id_, fail, selected_protocol, extensions));
161 OnAddChannelResponse( bool fail, const std::string& selected_protocol, const std::string& extensions) argument
/external/chromium_org/content/child/
H A Dwebsocket_bridge.cc83 void WebSocketBridge::DidConnect(bool fail, argument
88 << fail << ", "
91 if (fail)
98 client->didConnect(this, fail, protocol_to_pass, extensions_to_pass);
/external/chromium_org/content/test/data/dom_storage/
H A Dcommon.js13 if (document.location.hash == '#fail')
22 function fail(message) { function
24 document.location.hash = '#fail';
/external/chromium_org/content/test/data/fileapi/
H A Dcommon.js12 if (document.location.hash == '#fail')
21 function fail(message) function
24 document.location.hash = '#fail';
52 fail('unexpectedErrorCallback:' + fileErrorToString(e));
/external/chromium_org/content/test/data/indexeddb/
H A Dcommon.js15 if (document.location.hash == '#fail')
24 function fail(message) function
27 document.location.hash = '#fail';
37 fail('unexpectedUpgradeNeededCallback');
42 fail('unexpectedAbortCallback');
47 fail('unexpectedSuccessCallback');
52 fail('unexpectedCompleteCallback');
57 fail('unexpectedErrorCallback');
62 fail('unexpectedBlockedCallback');
67 fail('unexpectedUpgradeNeededCallbac
[all...]
/external/chromium_org/extensions/test/data/web_view/apitest/
H A Dmain.js11 embedder.test.fail();
24 embedder.test.fail();
31 embedder.test.fail();
38 embedder.test.fail();
42 embedder.test.fail = function() {
145 embedder.test.fail();
215 embedder.test.fail();
313 embedder.test.fail();
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_c_lib_autogen.h449 void GLES2StencilOp(GLenum fail, GLenum zfail, GLenum zpass) { argument
450 gles2::GetGLContext()->StencilOp(fail, zfail, zpass);
453 GLenum fail,
456 gles2::GetGLContext()->StencilOpSeparate(face, fail, zfail, zpass);
452 GLES2StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) argument
H A Dgles2_cmd_helper_autogen.h999 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) { argument
1002 c->Init(fail, zfail, zpass);
1006 void StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) { argument
1010 c->Init(face, fail, zfail, zpass);
H A Dgles2_implementation_impl_autogen.h1174 void GLES2Implementation::StencilOp(GLenum fail, GLenum zfail, GLenum zpass) { argument
1177 << GLES2Util::GetStringStencilOp(fail) << ", "
1180 helper_->StencilOp(fail, zfail, zpass);
1185 GLenum fail,
1191 << GLES2Util::GetStringStencilOp(fail) << ", "
1194 helper_->StencilOpSeparate(face, fail, zfail, zpass);
1184 StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) argument
H A Dgles2_trace_implementation_impl_autogen.h697 void GLES2TraceImplementation::StencilOp(GLenum fail, argument
701 gl_->StencilOp(fail, zfail, zpass);
705 GLenum fail,
709 gl_->StencilOpSeparate(face, fail, zfail, zpass);
704 StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) argument
/external/chromium_org/gpu/command_buffer/common/
H A Dgles2_cmd_format_autogen.h4801 fail = _fail;
4812 uint32_t fail; member in struct:StencilOp
4820 COMPILE_ASSERT(offsetof(StencilOp, fail) == 4, OffsetOf_StencilOp_fail_not_4);
4840 fail = _fail;
4856 uint32_t fail; member in struct:StencilOpSeparate
4867 COMPILE_ASSERT(offsetof(StencilOpSeparate, fail) == 8,
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_autogen.h1780 GLenum fail = static_cast<GLenum>(c.fail); local
1783 if (!validators_->stencil_op.IsValid(fail)) {
1784 LOCAL_SET_GL_ERROR_INVALID_ENUM("glStencilOp", fail, "fail");
1795 if (state_.stencil_front_fail_op != fail ||
1798 state_.stencil_back_fail_op != fail ||
1801 state_.stencil_front_fail_op = fail;
1804 state_.stencil_back_fail_op = fail;
1807 glStencilOp(fail, zfai
1819 GLenum fail = static_cast<GLenum>(c.fail); local
[all...]
/external/chromium_org/mojo/examples/pepper_container_app/
H A Dppb_opengles2_thunk.cc976 GLenum fail,
981 glStencilOp(fail, zfail, zpass);
987 GLenum fail,
992 glStencilOpSeparate(face, fail, zfail, zpass);
975 StencilOp(PP_Resource context_id, GLenum fail, GLenum zfail, GLenum zpass) argument
985 StencilOpSeparate(PP_Resource context_id, GLenum face, GLenum fail, GLenum zfail, GLenum zpass) argument
/external/chromium_org/mojo/services/network/
H A Dweb_socket_impl.cc73 bool fail,
108 bool fail,
115 fail, selected_protocol, extensions, data_pipe.consumer_handle.Pass());
116 if (fail)
107 OnAddChannelResponse( bool fail, const std::string& selected_protocol, const std::string& extensions) argument
/external/chromium_org/net/http/
H A Dmock_http_cache.h59 // again or all subsequent tests will fail.
131 // Return entries that fail some of their requests.
137 // Makes all requests for data ranges to fail as not implemented.
239 void set_fail(bool fail) { fail_ = fail; } argument
/external/chromium_org/ppapi/lib/gl/gles2/
H A Dgles2.c644 void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { argument
646 glGetCurrentContextPPAPI(), fail, zfail, zpass); local
650 glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) { argument
652 glGetCurrentContextPPAPI(), face, fail, zfail, zpass); local

Completed in 9700 milliseconds

1234567891011