| /third_party/rust/crates/bindgen/bindgen/codegen/ |
| H A D | bitfield_unit_tests.rs | 80 With $storage:expr , then get($start:expr, $len:expr) is $expected:expr; 104 With [0b11100010], then get(0, 1) is 0; 105 With [0b11100010], then get(1, 1) is 1; 106 With [0b11100010], then get(2, 1) is 0; 107 With [0b11100010], then get(3, 1) is 0; 108 With [0b11100010], then get(4, 1) is 0; 109 With [0b11100010], then get(5, 1) is 1; 110 With [0b11100010], then get(6, 1) is 1; 111 With [0b11100010], then get(7, 1) is 1; 113 With [0b11100010], then get(0, 2) is [all...] |
| /third_party/jerryscript/tests/jerry/es2015/ |
| H A D | object-is.js | 10 // distributed under the License is distributed on an "AS IS" BASIS 15 assert(Object.is(2, "foo") === false); 16 assert(Object.is(null, 2) === false); 19 assert(Object.is(x, 2) === false); 21 assert(Object.is(null, null) === true); 23 assert(Object.is(2, 8) === false); 24 assert(Object.is(8, 8) === true); 26 assert(Object.is(3.14, 6.28) === false); 27 assert(Object.is(3.14, 3.14) === true); 29 assert(Object.is('fo [all...] |
| /third_party/ffmpeg/fftools/ |
| H A D | ffplay.c | 4 * This file is part of FFmpeg. 6 * FFmpeg is free software; you can redistribute it and/or 11 * FFmpeg is distributed in the hope that it will be useful, 81 /* no AV sync correction is done if below the minimum AV sync threshold */ 83 /* AV sync correction is done if above the maximum AV sync threshold */ 85 /* If a frame duration is longer than this, it will not be duplicated to compensate AV sync */ 87 /* no AV correction is done if too big error */ 148 int serial; /* clock is based on a packet with this serial */ 657 av_log(d->avctx, AV_LOG_ERROR, "Receive_frame and send_packet both returned EAGAIN, which is an API violation.\n"); in decoder_decode_frame() 961 static void video_image_display(VideoState *is) in video_image_display() argument 1193 stream_component_close(VideoState *is, int stream_index) stream_component_close() argument 1250 stream_close(VideoState *is) stream_close() argument 1287 do_exit(VideoState *is) do_exit() argument 1325 video_open(VideoState *is) video_open() argument 1349 video_display(VideoState *is) video_display() argument 1411 get_master_sync_type(VideoState *is) get_master_sync_type() argument 1428 get_master_clock(VideoState *is) get_master_clock() argument 1446 check_external_clock_speed(VideoState *is) check_external_clock_speed() argument 1461 stream_seek(VideoState *is, int64_t pos, int64_t rel, int by_bytes) stream_seek() argument 1475 stream_toggle_pause(VideoState *is) stream_toggle_pause() argument 1488 toggle_pause(VideoState *is) toggle_pause() argument 1494 toggle_mute(VideoState *is) toggle_mute() argument 1499 update_volume(VideoState *is, int sign, double step) update_volume() argument 1506 step_to_next_frame(VideoState *is) step_to_next_frame() argument 1514 compute_target_delay(double delay, VideoState *is) compute_target_delay() argument 1544 vp_duration(VideoState *is, Frame *vp, Frame *nextvp) vp_duration() argument 1556 update_video_pts(VideoState *is, double pts, int64_t pos, int serial) update_video_pts() argument 1565 VideoState *is = opaque; video_refresh() local 1732 queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial) queue_picture() argument 1763 get_video_frame(VideoState *is, AVFrame *frame) get_video_frame() argument 1840 configure_video_filters(AVFilterGraph *graph, VideoState *is, const char *vfilters, AVFrame *frame) configure_video_filters() argument 1945 configure_audio_filters(VideoState *is, const char *afilters, int force_output_format) configure_audio_filters() argument 2022 VideoState *is = arg; audio_thread() local 2118 VideoState *is = arg; video_thread() local 2225 VideoState *is = arg; subtitle_thread() local 2258 update_sample_display(VideoState *is, short *samples, int samples_size) update_sample_display() argument 2278 synchronize_audio(VideoState *is, int nb_samples) synchronize_audio() argument 2326 audio_decode_frame(VideoState *is) audio_decode_frame() argument 2437 VideoState *is = opaque; sdl_audio_callback() local 2555 stream_component_open(VideoState *is, int stream_index) stream_component_open() argument 2714 VideoState *is = ctx; decode_interrupt_cb() local 2744 VideoState *is = arg; read_thread() local 3070 VideoState *is; stream_open() local 3126 stream_cycle_channel(VideoState *is, int codec_type) stream_cycle_channel() argument 3205 toggle_full_screen(VideoState *is) toggle_full_screen() argument 3211 toggle_audio_display(VideoState *is) toggle_audio_display() argument 3223 refresh_loop_wait_event(VideoState *is, SDL_Event *event) refresh_loop_wait_event() argument 3240 seek_chapter(VideoState *is, int incr) seek_chapter() argument 3661 VideoState *is; main() local [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | typeGuardFunctionErrors.js | 14 function hasANonBooleanReturnStatement(x): x is A { 18 function hasTypeGuardTypeInsideTypeGuardType(x): x is x is A { 26 function hasMissingParameter(): x is A { 30 function hasMissingTypeInTypeGuardType(x): x is { 34 function hasNonMatchingParameter(y): x is A { 38 function hasNonMatchingParameterType1(x: A): x is B { 42 function hasNonMatchingParameterType2(x: string): x is number { 46 function hasNonMathcingGenericType<T>(a: string): a is T[] { 53 declare function isB(p1): p1 is [all...] |
| H A D | stringLiteralTypesTypePredicates01.js | 4 function kindIs(kind: Kind, is: "A"): kind is "A"; 5 function kindIs(kind: Kind, is: "B"): kind is "B"; 6 function kindIs(kind: Kind, is: Kind): boolean { 7 return kind === is; 27 function kindIs(kind, is) {
28 return kind === is;
47 declare function kindIs(kind: Kind, is: "A"): kind is " [all...] |
| H A D | narrowingUnionToUnion.js | 4 declare function isFalsy(value: unknown): value is Falsy; 24 declare function isA(obj: unknown): obj is { a: false } | { b: 0 }; 38 declare function isXSorY(obj: unknown): obj is XS | Y; 51 declare function isEmptyStrOrUndefined(mixed: any): mixed is "" | undefined; 67 function f1(x: any): asserts x is number | undefined { } 72 function f2(x: any): asserts x is 6 | undefined { } 79 declare function isEmptyString(value: string): value is ''; 80 declare function isMaybeEmptyString(value: string | null | undefined): value is '' | null | undefined; 82 declare function isZero(value: number): value is 0; 83 declare function isMaybeZero(value: number | null | undefined): value is [all...] |
| H A D | assertionTypePredicates1.js | 2 declare function isString(value: unknown): value is string; 3 declare function isArrayOfStrings(value: unknown): value is string[]; 7 declare function assertIsString(value: unknown): asserts value is string; 8 declare function assertIsArrayOfStrings(value: unknown): asserts value is string[]; 9 declare function assertDefined<T>(value: T): asserts value is NonNullable<T>; 74 export declare function assertDefined<T>(value: T): asserts value is NonNullable<T>; 101 isTest2(): this is Test2 { 104 assertIsTest2(): asserts this is Test2 { 158 declare let Q1: new (x: unknown) => x is string; 160 declare let Q3: new (x: unknown) => asserts x is strin [all...] |
| H A D | typeGuardFunctionOfFormThis.js | 3 isLeader(): this is LeadGuard { 6 isFollower(): this is FollowerGuard { 61 isElite = (): this is ArrowElite => { 64 isMedic = (): this is ArrowMedic => { 96 isSupplies(): this is Crate<Supplies>; 97 isSundries(): this is Crate<Sundries>; 115 isLeader(): this is MimicLeader { return this instanceof MimicLeader; }; 116 isFollower(): this is MimicFollower { return this instanceof MimicFollower; }; 139 isLeader(): this is LeadGuard; 140 isFollower(): this is FollowerGuar [all...] |
| H A D | typeGuardFunction.js | 14 declare function isA(p1: any): p1 is A; 15 declare function isB(p1: any): p1 is B; 16 declare function isC(p1: any): p1 is C; 42 (p1: A): p1 is C; 45 // The parameter index and argument index for the type guard target is matching. 46 // The type predicate type is assignable to the parameter type. 47 declare function isC_multipleParams(p1, p2): p1 is C; 54 func1(p1: A): p1 is C; 57 method1(p1: A): p1 is C { 63 let f1 = (p1: A): p1 is [all...] |
| /third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
| H A D | file_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 FileInputStream is; in TestFileInputStream() local 47 is.Open(SAMPLE_TTF_FILE); in TestFileInputStream() 48 EXPECT_EQ(length, (size_t)is.Available()); in TestFileInputStream() 50 is.Read(&b2, 0, length); in TestFileInputStream() 51 is.Close(); in TestFileInputStream() 56 is.Open(SAMPLE_TTF_FILE); in TestFileInputStream() 57 is.Skip(89); in TestFileInputStream() 58 is.Read(&b2, 0, 100); in TestFileInputStream() 63 is in TestFileInputStream() 106 FileInputStream is; TestFontInputStreamBasic() local 133 FileInputStream is; TestFontInputStreamTableLoading() local [all...] |
| H A D | memory_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 41 MemoryInputStream is; in TestMemoryInputStream() local 42 is.Attach(&(test_buffer[0]), kTestBufferLen); in TestMemoryInputStream() 43 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen); in TestMemoryInputStream() 46 EXPECT_EQ(is.Read(), '0'); // position 1 in TestMemoryInputStream() 47 EXPECT_EQ(is.Read(), '1'); // position 2 in TestMemoryInputStream() 48 EXPECT_EQ(is.Read(), '2'); // position 3 in TestMemoryInputStream() 53 EXPECT_EQ(is.Read(&b), 7); // position 10 in TestMemoryInputStream() 57 EXPECT_EQ(is.Read(&b, 7, 10), 10); // position 20 in TestMemoryInputStream() 63 EXPECT_EQ(is in TestMemoryInputStream() [all...] |
| /third_party/vk-gl-cts/framework/common/ |
| H A D | tcuEither.cpp | 14 * distributed under the License is distributed on an "AS IS" BASIS, 21 * \brief Template class that is either type of Left or Right. 95 TCU_CHECK(either.is<int>()); in Either_selfTest() 96 TCU_CHECK(!either.is<float>()); in Either_selfTest() 110 TCU_CHECK(!either.is<int>()); in Either_selfTest() 111 TCU_CHECK(either.is<float>()); in Either_selfTest() 128 TCU_CHECK(either.is<int>()); in Either_selfTest() 129 TCU_CHECK(!either.is<float>()); in Either_selfTest() 146 TCU_CHECK(!either.is<int>()); in Either_selfTest() 147 TCU_CHECK(either.is<floa in Either_selfTest() [all...] |
| /third_party/mesa3d/src/gallium/drivers/i915/ |
| H A D | i915_screen.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * permit persons to whom the Software is furnished to do so, subject to 289 /* mesa/st requires that this cap is the same across stages, and the FS in i915_get_shader_param() 389 struct i915_screen *is = i915_screen(screen); in i915_get_param() local 420 * draw module's state, which is per-context. in i915_get_param() 473 return is->iws->pci_id; in i915_get_param() 482 is->iws->aperture_size(is->iws) * 3 / 4; in i915_get_param() 610 struct i915_screen *is = i915_screen(screen); in i915_fence_reference() local 612 is in i915_fence_reference() 619 struct i915_screen *is = i915_screen(screen); i915_fence_finish() local 634 struct i915_screen *is = i915_screen(screen); i915_destroy_screen() local 648 struct i915_screen *is = CALLOC_STRUCT(i915_screen); i915_screen_create() local [all...] |
| /third_party/rust/crates/proc-macro2/tests/ |
| H A D | marker.rs | 8 ($ty:ident is $($marker:ident) and +) => { 17 ($ty:ident is not $($marker:ident) or +) => { 35 // If $ty does not implement $marker, there is no ambiguity 44 assert_impl!(Delimiter is Send and Sync); 45 assert_impl!(Spacing is Send and Sync); 47 assert_impl!(Group is not Send or Sync); 48 assert_impl!(Ident is not Send or Sync); 49 assert_impl!(LexError is not Send or Sync); 50 assert_impl!(Literal is not Send or Sync); 51 assert_impl!(Punct is no [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_instrfactory.cpp | 7 * Permission is hereby granted, free of charge, to any person obtaining a 12 * the Software is furnished to do so, subject to the following conditions: 60 std::istringstream is(s); in from_string() 65 is >> type; in from_string() 66 } while (type.empty() && is.good()); in from_string() 77 result = AluInstr::from_string(is, m_value_factory, group); in from_string() 79 result = TexInstr::from_string(is, m_value_factory); in from_string() 81 result = ExportInstr::from_string(is, m_value_factory); in from_string() 83 result = ExportInstr::last_from_string(is, m_value_factory); in from_string() 85 result = FetchInstr::from_string(is, m_value_factor in from_string() [all...] |
| H A D | sfn_instr_fetch.cpp | 7 * Permission is hereby granted, free of charge, to any person obtaining a 12 * the Software is furnished to do so, subject to the following conditions: 268 Instr::Pointer FetchInstr::from_string(std::istream& is, ValueFactory& vf) in from_string() argument 270 return from_string_impl(is, vc_fetch, vf); in from_string() 273 Instr::Pointer FetchInstr::from_string_impl(std::istream& is, EVFetchInstr opcode, ValueFactory& vf) in from_string_impl() argument 276 is >> deststr; in from_string_impl() 282 is >> help; in from_string_impl() 286 is >> srcstr; in from_string_impl() 295 is >> next; in from_string_impl() 300 is >> src_offset_va in from_string_impl() 526 from_string(std::istream& is, ValueFactory& vf) from_string() argument 558 from_string(std::istream& is, ValueFactory& vf) from_string() argument 660 from_string(std::istream& is, ValueFactory &vf) from_string() argument [all...] |
| /third_party/libwebsockets/lib/system/dhcpclient/ |
| H A D | dhcpc4.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 95 (const char *)&r[1], r->is.mac, 6) < 0) in lws_dhcpc4_prep() 98 memcpy(p, r->is.mac, 6); in lws_dhcpc4_prep() 122 if (r->is.sa46[LWSDH_SA46_IP].sa4.sin_family != AF_INET) in lws_dhcpc4_prep() 126 lws_ser_wu32be(p, r->is.sa46[LWSDH_SA46_IP].sa4.sin_addr.s_addr); in lws_dhcpc4_prep() 130 lws_ser_wu32be(p, r->is.sa46[LWSDH_SA46_DHCP_SERVER].sa4.sin_addr.s_addr); in lws_dhcpc4_prep() 184 if (lws_plat_ifconfig(r->wsi_raw->desc.sockfd, &r->is)) in callback_dhcpc4() 205 r->cb(r->opaque, &r->is); in callback_dhcpc4() 217 * UDP is no in callback_dhcpc4() [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuild/sample1/ |
| H A D | can-detect-when-and-what-to-rebuild.js | 395 [[90m12:00:27 AM[0m] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo'
397 [[90m12:00:28 AM[0m] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo'
399 [[90m12:00:29 AM[0m] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo'
420 [[90m12:00:32 AM[0m] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo'
422 [[90m12:00:33 AM[0m] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is olde [all...] |
| /third_party/glslang/SPIRV/ |
| H A D | hex_float.h | 10 // distributed under the License is distributed on an "AS IS" BASIS, 37 // Returns true if the given value is any kind of infinity. 56 // a value is Nan. 66 // Returns true if the given value is any kind of infinity. 78 // Returns true if the given value is any kind of infinity. 90 // Returns true if the given value is any kind of infinity. 98 // Since copying a floating point number (especially if it is NaN) 106 // Since this is to act similar to the normal floats, 110 // Intentionally non-explicit. This is a proxy type so 114 // Intentionally non-explicit. This is 155 operator >>(std::istream& is, FloatProxy<T>& value) operator >>() argument 730 RejectParseDueToLeadingSign(std::istream& is, bool negate_value, HexFloat<T, Traits>& value) RejectParseDueToLeadingSign() argument 756 ParseNormalFloat(std::istream& is, bool negate_value, HexFloat<T, Traits>& value) ParseNormalFloat() argument 795 ParseNormalFloat( std::istream& is, bool negate_value, HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) ParseNormalFloat() argument 835 operator >>(std::istream& is, HexFloat<T, Traits>& value) operator >>() argument [all...] |
| /third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/ |
| H A D | safe2.t | 11 plan skip_all => 'Safe.pm is required for this test'; 30 SOURCE => 'package is {$P}') or die; 34 is $text, 'package is main'; 36 # (2) When a package is specified, we should use that package instead. 38 is $text, 'package is Q'; 40 # (3) When no package is specified in safe mode, we should use the 43 is $text, 'package is saf [all...] |
| H A D | hash.t | 12 my $template = 'We will put value of $v (which is "good") here -> {$v}'; 24 my $result2 = 'We will put value of $v (which is "good") here -> good'; 26 is $text, $result2; 29 is $v, 'oops (main)'; 32 my $result4 = 'We will put value of $v (which is "good") here -> good'; 34 is $text, $result4; 37 my $result5 = 'We will put value of $v (which is "good") here -> good'; 39 is $text, $result5; 42 is $Q::v, 'good'; 45 my $result7 = 'We will put value of $v (which is "goo [all...] |
| /third_party/openssl/external/perl/Text-Template-1.56/t/ |
| H A D | safe2.t | 11 plan skip_all => 'Safe.pm is required for this test'; 30 SOURCE => 'package is {$P}') or die; 34 is $text, 'package is main'; 36 # (2) When a package is specified, we should use that package instead. 38 is $text, 'package is Q'; 40 # (3) When no package is specified in safe mode, we should use the 43 is $text, 'package is saf [all...] |
| /third_party/rust/crates/atty/src/ |
| H A D | lib.rs | 1 //! atty is a simple utility that answers one question 2 //! > is this a tty? 4 //! usage is just as simple 7 //! if atty::is(atty::Stream::Stdout) { 38 /// returns true if this is a tty 40 pub fn is(stream: Stream) -> bool { in is() functions 51 /// returns true if this is a tty 53 pub fn is(stream: Stream) -> bool { in is() functions 64 /// returns true if this is a tty 66 pub fn is(strea functions 158 pub fn is(_stream: Stream) -> bool { is() functions [all...] |
| /third_party/libunwind/libunwind/doc/ |
| H A D | unw_get_proc_info_by_ip.tex | 21 \Func{unw\_get\_proc\_info}(), except that the info is looked up by 22 instruction-pointer (IP) instead of a cursor. This is more flexible 23 because it is possible to look up the info for an arbitrary procedure, 24 even if it is not part of the current call-chain. However, since it 25 is more flexible, it also tends to run slower (and often much slower) 28 The routine expects the followins arguments: \Var{as} is the 32 Argument \Var{ip} is the instruction-pointer for which the procedure 33 info should be looked up and \Var{pip} is a pointer to a structure of 34 type \Type{unw\_proc\_info\_t} which is used to return the info. 35 Lastly, \Var{arg} is th [all...] |
| /third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
| H A D | FontFactory.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 * The font factory. This is the root class for the creation and loading of fonts. 93 * If a font is fingerprinted then a SHA-1 hash is generated at load time and stored in the 94 * font. This is useful for uniquely identifying fonts. By default this is turned on. 105 * @return true if fingerprinting is turned on; false otherwise 120 * the data in the stream cannot be parsed or is invalid an array of size zero 123 * @param is the input stream font data 127 public Font[] loadFonts(InputStream is) throw argument 148 loadFontsForBuilding(InputStream is) loadFontsForBuilding() argument 157 loadSingleOTF(InputStream is) loadSingleOTF() argument 161 loadCollection(InputStream is) loadCollection() argument 170 loadSingleOTFForBuilding(InputStream is) loadSingleOTFForBuilding() argument 188 loadCollectionForBuilding(InputStream is) loadCollectionForBuilding() argument [all...] |