Home
last modified time | relevance | path

Searched refs:baseContext (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/common/
Duenum.c34 if (en->baseContext != NULL) { in _getBuffer()
35 if (((_UEnumBuffer*) en->baseContext)->len < capacity) { in _getBuffer()
37 en->baseContext = uprv_realloc(en->baseContext, in _getBuffer()
39 if (en->baseContext == NULL) { in _getBuffer()
42 ((_UEnumBuffer*) en->baseContext)->len = capacity; in _getBuffer()
46 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity); in _getBuffer()
47 if (en->baseContext == NULL) { in _getBuffer()
50 ((_UEnumBuffer*) en->baseContext)->len = capacity; in _getBuffer()
53 return (void*) & ((_UEnumBuffer*) en->baseContext)->data; in _getBuffer()
61 if (en->baseContext) { in uenum_close()
[all …]
Duenumimp.h108 void *baseContext; member
/external/chromium_org/third_party/icu/source/common/
Duenum.c34 if (en->baseContext != NULL) { in _getBuffer()
35 if (((_UEnumBuffer*) en->baseContext)->len < capacity) { in _getBuffer()
37 en->baseContext = uprv_realloc(en->baseContext, in _getBuffer()
39 if (en->baseContext == NULL) { in _getBuffer()
42 ((_UEnumBuffer*) en->baseContext)->len = capacity; in _getBuffer()
46 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity); in _getBuffer()
47 if (en->baseContext == NULL) { in _getBuffer()
50 ((_UEnumBuffer*) en->baseContext)->len = capacity; in _getBuffer()
53 return (void*) & ((_UEnumBuffer*) en->baseContext)->data; in _getBuffer()
61 if (en->baseContext) { in uenum_close()
[all …]
Duenumimp.h108 void *baseContext; member
/external/chromium_org/third_party/skia/experimental/SkV8Example/
DBaseContext.cpp205 BaseContext* baseContext = Unwrap(info.This()); in GetFillStyle() local
206 GetStyle(name, info, baseContext->fFillStyle); in GetFillStyle()
211 BaseContext* baseContext = Unwrap(info.This()); in GetStrokeStyle() local
212 GetStyle(name, info, baseContext->fStrokeStyle); in GetStrokeStyle()
217 BaseContext* baseContext = Unwrap(info.This()); in SetFillStyle() local
218 SetStyle(name, value, info, baseContext->fFillStyle); in SetFillStyle()
223 BaseContext* baseContext = Unwrap(info.This()); in SetStrokeStyle() local
224 SetStyle(name, value, info, baseContext->fStrokeStyle); in SetStrokeStyle()
230 BaseContext* baseContext = Unwrap(info.This()); in GetWidth() local
231 SkCanvas* canvas = baseContext->getCanvas(); in GetWidth()
[all …]
/external/skia/experimental/SkV8Example/
DBaseContext.cpp205 BaseContext* baseContext = Unwrap(info.This()); in GetFillStyle() local
206 GetStyle(name, info, baseContext->fFillStyle); in GetFillStyle()
211 BaseContext* baseContext = Unwrap(info.This()); in GetStrokeStyle() local
212 GetStyle(name, info, baseContext->fStrokeStyle); in GetStrokeStyle()
217 BaseContext* baseContext = Unwrap(info.This()); in SetFillStyle() local
218 SetStyle(name, value, info, baseContext->fFillStyle); in SetFillStyle()
223 BaseContext* baseContext = Unwrap(info.This()); in SetStrokeStyle() local
224 SetStyle(name, value, info, baseContext->fStrokeStyle); in SetStrokeStyle()
230 BaseContext* baseContext = Unwrap(info.This()); in GetWidth() local
231 SkCanvas* canvas = baseContext->getCanvas(); in GetWidth()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContextWrapper.java34 protected Context baseContext; field in ShadowContextWrapper
42 public void __constructor__(Context baseContext) { in __constructor__() argument
43 this.baseContext = baseContext; in __constructor__()
48 return baseContext.getApplicationContext(); in getApplicationContext()
236 return baseContext; in getBaseContext()
241 baseContext = context; in attachBaseContext()
DShadowContextThemeWrapper.java10 public void __constructor__(Context baseContext, int themesres) { in __constructor__() argument
11 super.__constructor__(baseContext); in __constructor__()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextWrapperTest.java166 Activity baseContext = new Activity(); in shouldReturnAContext() local
167 shContextWrapper.attachBaseContext(baseContext); in shouldReturnAContext()
168 assertThat(contextWrapper.getBaseContext(), sameInstance((Context) baseContext)); in shouldReturnAContext()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DBidiResolver.h471 BidiContext* baseContext = context(); in applyL1Rule() local
472 while (BidiContext* parent = baseContext->parent()) in applyL1Rule()
473 baseContext = parent; in applyL1Rule()
475 …ilingRun(runs, firstSpace, trailingSpaceRun->m_stop, trailingSpaceRun, baseContext, m_paragraphDir… in applyL1Rule()