/external/adhd/cras/src/server/ |
D | cras_alert.c | 45 struct cras_alert *alert; in cras_alert_create() local 46 alert = calloc(1, sizeof(*alert)); in cras_alert_create() 47 if (!alert) in cras_alert_create() 49 alert->prepare = prepare; in cras_alert_create() 50 alert->flags = flags; in cras_alert_create() 51 DL_APPEND(all_alerts, alert); in cras_alert_create() 52 return alert; in cras_alert_create() 55 int cras_alert_add_callback(struct cras_alert *alert, cras_alert_cb cb, in cras_alert_add_callback() argument 63 DL_FOREACH (alert->callbacks, alert_cb) in cras_alert_add_callback() 72 DL_APPEND(alert->callbacks, alert_cb); in cras_alert_add_callback() [all …]
|
D | cras_alert.h | 39 typedef void (*cras_alert_prepare)(struct cras_alert *alert); 71 int cras_alert_add_callback(struct cras_alert *alert, cras_alert_cb cb, 83 int cras_alert_rm_callback(struct cras_alert *alert, cras_alert_cb cb, 92 void cras_alert_pending(struct cras_alert *alert); 105 void cras_alert_pending_data(struct cras_alert *alert, void *data, 120 void cras_alert_destroy(struct cras_alert *alert);
|
/external/boringssl/src/ssl/test/runner/ |
D | alert.go | 9 type alert uint8 type 18 alertCloseNotify alert = 0 19 alertUnexpectedMessage alert = 10 20 alertBadRecordMAC alert = 20 21 alertDecryptionFailed alert = 21 22 alertRecordOverflow alert = 22 23 alertDecompressionFailure alert = 30 24 alertHandshakeFailure alert = 40 25 alertNoCertificate alert = 41 26 alertBadCertificate alert = 42 [all …]
|
/external/fmtlib/doc/bootstrap/ |
D | alerts.less | 9 .alert { 10 padding: @alert-padding; 13 border-radius: @alert-border-radius; 23 .alert-link { 24 font-weight: @alert-link-font-weight; 42 .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 43 .alert-dismissible { 44 padding-right: (@alert-padding + 20); 57 // Generate contextual modifier classes for colorizing the alert. 59 .alert-success { [all …]
|
/external/adhd/cras/src/tests/ |
D | alert_unittest.cc | 16 void prepare(struct cras_alert* alert); 44 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() local 45 cras_alert_add_callback(alert, &callback1, NULL); in TEST_F() 47 cras_alert_pending(alert); in TEST_F() 51 cras_alert_destroy(alert); in TEST_F() 55 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() local 56 cras_alert_add_callback(alert, &callback1, NULL); in TEST_F() 59 cras_alert_pending(alert); in TEST_F() 60 cras_alert_pending(alert); in TEST_F() 64 cras_alert_destroy(alert); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_events_monitors_test.py | 212 alert = debug_events_monitors.InfNanAlert( 222 self.assertEqual(alert.wall_time, 1234) 223 self.assertEqual(alert.op_type, "FooOp") 224 self.assertEqual(alert.output_slot, 1) 225 self.assertEqual(alert.size, 1000) 226 self.assertEqual(alert.num_neg_inf, 5) 227 self.assertEqual(alert.num_pos_inf, 10) 228 self.assertEqual(alert.num_nan, 20) 229 self.assertEqual(alert.execution_index, 777) 230 self.assertEqual(alert.graph_execution_trace_index, 888) [all …]
|
/external/pdfium/testing/resources/javascript/ |
D | annot_properties.in | 32 app.alert("Test that non-existent annot fetch gives error"); 35 app.alert("nonesuch: " + typeof nonesuch); 37 app.alert("SUCCESS: " + e); 39 app.alert("Test initial cases"); 42 app.alert("annot: " + typeof annot); 43 app.alert("hidden: " + annot.hidden); 44 app.alert("name: " + annot.name); 45 app.alert("type: " + annot.type); 48 app.alert("hidden now: " + annot.hidden); 50 app.alert("hidden now: " + annot.hidden); [all …]
|
D | mouse_events.in | 79 app.alert\("enter"\); 82 app.alert\("ERROR: this.submitForm\(\) must not be allowed to execute"\); 84 app.alert\("PASS: this.submitForm blocked with " + e\); 88 app.alert\("ERROR: this.print\(\) must not be allowed to execute"\); 90 app.alert\("PASS: this.print blocked with " + e\); 99 app.alert\("exit"\); 102 app.alert\("ERROR: this.submitForm\(\) must not be allowed to execute"\); 104 app.alert\("PASS: this.submitForm blocked with " + e\); 108 app.alert\("ERROR: this.print\(\) must not be allowed to execute"\); 110 app.alert\("PASS: this.print blocked with " + e\); [all …]
|
D | apply.in | 38 app.alert('Applying to util itself - should succeed'); 40 app.alert(util.byteToChar.apply(util, [65])); 43 app.alert('Caught: ' + e); 46 app.alert('Applying to array - should throw'); 48 app.alert(util.byteToChar.apply([], [65])); 51 app.alert('Caught: ' + e); 54 app.alert('Applying to number - should throw'); 56 app.alert(util.byteToChar.apply(7, [65])); 59 app.alert('Caught: ' + e); 62 app.alert('Applying to wrong native obj - should throw'); [all …]
|
D | property_test_helpers.js | 25 app.alert('PASS: ' + prop + ' = ' + actual); 27 app.alert('FAIL: ' + prop + ' = ' + actual + ', expected = ' + expected); 30 app.alert('ERROR: ' + e.toString()); 37 app.alert('FAIL: ' + prop + ', expected to throw'); 39 app.alert('PASS: ' + prop + ' threw ' + e.toString()); 48 app.alert('PASS: ' + prop + ' = ' + actual); 50 app.alert('FAIL: ' + prop + ' = ' + actual + ', expected = ' + newValue); 53 app.alert('ERROR: ' + e.toString()); 62 app.alert('PASS: ' + prop + ' = ' + actual); 64 app.alert('FAIL: ' + prop + ' = ' + actual + ', expected = ' + expected); [all …]
|
D | app_methods.in | 37 expect("app.alert('message', 1, 2, 'title')", 0); 38 expect("app.alert({'cMsg': 'message', 'cTitle': 'title'})", 0); 39 expect("app.alert({'cMsg': 'message', 'cTitle': 'title', 'nIcon': 3, 'nType': 4})", 0); 40 expect("app.alert(undefined)", 0); 41 expect("app.alert(null)", 0); 42 expect("app.alert(true)", 0); 43 expect("app.alert(false)", 0); 44 expect("app.alert(42)", 0); 45 expect("app.alert([1, 2, 3])", 0); 46 expect("app.alert([1, 2, {'color': 'red'}])", 0); [all …]
|
D | public_methods.in | 104 app.alert('Unexpected script 16'); 116 app.alert('PASS: ' + expression + ' = ' + actual); 118 app.alert('FAIL: ' + expression + ' = ' + actual + ', expected ' + expected + " "); 121 app.alert('ERROR: ' + e); 131 app.alert('PASS: ' + expression + ' = ' + actual); 133 app.alert('FAIL: ' + expression + ' = ' + actual + ', expected ' + expected + " "); 136 app.alert('ERROR: ' + e); 144 app.alert('FAIL: ' + expression + ' = ' + actual + ', expected to throw'); 146 app.alert('PASS: ' + expression + ' threw ' + e); 151 app.alert("*** starting test 1 ***"); [all …]
|
D | field_methods.in | 14 app.alert("empty is " + empty.name); 16 app.alert("field is " + field.name); 18 app.alert("button is " + button.name); 20 app.alert("nonesuch is " + nonesuch); 22 app.alert("dotdot is " + dotdot.name); 24 app.alert("tripledot is " + tripledot.name); 26 app.alert("quaddot is " + quaddot.name); 28 app.alert("dotdot1 is " + dotdot1.name); 30 app.alert("dotdot2 is " + dotdot2.name); 32 app.alert("dotdot3 is " + dotdot3.name); [all …]
|
D | icons.in | 14 app.alert("doc is " + doc); 16 app.alert("icon is " + icon); 19 app.alert("icon list is now " + doc.icons); 22 app.alert("they are named " + icon1.name + " and " + icon2.name); 25 app.alert("they are also named " + icon1_again.name + 27 app.alert("but they are made anew each time since " + 29 app.alert("Prototype comparison is " + (icon1.__proto__ == icon1_again.__proto__)); 34 app.alert("Made anew from JS side since comparison is " + (dubious == icon1)); 35 app.alert("Prototype comparison is " + (dubious.__proto__ == icon1.__proto__)); 38 app.alert("Dubious name is " + dubious.name); [all …]
|
D | app_methods_expected.txt | 2 Alert: PASS: app.alert('message', 1, 2, 'title') = 0 4 Alert: PASS: app.alert({'cMsg': 'message', 'cTitle': 'title'}) = 0 6 Alert: PASS: app.alert({'cMsg': 'message', 'cTitle': 'title', 'nIcon': 3, 'nType': 4}) = 0 8 Alert: PASS: app.alert(undefined) = 0 10 Alert: PASS: app.alert(null) = 0 12 Alert: PASS: app.alert(true) = 0 14 Alert: PASS: app.alert(false) = 0 16 Alert: PASS: app.alert(42) = 0 18 Alert: PASS: app.alert([1, 2, 3]) = 0 20 Alert: PASS: app.alert([1, 2, {'color': 'red'}]) = 0 [all …]
|
D | consts.in | 43 app.alert(expr + " is " + eval(expr)); 46 app.alert("ERROR: " + e.toString()); 53 app.alert(props[i] + " is " + eval(props[i])); 56 app.alert("ERROR: " + e.toString()); 63 app.alert(props[i] + " is\n " + eval(props[i]).join(",\n ")); 66 app.alert("ERROR: " + e.toString()); 71 app.alert("String equality test (==): " + 73 app.alert("String equality test (===): " + 75 app.alert("Array equality test (==): " + 77 app.alert("Array equality test (===): " + [all …]
|
D | color_properties.in | 44 app.alert("Original values"); 47 app.alert(c + ": " + color[c]); 51 app.alert("Setting to " + v); 56 app.alert("Updated values"); 59 app.alert(c + ": " + color[c]); 63 app.alert("FAILURE" + e); 66 app.alert("Testing wrong parameter type"); 69 app.alert("SUCCESS: " + e);
|
D | globals.in | 70 app.alert("For " + prop.name + ": Setup: ERROR: " + e.toString()); 81 app.alert("For " + prop.name + ": Delete: ERROR: " + e.toString()); 92 app.alert("For " + prop.name + 99 app.alert("************ " + msg + " ************"); 100 app.alert("Enumerable Globals:"); 103 app.alert(" " + name + " = " + global[name] + 106 app.alert("For " + name + ": Dump: ERROR: " + e.toString()); 109 app.alert("Expected Globals:"); 114 app.alert(" " + prop.name + " = " + actual); 116 app.alert(" " + actual.colors[0]); [all …]
|
D | expect.js | 5 app.alert('PASS: ' + expression + ' = ' + actual); 7 app.alert('FAIL: ' + expression + ' = ' + actual + ', expected ' + expected + " "); 10 app.alert('ERROR: ' + e); 17 app.alert('FAIL: ' + expression + ' = ' + actual + ', expected to throw'); 19 app.alert('PASS: ' + expression + ' threw ' + e);
|
/external/markdown/tests/safe_mode/ |
D | unsafe_urls.txt | 3 [link](javascript:alert%28'Hello%20world!'%29) 5 [link](livescript:alert%28'Hello%20world!'%29) 7 [link](jAvAsCrIpT:alert%28'Hello%20world!'%29) 8 [link](ja vas cr ipt:alert%28'Hello%20world!'%29) 9 [link](ja vas cr ipt:alert%28'Hello%20world!'%29) 10 [link](ja vas cr ipt:alert%28'Hello%20world!'%29) 11 [link](ja%09 %0Avas cr
ipt:alert%28'Hello%20world!'%29) 12 [link](ja%20vas%20cr%20ipt:alert%28'Hello%20world!'%29) 13 [link](live%20script:alert%28'Hello%20world!'%29) 15 ![img](javascript:alert%29'XSS'%29) [all …]
|
D | script_tags.txt | 4 alert("Hello world!") 11 alert("Hello world!") 18 alert("Hello world!") 24 alert("Hello world!") 31 alert("Hello world!")
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAlertDialogTest.java | 49 AlertDialog alert = builder.create(); in testBuilder() local 50 alert.show(); in testBuilder() 52 assertThat(alert.isShowing()).isTrue(); in testBuilder() 54 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testBuilder() 59 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameInstanceAs(alert); in testBuilder() 104 AlertDialog alert = builder.create(); in testSetMessageAfterCreation() local 106 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); in testSetMessageAfterCreation() 109 alert.setMessage("new message"); in testSetMessageAfterCreation() 112 alert.setMessage(null); in testSetMessageAfterCreation() 121 AlertDialog alert = builder.create(); in shouldSetMessageFromResourceId() local [all …]
|
/external/ImageMagick/scripts/ |
D | xsnap | 49 catch {destroy .alert} 50 toplevel .alert -class alert 51 wm title .alert Alert 52 wm iconname .alert alert 53 wm group .alert . 54 wm transient .alert . 55 wm geometry .alert \ 60 frame .alert.top -relief raised -border 1 61 frame .alert.bottom -relief raised -border 1 62 pack append .alert .alert.top {top fill expand} .alert.bottom \ [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/ |
D | DurationPickerDialog.java | 41 AlertDialog.Builder alert = new AlertDialog.Builder(activity); in getDurationFromDialog() local 42 alert.setIcon(R.drawable.ic_dialog_time); in getDurationFromDialog() 43 alert.setTitle(title); in getDurationFromDialog() 44 alert.setView(picker); in getDurationFromDialog() 45 alert.setPositiveButton("Set", new DialogInterface.OnClickListener() { in getDurationFromDialog() 51 alert.setOnCancelListener(new DialogInterface.OnCancelListener() { in getDurationFromDialog() 57 alert.show(); in getDurationFromDialog()
|
/external/webrtc/rtc_tools/rtc_event_log_visualizer/ |
D | alerts.h | 71 TriageAlert alert; in Alert() local 72 alert.type = type; in Alert() 73 alert.first_occurrence = time_seconds; in Alert() 74 alert.count = 1; in Alert() 75 alert.explanation = std::string(explanation); in Alert() 76 triage_alerts_.insert(std::make_pair(type, alert)); in Alert()
|