Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 25 of 87) sorted by relevance

1234

/external/fdlibm/
Dk_standard.c84 struct exception exc; local
95 exc.arg1 = x;
96 exc.arg2 = y;
100 exc.type = DOMAIN;
101 exc.name = "acos";
102 exc.retval = zero;
105 else if (!ieee_matherr(&exc)) {
114 exc.type = DOMAIN;
115 exc.name = "asin";
116 exc.retval = zero;
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXML.py71 except antlr3.NoViableAltException, exc:
72 assert exc.unexpectedType == '>', repr(exc.unexpectedType)
73 assert exc.charPositionInLine == 11, repr(exc.charPositionInLine)
74 assert exc.line == 2, repr(exc.line)
95 except antlr3.MismatchedSetException, exc:
96 assert exc.unexpectedType == 't', repr(exc.unexpectedType)
97 assert exc.charPositionInLine == 2, repr(exc.charPositionInLine)
98 assert exc.line == 1, repr(exc.line)
119 except antlr3.NoViableAltException, exc:
120 assert exc.unexpectedType == 'a', repr(exc.unexpectedType)
[all …]
Dt006lexer.py53 except antlr3.MismatchedTokenException, exc:
54 assert exc.expecting == 'f', repr(exc.expecting)
55 assert exc.unexpectedType == '2', repr(exc.unexpectedType)
56 assert exc.charPositionInLine == 10, repr(exc.charPositionInLine)
57 assert exc.line == 1, repr(exc.line)
Dt009lexer.py58 except antlr3.MismatchedSetException, exc:
60 assert exc.expecting is None
61 assert exc.unexpectedType == 'a', repr(exc.unexpectedType)
62 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
63 assert exc.line == 1, repr(exc.line)
Dt005lexer.py57 except antlr3.MismatchedTokenException, exc:
58 assert exc.expecting == 'f', repr(exc.expecting)
59 assert exc.unexpectedType == '2', repr(exc.unexpectedType)
70 except antlr3.EarlyExitException, exc:
71 assert exc.unexpectedType == antlr3.EOF, repr(exc.unexpectedType)
Dt007lexer.py51 except antlr3.EarlyExitException, exc:
52 assert exc.unexpectedType == 'o', repr(exc.unexpectedType)
53 assert exc.charPositionInLine == 6, repr(exc.charPositionInLine)
54 assert exc.line == 1, repr(exc.line)
Dt008lexer.py59 except antlr3.MismatchedTokenException, exc:
60 assert exc.unexpectedType == 'b', repr(exc.unexpectedType)
61 assert exc.charPositionInLine == 3, repr(exc.charPositionInLine)
62 assert exc.line == 1, repr(exc.line)
Dt010lexer.py70 except antlr3.NoViableAltException, exc:
71 assert exc.unexpectedType == '-', repr(exc.unexpectedType)
72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
73 assert exc.line == 1, repr(exc.line)
Dt011lexer.py70 except antlr3.NoViableAltException, exc:
71 assert exc.unexpectedType == '-', repr(exc.unexpectedType)
72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
73 assert exc.line == 1, repr(exc.line)
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
Dbasic.rb76 b.should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
77 exc.unexpected_type.should == '2'
117 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
118 exc.unexpected_type.should == '2'
171 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
172 exc.expecting.should == 'f'
173 exc.unexpected_type.should == '2'
219 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
220 exc.expecting.should == 'f'
221 exc.unexpected_type.should == '2'
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestexceptions.py12 exc = antlr3.RecognitionException()
22 exc = antlr3.EarlyExitException()
32 exc = antlr3.FailedPredicateException()
42 exc = antlr3.MismatchedNotSetException()
52 exc = antlr3.MismatchedRangeException()
62 exc = antlr3.MismatchedSetException()
72 exc = antlr3.MismatchedTokenException()
82 exc = antlr3.MismatchedTreeNodeException()
92 exc = antlr3.NoViableAltException()
/external/v8/src/
Dexecution.h98 static Handle<Object> ToNumber(Handle<Object> obj, bool* exc);
101 static Handle<Object> ToInteger(Handle<Object> obj, bool* exc);
104 static Handle<Object> ToInt32(Handle<Object> obj, bool* exc);
107 static Handle<Object> ToUint32(Handle<Object> obj, bool* exc);
110 static Handle<Object> ToString(Handle<Object> obj, bool* exc);
113 static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc);
116 static Handle<Object> ToObject(Handle<Object> obj, bool* exc);
119 static Handle<Object> NewDate(double time, bool* exc);
124 bool* exc);
131 Handle<FunctionTemplateInfo> data, bool* exc);
[all …]
Dexecution.cc609 Handle<Object> Execution::ToNumber(Handle<Object> obj, bool* exc) { in ToNumber() argument
610 RETURN_NATIVE_CALL(to_number, { obj }, exc); in ToNumber()
614 Handle<Object> Execution::ToString(Handle<Object> obj, bool* exc) { in ToString() argument
615 RETURN_NATIVE_CALL(to_string, { obj }, exc); in ToString()
619 Handle<Object> Execution::ToDetailString(Handle<Object> obj, bool* exc) { in ToDetailString() argument
620 RETURN_NATIVE_CALL(to_detail_string, { obj }, exc); in ToDetailString()
624 Handle<Object> Execution::ToObject(Handle<Object> obj, bool* exc) { in ToObject() argument
626 RETURN_NATIVE_CALL(to_object, { obj }, exc); in ToObject()
630 Handle<Object> Execution::ToInteger(Handle<Object> obj, bool* exc) { in ToInteger() argument
631 RETURN_NATIVE_CALL(to_integer, { obj }, exc); in ToInteger()
[all …]
/external/javasqlite/src/main/native/
Dsqlite_jni.c358 jthrowable exc; in trans2iso() local
393 exc = (*env)->ExceptionOccurred(env); in trans2iso()
394 if (!exc) { in trans2iso()
405 (*env)->DeleteLocalRef(env, exc); in trans2iso()
529 jthrowable exc; in callback() local
547 exc = (*env)->ExceptionOccurred(env); in callback()
548 if (exc) { in callback()
549 (*env)->DeleteLocalRef(env, exc); in callback()
557 exc = (*env)->ExceptionOccurred(env); in callback()
558 if (exc) { in callback()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToSAXHandler.java367 public void fatalError(SAXParseException exc) throws SAXException { in fatalError() argument
368 super.fatalError(exc); in fatalError()
373 ((ErrorHandler)m_saxHandler).fatalError(exc); in fatalError()
380 public void error(SAXParseException exc) throws SAXException { in error() argument
381 super.error(exc); in error()
384 ((ErrorHandler)m_saxHandler).error(exc); in error()
391 public void warning(SAXParseException exc) throws SAXException { in warning() argument
392 super.warning(exc); in warning()
395 ((ErrorHandler)m_saxHandler).warning(exc); in warning()
/external/wpa_supplicant_6/wpa_supplicant/examples/
Dwpas-test.py40 except dbus.dbus_bindings.DBusException, exc:
41 if str(exc) != "wpa_supplicant knows nothing about this interface.":
42 raise exc
45 except dbus.dbus_bindings.DBusException, exc:
46 if str(exc) != "wpa_supplicant already controls this interface.":
47 raise exc
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwpas-test.py40 except dbus.dbus_bindings.DBusException, exc:
41 if str(exc) != "wpa_supplicant knows nothing about this interface.":
42 raise exc
45 except dbus.dbus_bindings.DBusException, exc:
46 if str(exc) != "wpa_supplicant already controls this interface.":
47 raise exc
Dwpas-dbus-new.py126 except dbus.DBusException, exc:
127 if not str(exc).startswith("fi.w1.wpa_supplicant1.InterfaceUnknown:"):
128 raise exc
133 except dbus.DBusException, exc:
134 if not str(exc).startswith("fi.w1.wpa_supplicant1.InterfaceExists:"):
135 raise exc
/external/speex/libspeex/
Dcb_search.h59 spx_sig_t *exc,
68 spx_sig_t *exc,
85 spx_sig_t *exc,
95 spx_sig_t *exc,
Dltp.c353 spx_sig_t exc[], /* Excitation */ in pitch_gain_search_3tap() argument
499 SPEEX_MEMSET(exc, 0, nsf); in pitch_gain_search_3tap()
509 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp]); in pitch_gain_search_3tap()
514 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp-pitch]); in pitch_gain_search_3tap()
534 spx_sig_t exc[], /* Excitation */ in pitch_search_3tap() argument
583 SPEEX_MEMSET(exc, 0, nsf); in pitch_search_3tap()
620 SPEEX_MEMSET(exc, 0, nsf); in pitch_search_3tap()
621 … err=pitch_gain_search_3tap(target, ak, awk1, awk2, exc, gain_cdbk, gain_cdbk_size, pitch, p, nsf, in pitch_search_3tap()
625 SPEEX_COPY(best_exc, exc, nsf); in pitch_search_3tap()
642 SPEEX_COPY(exc, best_exc, nsf); in pitch_search_3tap()
[all …]
Dnb_celp.c162 st->exc = st->excBuf + mode->pitchEnd + 2; in nb_encoder_init()
398 SPEEX_COPY(st->exc, st->winBuf, diff); in nb_encode()
399 SPEEX_COPY(st->exc+diff, in, st->frameSize-diff); in nb_encode()
400 fir_mem16(st->exc, interp_lpc, st->exc, st->frameSize, st->lpcSize, st->mem_exc, stack); in nb_encode()
404 spx_word16_t g = compute_rms16(st->exc, st->frameSize); in nb_encode()
551 st->exc[i]=st->sw[i]=VERY_SMALL; in nb_encode()
651 spx_word16_t *exc; in nb_encode() local
658 exc=st->exc+offset; in nb_encode()
757 SPEEX_MEMSET(exc, 0, st->subframeSize); in nb_encode()
793exc, syn_resp, st->complexity, 0, st->plc_tuning, &st->cumul_gain); in nb_encode()
[all …]
Dltp.h64 spx_sig_t exc[], /* Overlapping codebook */
83 spx_word16_t exc[], /* Input excitation */
107 spx_sig_t exc[], /* Excitation */
126 spx_word16_t exc[], /* Input excitation */
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_connect.py112 if not str(exc).startswith(
115 raise exc
121 except dbus.DBusException, exc:
122 if not str(exc).startswith(
125 raise exc
212 except dbus.DBusException, exc:
213 raise exc
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTokenRewriteStream.java289 Exception exc = null; in testInsertInPriorReplace() local
294 exc = iae; in testInsertInPriorReplace()
297 assertNotNull(exc); in testInsertInPriorReplace()
298 assertEquals(expecting, exc.getMessage()); in testInsertInPriorReplace()
433 Exception exc = null; in testReplaceRangeThenInsertAtRightEdge() local
438 exc = iae; in testReplaceRangeThenInsertAtRightEdge()
441 assertNotNull(exc); in testReplaceRangeThenInsertAtRightEdge()
442 assertEquals(expecting, exc.getMessage()); in testReplaceRangeThenInsertAtRightEdge()
506 Exception exc = null; in testReplaceThenReplaceSuperset() local
511 exc = iae; in testReplaceThenReplaceSuperset()
[all …]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dtest_util.py61 exc = Exception('World')
62 self.assertEqual('World', str(exc))
63 util.prepend_message_to_exception('Hello ', exc)
64 self.assertEqual('Hello World', str(exc))

1234