Searched defs:throw (Results 1 - 17 of 17) sorted by relevance

/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DException.pm21 sub throw : Test(1) { subroutine
24 $self->class->throw(message => 'test error message');
/external/clang/test/SemaTemplate/
H A Dinstantiate-exception-spec.cpp5 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}}
14 template<typename T> void f(void (*p)() throw(T)) { argument
16 void (*q)() throw(char) = p; // expected-error {{target exception spec}}
18 extern void (*p2)() throw(T);
19 void (*q2)() throw(char) = p2; // expected-error {{target exception spec}}
21 extern void (*p3)() throw(char);
22 void (*q3)() throw(T) = p3; // expected-error {{target exception spec}}
24 void (*q4)() throw(T) = p2; // ok
/external/toybox/toys/other/
H A Dshred.c52 int fd = open(*try, O_RDWR), iter = 0, throw; local
95 throw = sizeof(toybuf);
97 if (len-pos < throw) throw = len-pos;
99 if (iter != TT.iterations) xread(TT.ufd, toybuf, throw);
100 if (throw != writeall(fd, toybuf, throw)) perror_msg_raw(*try);
101 pos += throw;
/external/python/cpython3/Lib/test/test_asyncio/
H A Dtest_pep492.py108 def throw(self, typ, val=None, tb=None): pass member in class:CoroutineTests.test_iscoroutine.FakeCoro
H A Dtest_events.py2417 def throw(self, *exc): member in class:HandleTests.test_coroutine_like_object_debug_formatting.Coro
/external/toybox/lib/
H A Dlinestack.c7 void linestack_addstack(struct linestack **lls, struct linestack *throw, argument
16 if (catch->len+throw->len >= catch->max) {
18 catch->max = ((catch->len+throw->len)|63)+1;
25 memmove((*lls)->idx+pos+throw->len, catch->idx+pos,
35 memcpy(catch->idx+pos, throw->idx, throw->len*sizeof(struct ptr_len));
36 catch->len += throw->len;
/external/toybox/toys/posix/
H A Dod.c54 int throw = 0, pad = 0; local
83 pad += (throw = 8)+7;
86 pad += (throw = 17)+8;
89 pad += (throw = 21)+9;
92 sprintf(buf, "%.*Le", throw, ld);
104 throw = sprintf(buf, class, 0, or);
115 throw++;
120 sprintf(buf, class, throw, ll);
121 pad += throw+1;
/external/python/cpython3/Lib/asyncio/
H A Dcoroutines.py127 def throw(self, type, value=None, traceback=None): member in class:CoroWrapper
128 return self.gen.throw(type, value, traceback)
/external/python/cpython3/Lib/
H A Dtypes.py183 def throw(self, tp, *rest): member in class:_GeneratorWrapper
184 return self.__wrapped.throw(tp, *rest)
H A D_collections_abc.py126 def throw(self, typ, val=None, tb=None): member in class:Coroutine
142 self.throw(GeneratorExit)
151 return _check_methods(C, '__await__', 'send', 'throw', 'close')
327 def throw(self, typ, val=None, tb=None): member in class:Generator
343 self.throw(GeneratorExit)
353 'send', 'throw', 'close')
/external/toybox/scripts/
H A Dconfig2help.c264 struct symbol *throw = 0, *catch; local
277 // text out of throw into catch, copying from this to that
278 if (!throw) usage = that;
282 if (!throw) len = that-usage;
286 if (!throw) {
287 throw = catch;
293 // Grab option description lines to collate from catch and throw
294 tusage = dlist_zap(&throw->help);
295 tdashlines = grab_dashlines(&throw->help, &tfrom, &tlen);
314 // If throw ha
[all...]
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp89 #define throw macro
174 throw
/external/python/cpython2/Lib/multiprocessing/
H A Dmanagers.py969 _exposed_ = ('__next__', 'next', 'send', 'throw', 'close')
978 def throw(self, *args): member in class:IteratorProxy
979 return self._callmethod('throw', args)
/external/python/cpython3/Lib/multiprocessing/
H A Dmanagers.py970 _exposed_ = ('__next__', 'send', 'throw', 'close')
977 def throw(self, *args): member in class:IteratorProxy
978 return self._callmethod('throw', args)
/external/python/cpython3/Lib/test/
H A Dtest_types.py1263 def throw(self): pass member in class:CoroutineTests.test_duck_coro.CoroLike
1277 def throw(self): pass member in class:CoroutineTests.test_duck_corogen.CoroGenLike
1293 def throw(self): pass member in class:CoroutineTests.test_duck_gen.GenLike
1352 wrapper.throw(1, 2, 3)
1353 gen.throw.assert_called_once_with(1, 2, 3)
1356 wrapper.throw(1, 2)
1357 gen.throw.assert_called_once_with(1, 2)
1360 wrapper.throw(1)
1361 gen.throw.assert_called_once_with(1)
1366 gen.throw
1421 def throw(self, tp, *exc): member in class:CoroutineTests.test_duck_functional_gen.Generator
[all...]
H A Dtest_collections.py530 def throw(self, typ, val=None, tb=None): member in class:TestOneTrickPonyABCs.test_Awaitable.MinimalCoro
531 super().throw(typ, val, tb)
580 def throw(self, typ, val=None, tb=None): member in class:TestOneTrickPonyABCs.test_Coroutine.MinimalCoro
581 super().throw(typ, val, tb)
608 def throw(self, typ, val=None, tb=None): member in class:TestOneTrickPonyABCs.test_Coroutine.CoroLike
897 def throw(self, typ, val=None, tb=None): pass member in class:TestOneTrickPonyABCs.test_Generator.NonGen1
908 def throw(self, typ, val=None, tb=None): pass member in class:TestOneTrickPonyABCs.test_Generator.NonGen3
922 def throw(self, typ, val=None, tb=None): pass member in class:TestOneTrickPonyABCs.test_Generator.Gen
927 def throw(self, typ, val=None, tb=None): member in class:TestOneTrickPonyABCs.test_Generator.MinimalGen
928 super().throw(ty
953 def throw(self, *args): raise ValueError member in class:TestOneTrickPonyABCs.test_Generator.FailOnClose
959 def throw(self, *args): pass member in class:TestOneTrickPonyABCs.test_Generator.IgnoreGeneratorExit
[all...]
/external/python/cpython3/Modules/
H A D_asynciomodule.c16 _Py_IDENTIFIER(throw); variable
1035 PyErr_SetString(PyExc_TypeError, "throw() third argument must be a traceback");
1094 {"throw", (PyCFunction)FutureIter_throw, METH_VARARGS, NULL},

Completed in 612 milliseconds