Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/jansson/
A Djansson.h52 size_t refcount; member
100 if(json && json->refcount != (size_t)-1) in json_incref()
101 ++json->refcount; in json_incref()
111 if(json && json->refcount != (size_t)-1 && --json->refcount == 0) in json_decref()
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi_win32.c101 SDL_atomic_t refcount; member
122 return (ULONG) (SDL_AtomicIncRef(&this->refcount) + 1); in SDLMMNotificationClient_AddRef()
130 const ULONG retval = SDL_AtomicDecRef(&this->refcount); in SDLMMNotificationClient_Release()
132 SDL_AtomicSet(&this->refcount, 0); /* uhh... */ in SDLMMNotificationClient_Release()
A DSDL_wasapi.h41 SDL_atomic_t refcount; member
A DSDL_wasapi.c472 SDL_AtomicIncRef(&this->hidden->refcount); in WASAPI_RefDevice()
478 if (!SDL_AtomicDecRef(&this->hidden->refcount)) { in WASAPI_UnrefDevice()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_pixels.c512 ++format->refcount; in SDL_AllocFormat()
602 format->refcount = 1; in SDL_InitFormat()
620 if (--format->refcount > 0) { in SDL_FreeFormat()
669 palette->refcount = 1; in SDL_AllocPalette()
698 ++format->palette->refcount; in SDL_SetPixelFormatPalette()
738 if (--palette->refcount > 0) { in SDL_FreePalette()
1034 if (--map->dst->refcount <= 0) { in SDL_InvalidateMap()
1114 ++map->dst->refcount; in SDL_MapSurface()
A DSDL_surface.c147 surface->refcount = 1; in SDL_CreateRGBSurfaceWithFormat()
1246 surface->refcount = 1; in SDL_CreateSurfaceOnStack()
1331 if (--surface->refcount > 0) { in SDL_FreeSurface()
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h318 int refcount; member
343 int refcount; member
A DSDL_surface.h92 int refcount; /**< Read-mostly */ member
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_rawinputjoystick.c98 SDL_atomic_t refcount; member
229 SDL_AtomicIncRef(&device->refcount); in RAWINPUT_AcquireDevice()
236 if (SDL_AtomicDecRef(&device->refcount)) { in RAWINPUT_ReleaseDevice()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsvideo.h96 int refcount; member
A DSDL_windowskeyboard.c1031 return ++sink->refcount; in TSFSink_AddRef()
1036 --sink->refcount; in TSFSink_Release()
1037 if (sink->refcount == 0) { in TSFSink_Release()
1041 return sink->refcount; in TSFSink_Release()
1239 videodata->ime_uielemsink->refcount = 1; in UILess_SetupSinks()
1243 videodata->ime_ippasink->refcount = 1; in UILess_SetupSinks()
/AliOS-Things-master/components/freetype/include/internal/
A Dftobjs.h366 FT_Int refcount; member
886 FT_Int refcount; member
/AliOS-Things-master/components/freetype/src/base/
A Dftobjs.c2269 internal->refcount = 1; in FT_Open_Face()
2363 face->internal->refcount++; in FT_Reference_Face()
2383 face->internal->refcount--; in FT_Done_Face()
2384 if ( face->internal->refcount > 0 ) in FT_Done_Face()
4607 library->refcount++; in FT_Reference_Library()
4655 library->refcount = 1; in FT_New_Library()
4713 library->refcount--; in FT_Done_Library()
4714 if ( library->refcount > 0 ) in FT_Done_Library()
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c11651 #define DUK__STRINIT(heaphdr_flags,refcount,hash32,hash16,blen,clen,next) \ argument
11652 …{ { (heaphdr_flags) | ((hash16) << 16), DUK__REFCINIT((refcount)), (blen), (duk_hstring *) DUK_LOS…
11654 #define DUK__STRINIT(heaphdr_flags,refcount,hash32,hash16,blen,clen,next) \ argument
11655 …{ { (heaphdr_flags) | ((hash16) << 16), DUK__REFCINIT((refcount)), (blen), (duk_hstring *) DUK_LOS…
11658 #define DUK__STRINIT(heaphdr_flags,refcount,hash32,hash16,blen,clen,next) \ argument
11659 …{ { (heaphdr_flags), DUK__REFCINIT((refcount)), (duk_hstring *) DUK_LOSE_CONST((next)) }, (hash32)…
12523 #define DUK__ROMOBJ_INIT(heaphdr_flags,refcount,props,props_enc16,iproto,iproto_enc16,esize,enext,a… argument
12524 …{ { { (heaphdr_flags), DUK__REFCINIT((refcount)), 0, 0, (props_enc16) }, (iproto_enc16), (esize), …
12525 #define DUK__ROMARR_INIT(heaphdr_flags,refcount,props,props_enc16,iproto,iproto_enc16,esize,enext,a… argument
12532 #define DUK__ROMOBJ_INIT(heaphdr_flags,refcount,props,props_enc16,iproto,iproto_enc16,esize,enext,a… argument
[all …]

Completed in 280 milliseconds