Home
last modified time | relevance | path

Searched refs:_this (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11opengl.c153 if (_this->gl_data) { in X11_GL_LoadLibrary()
164 _this->gl_config.dll_handle = GL_LoadObject(path); in X11_GL_LoadLibrary()
165 if (!_this->gl_config.dll_handle) { in X11_GL_LoadLibrary()
171 SDL_strlcpy(_this->gl_config.driver_path, path, in X11_GL_LoadLibrary()
172 SDL_arraysize(_this->gl_config.driver_path)); in X11_GL_LoadLibrary()
175 _this->gl_data = in X11_GL_LoadLibrary()
179 if (!_this->gl_data) { in X11_GL_LoadLibrary()
184 handle = _this->gl_config.dll_handle; in X11_GL_LoadLibrary()
185 _this->gl_data->glXQueryExtension = in X11_GL_LoadLibrary()
188 _this->gl_data->glXGetProcAddress = in X11_GL_LoadLibrary()
[all …]
DSDL_x11opengles.c34 SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; in X11_GLES_LoadLibrary()
37 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in X11_GLES_LoadLibrary()
39 X11_GLES_UnloadLibrary(_this); in X11_GLES_LoadLibrary()
40 _this->GL_LoadLibrary = X11_GL_LoadLibrary; in X11_GLES_LoadLibrary()
41 _this->GL_GetProcAddress = X11_GL_GetProcAddress; in X11_GLES_LoadLibrary()
42 _this->GL_UnloadLibrary = X11_GL_UnloadLibrary; in X11_GLES_LoadLibrary()
43 _this->GL_CreateContext = X11_GL_CreateContext; in X11_GLES_LoadLibrary()
44 _this->GL_MakeCurrent = X11_GL_MakeCurrent; in X11_GLES_LoadLibrary()
45 _this->GL_SetSwapInterval = X11_GL_SetSwapInterval; in X11_GLES_LoadLibrary()
46 _this->GL_GetSwapInterval = X11_GL_GetSwapInterval; in X11_GLES_LoadLibrary()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengl.c101 _this->gl_config.dll_handle = SDL_LoadObject(path); in WIN_GL_LoadLibrary()
102 if (!_this->gl_config.dll_handle) { in WIN_GL_LoadLibrary()
105 SDL_strlcpy(_this->gl_config.driver_path, path, in WIN_GL_LoadLibrary()
106 SDL_arraysize(_this->gl_config.driver_path)); in WIN_GL_LoadLibrary()
109 _this->gl_data = (struct SDL_GLDriverData *) SDL_calloc(1, sizeof(struct SDL_GLDriverData)); in WIN_GL_LoadLibrary()
110 if (!_this->gl_data) { in WIN_GL_LoadLibrary()
115 handle = _this->gl_config.dll_handle; in WIN_GL_LoadLibrary()
116 _this->gl_data->wglGetProcAddress = (void *(WINAPI *) (const char *)) in WIN_GL_LoadLibrary()
118 _this->gl_data->wglCreateContext = (HGLRC(WINAPI *) (HDC)) in WIN_GL_LoadLibrary()
120 _this->gl_data->wglDeleteContext = (BOOL(WINAPI *) (HGLRC)) in WIN_GL_LoadLibrary()
[all …]
DSDL_windowsopengles.c36 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_LoadLibrary()
38 WIN_GLES_UnloadLibrary(_this); in WIN_GLES_LoadLibrary()
39 _this->GL_LoadLibrary = WIN_GL_LoadLibrary; in WIN_GLES_LoadLibrary()
40 _this->GL_GetProcAddress = WIN_GL_GetProcAddress; in WIN_GLES_LoadLibrary()
41 _this->GL_UnloadLibrary = WIN_GL_UnloadLibrary; in WIN_GLES_LoadLibrary()
42 _this->GL_CreateContext = WIN_GL_CreateContext; in WIN_GLES_LoadLibrary()
43 _this->GL_MakeCurrent = WIN_GL_MakeCurrent; in WIN_GLES_LoadLibrary()
44 _this->GL_SetSwapInterval = WIN_GL_SetSwapInterval; in WIN_GLES_LoadLibrary()
45 _this->GL_GetSwapInterval = WIN_GL_GetSwapInterval; in WIN_GLES_LoadLibrary()
46 _this->GL_SwapWindow = WIN_GL_SwapWindow; in WIN_GLES_LoadLibrary()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_egl.c72 _this->egl_data->NAME = SDL_LoadFunction(_this->egl_data->dll_handle, #NAME); \
73 if (!_this->egl_data->NAME) \
89 exts = _this->egl_data->eglQueryString(_this->egl_data->egl_display, EGL_EXTENSIONS); in SDL_EGL_HasExtension()
120 if (_this->egl_data->eglGetProcAddress) { in SDL_EGL_GetProcAddress()
121 retval = _this->egl_data->eglGetProcAddress(proc); in SDL_EGL_GetProcAddress()
128 retval = SDL_LoadFunction(_this->egl_data->egl_dll_handle, proc); in SDL_EGL_GetProcAddress()
132 retval = SDL_LoadFunction(_this->egl_data->egl_dll_handle, procname); in SDL_EGL_GetProcAddress()
140 if (_this->egl_data) { in SDL_EGL_UnloadLibrary()
141 if (_this->egl_data->egl_display) { in SDL_EGL_UnloadLibrary()
142 _this->egl_data->eglTerminate(_this->egl_data->egl_display); in SDL_EGL_UnloadLibrary()
[all …]
DSDL_video.c118 static SDL_VideoDevice *_this = NULL; variable
121 if (!_this) { \
125 if (!window || window->magic != &_this->window_magic) { \
131 if (!_this) { \
135 SDL_assert(_this->displays != NULL); \
136 if (displayIndex < 0 || displayIndex >= _this->num_displays) { \
138 _this->num_displays - 1); \
169 if (!_this->CreateWindowFramebuffer) { in ShouldUseTextureFramebuffer()
456 if (_this != NULL) { in SDL_VideoInit()
503 _this = video; in SDL_VideoInit()
[all …]
DSDL_clipboard.c30 SDL_VideoDevice *_this = SDL_GetVideoDevice(); in SDL_SetClipboardText() local
32 if (!_this) { in SDL_SetClipboardText()
39 if (_this->SetClipboardText) { in SDL_SetClipboardText()
40 return _this->SetClipboardText(_this, text); in SDL_SetClipboardText()
42 SDL_free(_this->clipboard_text); in SDL_SetClipboardText()
43 _this->clipboard_text = SDL_strdup(text); in SDL_SetClipboardText()
51 SDL_VideoDevice *_this = SDL_GetVideoDevice(); in SDL_GetClipboardText() local
53 if (!_this) { in SDL_GetClipboardText()
58 if (_this->GetClipboardText) { in SDL_GetClipboardText()
59 return _this->GetClipboardText(_this); in SDL_GetClipboardText()
[all …]
/third_party/typescript/tests/baselines/reference/
DcollisionThisExpressionAndParameter.types8 var _this = 10; // Local var. No this capture in x(), so no conflict.
9 >_this : number
12 function inner(_this: number) { // Error
13 >inner : (_this: number) => (x: any) => any
14 >_this : number
16 … return x => this; // New scope. So should inject new _this capture into function inner
25 var lamda = (_this: number) => { // Error
26 >lamda : (_this: number) => (x: any) => this
27 >(_this: number) => { // Error return x => this; // New scope. So should inject new
28 >_this : number
[all …]
DcollisionThisExpressionAndParameter.js4 var _this = 10; // Local var. No this capture in x(), so no conflict.
5 function inner(_this: number) { // Error
10 var lamda = (_this: number) => { // Error
14 z(_this: number) { // Error
21 var _this = 10; // Local var. No this capture in x(), so no conflict.
22 function inner(_this: number) { // No Error
26 var lamda = (_this: number) => { // No Error
29 z1(_this: number) { // No Error
35 constructor(_this: number) { // Error
47 function f1(_this: number) {
[all …]
DderivedClassParameterProperties.js122 var _this = this;
124 _this = _super.call(this) || this; // ok
125 return _this;
132 var _this = this;
134 _this = _super.call(this) || this; // error
135 _this.y = y;
136 return _this;
143 var _this = _super.call(this) || this;
144 _this.y = y;
146 return _this;
[all …]
DnoCollisionThisExpressionAndLocalVarInAccessors.types10 … doStuff: (callback) => () => { var _this = 2; return callback(_th…
14 >(callback) => () => { var _this = 2; return callback(_this); …
16 >() => { var _this = 2; return callback(_this); } : () => …
18 var _this = 2;
19 >_this : number
22 return callback(_this);
23 >callback(_this) : any
25 >_this : number
38 … doStuff: (callback) => () => { var _this = 2; return callback(_th…
42 >(callback) => () => { var _this = 2; return callback(_this); …
[all …]
DcollisionThisExpressionAndParameter.symbols8 var _this = 10; // Local var. No this capture in x(), so no conflict.
9 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 2, 11))
11 function inner(_this: number) { // Error
13 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 3, 23))
15 … return x => this; // New scope. So should inject new _this capture into function inner
22 var lamda = (_this: number) => { // Error
24 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 8, 21))
26 return x => this; // New scope. So should inject new _this capture
31 z(_this: number) { // Error
33 >_this : Symbol(_this, Decl(collisionThisExpressionAndParameter.ts, 12, 6))
[all …]
DresolvingClassDeclarationWhenInBaseTypeResolution.js1046 var _this = this;
1048 (function () { var y = _this; });
1052 var _this = this;
1054 (function () { var y = _this; });
1058 var _this = this;
1060 (function () { var y = _this; });
1064 var _this = this;
1066 (function () { var y = _this; });
1070 var _this = this;
1072 (function () { var y = _this; });
[all …]
DnoCollisionThisExpressionAndLocalVarInMethod.types2 var _this = 2;
3 >_this : number
13 … doStuff: (callback) => () => { var _this = 2; return callback(_th…
17 >(callback) => () => { var _this = 2; return callback(_this); …
19 >() => { var _this = 2; return callback(_this); } : () => …
21 var _this = 2;
22 >_this : number
25 return callback(_this);
26 >callback(_this) : any
28 >_this : number
[all …]
DcollisionThisExpressionAndPropertyNameAsConstuctorParameter.symbols5 constructor(_this: number) { //Error
6 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 1, 16))
11 return x => this; // New scope. So should inject new _this capture
21 constructor(private _this: number) { // Error
22 >_this : Symbol(Foo3._this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 9,…
27 return x => this; // New scope. So should inject new _this capture
37 constructor(_this: number); // No code gen - no error
38 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 17, 16))
40 constructor(_this: string); // No code gen - no error
41 >_this : Symbol(_this, Decl(collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts, 18, 16))
[all …]
DnoCollisionThisExpressionAndLocalVarInConstructor.types8 … doStuff: (callback) => () => { var _this = 2; return callback(_th…
12 >(callback) => () => { var _this = 2; return callback(_this); …
14 >() => { var _this = 2; return callback(_this); } : () => …
16 var _this = 2;
17 >_this : number
20 return callback(_this);
21 >callback(_this) : any
23 >_this : number
33 var _this = 2;
34 >_this : number
[all …]
DcollisionThisExpressionAndPropertyNameAsConstuctorParameter.js3 constructor(_this: number) { //Error
11 constructor(private _this: number) { // Error
19 constructor(_this: number); // No code gen - no error
20 constructor(_this: string); // No code gen - no error
21 constructor(_this: any) { // Error
29 constructor(_this: number); // No code gen - no error
30 constructor(_this: string); // No code gen - no error
31 constructor(private _this: any) { // Error
40 function Foo2(_this) { argument
49 function Foo3(_this) { argument
[all …]
DcollisionThisExpressionAndPropertyNameAsConstuctorParameter.types5 constructor(_this: number) { //Error
6 >_this : number
10 >() => { return x => this; // New scope. So should inject new _this capture } …
12 return x => this; // New scope. So should inject new _this capture
23 constructor(private _this: number) { // Error
24 >_this : number
28 >() => { return x => this; // New scope. So should inject new _this capture } …
30 return x => this; // New scope. So should inject new _this capture
41 constructor(_this: number); // No code gen - no error
42 >_this : number
[all …]
DnoCollisionThisExpressionAndLocalVarInAccessors.js6 var _this = 2; variable in class1
7 return callback(_this);
16 var _this = 2; variable
17 return callback(_this);
26 var _this = 2; field in class2
29 return callback(_this);
36 var _this = 2; variable
39 return callback(_this);
54 var _this = 2;
55 return callback(_this);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_udev.c38 #define _THIS SDL_UDEV_PrivateData *_this
49 *addr = SDL_LoadFunction(_this->udev_handle, fn); in SDL_UDEV_load_sym()
63 if (!SDL_UDEV_load_sym(#x, (void **) (char *) & _this->x)) return -1 in SDL_UDEV_load_syms()
99 if (_this->udev_mon != NULL) { in SDL_UDEV_hotplug_update_available()
100 const int fd = _this->udev_monitor_get_fd(_this->udev_mon); in SDL_UDEV_hotplug_update_available()
121 if (_this == NULL) { in SDL_UDEV_Init()
122 _this = (SDL_UDEV_PrivateData *) SDL_calloc(1, sizeof(*_this)); in SDL_UDEV_Init()
123 if(_this == NULL) { in SDL_UDEV_Init()
137 _this->udev = _this->udev_new(); in SDL_UDEV_Init()
138 if (_this->udev == NULL) { in SDL_UDEV_Init()
[all …]
/third_party/typescript/tests/cases/compiler/
DcollisionThisExpressionAndParameter.ts4 var _this = 10; // Local var. No this capture in x(), so no conflict.
5 function inner(_this: number) { // Error
10 var lamda = (_this: number) => { // Error
14 z(_this: number) { // Error
21 var _this = 10; // Local var. No this capture in x(), so no conflict.
22 function inner(_this: number) { // No Error
26 var lamda = (_this: number) => { // No Error
29 z1(_this: number) { // No Error
35 constructor(_this: number) { // Error
47 function f1(_this: number) {
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_opengl.c66 if (_this->gl_data) { in DirectFB_GL_Initialize()
70 _this->gl_data = in DirectFB_GL_Initialize()
74 if (!_this->gl_data) { in DirectFB_GL_Initialize()
77 _this->gl_data->initialized = 0; in DirectFB_GL_Initialize()
79 ++_this->gl_data->initialized; in DirectFB_GL_Initialize()
80 _this->gl_data->firstgl = NULL; in DirectFB_GL_Initialize()
82 if (DirectFB_GL_LoadLibrary(_this, NULL) < 0) { in DirectFB_GL_Initialize()
97 if (!_this->gl_data || (--_this->gl_data->initialized > 0)) { in DirectFB_GL_Shutdown()
101 DirectFB_GL_UnloadLibrary(_this); in DirectFB_GL_Shutdown()
103 SDL_free(_this->gl_data); in DirectFB_GL_Shutdown()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/audio/nacl/
DSDL_naclaudio.c49 SDL_AudioDevice* _this = (SDL_AudioDevice*) data; in nacl_audio_callback() local
53 if (SDL_AtomicGet(&_this->enabled) && !SDL_AtomicGet(&_this->paused)) { in nacl_audio_callback()
54 if (_this->convert.needed) { in nacl_audio_callback()
55 SDL_LockMutex(_this->mixer_lock); in nacl_audio_callback()
56 (*_this->spec.callback) (_this->spec.userdata, in nacl_audio_callback()
57 (Uint8 *) _this->convert.buf, in nacl_audio_callback()
58 _this->convert.len); in nacl_audio_callback()
59 SDL_UnlockMutex(_this->mixer_lock); in nacl_audio_callback()
60 SDL_ConvertAudio(&_this->convert); in nacl_audio_callback()
61 SDL_memcpy(samples, _this->convert.buf, _this->convert.len_cvt); in nacl_audio_callback()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtopengles.cpp58 SDL_VideoData *video_data = (SDL_VideoData *)_this->driverdata; in WINRT_GLES_LoadLibrary()
60 if (SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY) != 0) { in WINRT_GLES_LoadLibrary()
65 …eateWinrtEglWindow = (CreateWinrtEglWindow_Old_Function) SDL_LoadFunction(_this->egl_data->egl_dll… in WINRT_GLES_LoadLibrary()
88_this->egl_data->egl_display = ((eglGetDisplay_Old_Function)_this->egl_data->eglGetDisplay)(cpp_di… in WINRT_GLES_LoadLibrary()
89 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
93 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) { in WINRT_GLES_LoadLibrary()
133 …XT_Function eglGetPlatformDisplayEXT = (eglGetPlatformDisplayEXT_Function)_this->egl_data->eglGetP… in WINRT_GLES_LoadLibrary()
142_this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISP… in WINRT_GLES_LoadLibrary()
143 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
147 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) in WINRT_GLES_LoadLibrary()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspgl.c50 if (!_this->gl_config.driver_loaded) { in PSP_GL_LoadLibrary()
51 _this->gl_config.driver_loaded = 1; in PSP_GL_LoadLibrary()
72 eglTerminate(_this->gl_data->display); in PSP_GL_UnloadLibrary()
102 attribs[i++] = _this->gl_config.red_size; in PSP_GL_CreateContext()
104 attribs[i++] = _this->gl_config.green_size; in PSP_GL_CreateContext()
106 attribs[i++] = _this->gl_config.blue_size; in PSP_GL_CreateContext()
108 attribs[i++] = _this->gl_config.depth_size; in PSP_GL_CreateContext()
110 if (_this->gl_config.alpha_size) in PSP_GL_CreateContext()
113 attribs[i++] = _this->gl_config.alpha_size; in PSP_GL_CreateContext()
115 if (_this->gl_config.stencil_size) in PSP_GL_CreateContext()
[all …]

12345678910>>...25