Home
last modified time | relevance | path

Searched refs:wdata (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c202 SDL_WindowData *wdata; in PND_createwindow() local
205 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PND_createwindow()
206 if (wdata == NULL) { in PND_createwindow()
211 window->driverdata = wdata; in PND_createwindow()
219 wdata->uses_gles = SDL_TRUE; in PND_createwindow()
401 SDL_WindowData *wdata = (SDL_WindowData *) window->driverdata; in PND_gl_createcontext() local
416 wdata->gles_attributes[attr_pos++] = EGL_SURFACE_TYPE; in PND_gl_createcontext()
417 wdata->gles_attributes[attr_pos++] = EGL_WINDOW_BIT; in PND_gl_createcontext()
418 wdata->gles_attributes[attr_pos++] = EGL_RED_SIZE; in PND_gl_createcontext()
419 wdata->gles_attributes[attr_pos++] = _this->gl_config.red_size; in PND_gl_createcontext()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenvideo.c189 SDL_WindowData *wdata; in Emscripten_CreateWindow() local
194 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in Emscripten_CreateWindow()
195 if (wdata == NULL) { in Emscripten_CreateWindow()
200 wdata->pixel_ratio = emscripten_get_device_pixel_ratio(); in Emscripten_CreateWindow()
202 wdata->pixel_ratio = 1.0f; in Emscripten_CreateWindow()
205 scaled_w = SDL_floor(window->w * wdata->pixel_ratio); in Emscripten_CreateWindow()
206 scaled_h = SDL_floor(window->h * wdata->pixel_ratio); in Emscripten_CreateWindow()
212 wdata->external_size = SDL_floor(css_w) != scaled_w || SDL_floor(css_h) != scaled_h; in Emscripten_CreateWindow()
214 if ((window->flags & SDL_WINDOW_RESIZABLE) && wdata->external_size) { in Emscripten_CreateWindow()
216 scaled_w = css_w * wdata->pixel_ratio; in Emscripten_CreateWindow()
[all …]
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c727 struct JNPUT_DATA *wdata = work->data; in jn_put_execute() local
728 if (!wdata->patch) { in jn_put_execute()
729 work->rc = jbl_from_json(&jbl, wdata->json); in jn_put_execute()
732 if (wdata->id > 0) { in jn_put_execute()
733 if (wdata->patch) { in jn_put_execute()
734 work->rc = ejdb_patch(jbn->db, wdata->coll, wdata->json, wdata->id); in jn_put_execute()
736 work->rc = ejdb_put(jbn->db, wdata->coll, jbl, wdata->id); in jn_put_execute()
739 work->rc = ejdb_put_new(jbn->db, wdata->coll, jbl, &wdata->id); in jn_put_execute()
753 struct JNPUT_DATA *wdata = work->data; in jn_put_complete() local
754 ns = napi_create_int64(env, wdata->id, &rv); in jn_put_complete()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/
DSDL_rpivideo.c218 SDL_WindowData *wdata; in RPI_CreateWindow() local
234 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in RPI_CreateWindow()
235 if (wdata == NULL) { in RPI_CreateWindow()
265 wdata->dispman_window.element = vc_dispmanx_element_add (dispman_update, in RPI_CreateWindow()
275 wdata->dispman_window.width = window->w; in RPI_CreateWindow()
276 wdata->dispman_window.height = window->h; in RPI_CreateWindow()
284 wdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) &wdata->dispman_window); in RPI_CreateWindow()
286 if (wdata->egl_surface == EGL_NO_SURFACE) { in RPI_CreateWindow()
291 window->driverdata = wdata; in RPI_CreateWindow()
/third_party/boost/libs/date_time/test/
Dtestfrom_facet.cpp32 std::vector<std::wstring> wdata; in main() local
43 wdata = gather_month_strings<wchar_t>(std::locale::classic()); in main()
46 while (i < wdata.size()) { in main()
47 wof << wdata[i] << std::endl; in main()
/third_party/libsnd/tests/
Dlocale_test.c133 const short wdata [] = { 1, 2, 3, 4, 5, 6, 7, 8 } ; in locale_test()
134 short rdata [ARRAY_LEN (wdata)] ; in locale_test()
154 test_write_short_or_die (file, 0, wdata, ARRAY_LEN (wdata), __LINE__) ; in locale_test()
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspvideo.c219 SDL_WindowData *wdata; in PSP_CreateWindow() local
222 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PSP_CreateWindow()
223 if (wdata == NULL) { in PSP_CreateWindow()
228 window->driverdata = wdata; in PSP_CreateWindow()
DSDL_pspgl.c82 SDL_WindowData *wdata = (SDL_WindowData *) window->driverdata; in PSP_GL_CreateContext() local
96 wdata->uses_gles = SDL_TRUE; in PSP_GL_CreateContext()
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c1134 char *data, *wdata = NULL; in _multibytecodec_MultibyteIncrementalDecoder_decode_impl() local
1147 wdata = data; in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1155 wdata = PyMem_Malloc(wsize); in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1156 if (wdata == NULL) { in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1160 memcpy(wdata, self->pending, self->pendingsize); in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1161 memcpy(wdata + self->pendingsize, data, size); in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1165 if (decoder_prepare_buffer(&buf, wdata, wsize) != 0) in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1175 memcpy(self->pending, wdata, origpending); in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1190 if (wdata != data) in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
1191 PyMem_Free(wdata); in _multibytecodec_MultibyteIncrementalDecoder_decode_impl()
[all …]
/third_party/libusb/libusb/
Ddescriptor.c1090 uint16_t langid, wdata; in libusb_get_string_descriptor_ascii() local
1130 wdata = libusb_le16_to_cpu(str.desc.wData[di]); in libusb_get_string_descriptor_ascii()
1131 if (wdata < 0x80) in libusb_get_string_descriptor_ascii()
1132 data[di++] = (unsigned char)wdata; in libusb_get_string_descriptor_ascii()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc396 WritableFontDataPtr wdata; in NewInstance() local
398 wdata.Attach(down_cast<WritableFontData*>( in NewInstance()
402 return new Builder(wdata, CMapFormat::kFormat0, cmap_id); in NewInstance()
931 WritableFontDataPtr wdata; in NewInstance() local
933 wdata.Attach in NewInstance()
938 return new Builder(wdata, CMapFormat::kFormat4, cmap_id); in NewInstance()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc396 WritableFontDataPtr wdata; in NewInstance() local
398 wdata.Attach(down_cast<WritableFontData*>( in NewInstance()
402 return new Builder(wdata, CMapFormat::kFormat0, cmap_id); in NewInstance()
931 WritableFontDataPtr wdata; in NewInstance() local
933 wdata.Attach in NewInstance()
938 return new Builder(wdata, CMapFormat::kFormat4, cmap_id); in NewInstance()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java4852 public Calendar setWeekData(WeekData wdata) { in setWeekData() argument
4853 setFirstDayOfWeek(wdata.firstDayOfWeek); in setWeekData()
4854 setMinimalDaysInFirstWeek(wdata.minimalDaysInFirstWeek); in setWeekData()
4856 weekendOnset = wdata.weekendOnset; in setWeekData()
4857 weekendOnsetMillis = wdata.weekendOnsetMillis; in setWeekData()
4858 weekendCease = wdata.weekendCease; in setWeekData()
4859 weekendCeaseMillis = wdata.weekendCeaseMillis; in setWeekData()
4913 WeekData wdata = WEEK_DATA_CACHE.getInstance(region, region); in setWeekData() local
4914 setWeekData(wdata); in setWeekData()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java4654 public Calendar setWeekData(WeekData wdata) { in setWeekData() argument
4655 setFirstDayOfWeek(wdata.firstDayOfWeek); in setWeekData()
4656 setMinimalDaysInFirstWeek(wdata.minimalDaysInFirstWeek); in setWeekData()
4658 weekendOnset = wdata.weekendOnset; in setWeekData()
4659 weekendOnsetMillis = wdata.weekendOnsetMillis; in setWeekData()
4660 weekendCease = wdata.weekendCease; in setWeekData()
4661 weekendCeaseMillis = wdata.weekendCeaseMillis; in setWeekData()
4715 WeekData wdata = WEEK_DATA_CACHE.getInstance(region, region); in setWeekData() local
4716 setWeekData(wdata); in setWeekData()