Home
last modified time | relevance | path

Searched refs:returns (Results 1 – 25 of 828) sorted by relevance

12345678910>>...34

/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/regression/
H A D694_note_diag_return_values.t7 my @returns;
9 push @returns => diag('foo');
10 push @returns => note('foo');
13 push @returns => $tb->diag('foo');
14 push @returns => $tb->note('foo');
17 is(@returns, 4, "4 return values");
18 is_deeply(\@returns, [0, 0, 0, 0], "All note/diag returns are 0");
/openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dcv_name.t15 is $ret, \$name, 'cv_name with package sub returns 2nd argument';
18 is $ret, \$name, 'cv_name with package sub via glob returns 2nd argument';
21 is $ret, \$name, 'cv_name with typeglob returns 2nd argument';
24 is $ret, \$name, 'cv_name with string returns 2nd argument';
28 is $ret, \$name, 'cv_name with lexical sub returns 2nd argument';
40 is $ret, \$name, 'cv_name with package sub returns 2nd argument (nq)';
43 is $ret, \$name, 'cv_name with package sub via glob returns 2nd arg (nq)';
46 is $ret, \$name, 'cv_name with typeglob returns 2nd argument (nq)';
49 is $ret, \$name, 'cv_name with string returns 2nd argument (nq)';
52 is $ret, \$name, 'cv_name with lexical sub returns 2nd argument (nq)';
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli435 (** [description d] returns a textual description of [d]. *)
438 (** [severity d] returns the severity of [d]. *)
459 (** [mdkind_id context name] returns the MDKind ID that corresponds to the
471 (** [enum_attr_kind name] returns the kind of enum attributes named [name].
534 (** [string_of_llmodule m] returns the .ll representation of the module [m]
542 (** [module_context m] returns the context of the specified module.
546 (** [get_module_identifier m] returns the module identifier of the
566 (** [classify_type ty] returns the {!TypeKind.t} corresponding to the type [ty].
570 (** [type_is_sized ty] returns whether the type has a size or not.
575 (** [type_context ty] returns the {!llcontext} corresponding to the type [ty].
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/
H A Dundef.t21 is($enc->encode(undef), undef, "find_encoding('$name')->encode(undef) returns undef");
22 is($enc->decode(undef), undef, "find_encoding('$name')->decode(undef) returns undef");
23 is(encode($name, undef), undef, "encode('$name', undef) returns undef");
24 is(decode($name, undef), undef, "decode('$name', undef) returns undef");
H A Dmagic.t46 is($output, ((defined $str and $enc eq 'UTF-16LE') ? encode("UTF-16LE", $str) : $str), "$func returns correct \$output string");
57 is($output, $str, "$func returns correct \$output string");
67 is($output, ((defined $str and $obj == $utf16) ? encode("UTF-16LE", $str) : $str), "$func returns correct \$output string");
78 is($output, $str, "$func returns correct \$output string");
88 is($output, $str, "$func returns correct \$output string");
98 is($output, $str, "$func returns correct \$output string");
/openbsd-src/gnu/usr.bin/perl/cpan/autodie/t/
H A Dblog_hints.t21 my @returns = eval { some_sub(0); };
23 is_deeply(\@returns, [1,2,3], "Returns unmolested");
25 @returns = eval { some_sub(1) };
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/analysis/
H A Dllvm_analysis.mli14 (** [verify_module m] returns [None] if the module [m] is valid, and
19 (** [verify_function f] returns [true] if the function [f] is valid, and
23 (** [verify_module m] returns if the module [m] is valid, but prints a
29 (** [verify_function f] returns if the function [f] is valid, but prints a
/openbsd-src/gnu/usr.bin/perl/dist/Dumpvalue/t/
H A Drt-134441-dumpvalue.t37 "dumpValues called on array returns same as dumpValue on array ref");
49 "dumpValues called on array returns same as dumpValue on array ref, first element undefined");
61 "dumpValues called on array returns same as dumpValue on array ref, last element undefined");
73 … "dumpValues called on array returns same as dumpValue on array ref, first element empty string");
85 "dumpValues called on array returns same as dumpValue on array ref, last element empty string");
/openbsd-src/gnu/usr.bin/perl/cpan/Win32/t/
H A DUnicode.t56 # readdir() returns ANSI form of Unicode filename
60 # On Cygwin 1.7 readdir() returns the utf8 representation of the
77 # cwd() also returns a usable ANSI directory name
87 # cwd() on Cygwin returns a mapped path that we need to translate
93 # Cygwin64 no longer returns an ANSI name
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/
H A Dgcov.exp183 all returns] {
185 fail "$n: negative percentage: $returns"
188 all returns] {
195 set i [lsearch $shouldbe $returns]
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Perldoc/t/man/
H A D_get_columns.t63 "_get_columns_from_manwidth returns the right number" );
65 "_get_columns_from_stty returns the right number" );
67 "_get_columns returns the right number" );
/openbsd-src/gnu/usr.bin/perl/dist/threads/t/
H A Derr.t26 # Check that thread returns 'undef'
44 # Check that thread returns 'undef'
56 # Check that thread returns 'undef'
/openbsd-src/gnu/llvm/llvm/docs/
H A DTypeMetadata.rst122 backwards, if ``llvm.type.test`` returns true for a particular pointer,
212 %a1 = call i1 @foo(i32* @a) ; returns 1
213 %b1 = call i1 @foo(i32* @b) ; returns 1
214 %c1 = call i1 @foo(i32* @c) ; returns 0
215 %a2 = call i1 @bar(i32* @a) ; returns 0
216 %b2 = call i1 @bar(i32* @b) ; returns 1
217 %c2 = call i1 @bar(i32* @c) ; returns 1
218 %d02 = call i1 @bar(i32* getelementptr ([2 x i32]* @d, i32 0, i32 0)) ; returns 0
219 %d12 = call i1 @bar(i32* getelementptr ([2 x i32]* @d, i32 0, i32 1)) ; returns 1
220 %e = call i1 @baz(void ()* @e) ; returns 1
[all …]
/openbsd-src/gnu/llvm/llvm/docs/TableGen/
H A DBackGuide.rst179 returns the ``list<int>`` type when called with the ``int`` type.
194 It returns an instance of ``Recty`` corresponding to the derived class.
213 The ``get()`` function takes the length of the sequence, *n*, and returns the
223 returns the ``ListRecTy`` type corresponding to ``list<``\ *type*\ ``>``.
239 instances of the *direct* superclasses of the record and returns the ``RecordRecTy``
306 * A static function named ``get()`` that returns an ``Init`` representing
307 the specified value(s). In the case of ``BitInit``, ``get(true)`` returns
308 an instance of ``BitInit`` representing true, while ``get(false)`` returns
313 * A function named ``GetValue()`` that returns the value of the instance
385 ``getValue()``. Instead, it provides ``getDef()``, which returns the
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DReturnProtectorLowering.cpp316 std::vector<MachineInstr *> returns; in insertReturnProtectors() local
321 returns.push_back(&MI); in insertReturnProtectors()
329 if (returns.empty()) in insertReturnProtectors()
332 for (auto &MI : returns) in insertReturnProtectors()
/openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/
H A Drandom272 * takes zero arguments and returns a number.
383 * @returns true if the two objects are equal, false otherwise.
397 * @returns true if the two objects are not equal, false otherwise.
409 * @returns __os.
430 * @returns __is.
555 * @returns true if the two objects are equal, false otherwise.
570 * @returns true if the two objects are not equal, false otherwise.
584 * @returns The output stream with the state of @p __x inserted or in
603 * @returns The input stream with the state of @p __x extracted or in
759 * @returns true if the two objects are equal, false otherwise.
[all …]
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/target/
H A Dllvm_target.mli133 (** [default_triple ()] returns the default target triple for current
137 (** [first ()] returns the first target in the registered targets
141 (** [succ t] returns the next target after [t], or [None]
145 (** [all ()] returns a list of known targets. *)
148 (** [by_name name] returns [Some t] if a target [t] named [name] is
152 (** [by_triple triple] returns a target for a triple [triple], or raises
/openbsd-src/gnu/usr.bin/perl/cpan/Memoize/t/
H A Dthreadsafe.t24 is $got->{V}, $cached, '... and returns the same result';
35 is ref($got->{U}), 'CODE', '... and returns a coderef as expected';
H A Dunmemoize.t41 for (@quux) { $ret = $_; is $memo{$_}->(), $_, "\$memo{$_}->() returns $_" }
42 for (@quux) { undef $ret; is $memo{$_}->(), $_, "\$memo{$_}->() returns $_" }
/openbsd-src/usr.sbin/pkg_add/OpenBSD/
H A DVstat.pod62 returns the number of bytes still available on the filesystem.
66 C<exists> returns a true value if the filename exists.
67 If it is a virtual name added through C<add>, it returns
68 the C<$tag> specified as an optional argument. Otherwise, it returns 1.
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/t/
H A Dcz-14gzopen.t85 is $fil->gzread($xyz), 0, "gzread returns 0 on eof" ;
469 is $fil->gzread(), Z_STREAM_ERROR, " gzread returns Z_STREAM_ERROR" ;
484 is $fil->gzwrite(), Z_STREAM_ERROR, " gzwrite returns Z_STREAM_ERROR" ;
517 ok !$fil, " gzopen returns undef" ;
550 ok !$fil, " gzopen returns undef" ;
644 is $u->gzread($buf1, 0), 0, " gzread returns 0";
649 is $u->gzread($buf2, 0), 0, " gzread returns 0";
685 is $a->gzflush(Z_SYNC_FLUSH), Z_OK, "gzflush returns Z_OK";
686 is $a->gzflush(Z_SYNC_FLUSH), Z_OK, "gzflush returns Z_OK";
701 is $a->gzflush(Z_SYNC_FLUSH), Z_OK, "gzflush returns Z_O
[all...]
/openbsd-src/gnu/usr.bin/perl/dist/Module-CoreList/lib/Module/
H A DCoreList.pod63 Requires a MODULE name as an argument, returns the perl version when that module first
69 Requires a MODULE name as an argument, returns the perl version when that module first
75 Takes a regex as an argument, returns a list of modules that match the regex given.
81 Takes a perl version as an argument. Upon successful completion, returns a
118 Takes a module name as an argument, returns the first perl version where that module
126 Takes a module name as an argument, returns the first perl version by release date where that module
134 Given two perl versions, this returns a list of pairs describing the changes in
/openbsd-src/gnu/usr.bin/perl/cpan/Archive-Tar/t/
H A D06_error.t23 is($Archive::Tar::error, Archive::Tar->error, "the class error method returns the global error");
32 is($Archive::Tar::error, Archive::Tar->error, "the class error method returns the global error");
/openbsd-src/gnu/usr.bin/perl/cpan/Perl-OSType/t/
H A DOSType.t40 is( os_type(NON_EXISTENT_OS), '', "$fcn: unknown OS returns empty string" );
42 is( os_type(''), '', "$fcn: empty string returns empty string" );
/openbsd-src/gnu/usr.bin/perl/t/lib/warnings/
H A Dutf875 Operation "uc" returns its argument for UTF-16 surrogate U+D800 at - line 3.
76 Operation "uc" returns its argument for UTF-16 surrogate U+DFFF at - line 4.
77 Operation "uc" returns its argument for non-Unicode code point 0x110000 at - line 14.
86 Operation "uc" returns its argument for UTF-16 surrogate U+D800 at - line 2.
87 Operation "uc" returns its argument for non-Unicode code point 0x110000 at - line 3.
88 Operation "uc" returns its argument for non-Unicode code point 0x110000 at - line 6.
97 Operation "uc" returns its argument for UTF-16 surrogate U+D800 at - line 2.
98 Operation "uc" returns its argument for non-Unicode code point 0x110000 at - line 3.
99 Operation "uc" returns its argument for UTF-16 surrogate U+D800 at - line 5.
106 Operation "uc" returns its argument for non-Unicode code point 0x7FFFFFFF at - line 2.
[all …]

12345678910>>...34