/external/chromium/base/ |
thread_local_win.cc | 14 void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { 15 slot = TlsAlloc(); 16 CHECK(slot != TLS_OUT_OF_INDEXES); 20 void ThreadLocalPlatform::FreeSlot(SlotType& slot) { 21 if (!TlsFree(slot)) { 22 NOTREACHED() << "Failed to deallocate tls slot with TlsFree()."; 27 void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) { 28 return TlsGetValue(slot); 32 void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) { 33 if (!TlsSetValue(slot, value)) [all...] |
thread_local_posix.cc | 14 void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { 15 int error = pthread_key_create(&slot, NULL); 20 void ThreadLocalPlatform::FreeSlot(SlotType& slot) { 21 int error = pthread_key_delete(slot); 26 void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) { 27 return pthread_getspecific(slot); 31 void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) { 32 int error = pthread_setspecific(slot, value);
|
thread_local.h | 10 // mechanism. On construction, they will allocate a TLS slot, and free the 11 // TLS slot on destruction. No memory management (creation or destruction) is 67 static void AllocateSlot(SlotType& slot); 68 static void FreeSlot(SlotType& slot); 69 static void* GetValueFromSlot(SlotType& slot); 70 static void SetValueInSlot(SlotType& slot, void* value);
|
/external/freetype/src/base/ |
ftsynth.c | 47 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) 50 FT_Outline* outline = &slot->outline; 54 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) 84 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) 86 FT_Library library = slot->library; 87 FT_Face face = slot->face; 92 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && 93 slot->format != FT_GLYPH_FORMAT_BITMAP ) 101 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) 104 (void)FT_Outline_Embolden( &slot->outline, xstr ) [all...] |
/libcore/luni/src/main/java/java/io/ |
EmulatedFields.java | 32 // A slot is a field plus its value 88 * Build emulated slots that correspond to emulated fields. A slot is a 120 ObjectSlot slot = findSlot(name, null); local 121 if (slot == null) { 124 return slot.defaulted; 134 * null}, no such compatibility checking is performed and the slot is 142 * corresponding slot is returned. 143 * @return the object slot, or {@code null} if there is no field with that 150 ObjectSlot slot = slotsToSerialize[i]; local 151 if (slot.field.getName().equals(fieldName)) 179 ObjectSlot slot = new ObjectSlot(); local 207 ObjectSlot slot = findSlot(name, Byte.TYPE); local 233 ObjectSlot slot = findSlot(name, Character.TYPE); local 259 ObjectSlot slot = findSlot(name, Double.TYPE); local 285 ObjectSlot slot = findSlot(name, Float.TYPE); local 311 ObjectSlot slot = findSlot(name, Integer.TYPE); local 337 ObjectSlot slot = findSlot(name, Long.TYPE); local 363 ObjectSlot slot = findSlot(name, null); local 388 ObjectSlot slot = findSlot(name, Short.TYPE); local 414 ObjectSlot slot = findSlot(name, Boolean.TYPE); local 436 ObjectSlot slot = findSlot(name, Byte.TYPE); local 457 ObjectSlot slot = findSlot(name, Character.TYPE); local 478 ObjectSlot slot = findSlot(name, Double.TYPE); local 499 ObjectSlot slot = findSlot(name, Float.TYPE); local 520 ObjectSlot slot = findSlot(name, Integer.TYPE); local 541 ObjectSlot slot = findSlot(name, Long.TYPE); local 566 ObjectSlot slot = findSlot(name, valueClass); local 587 ObjectSlot slot = findSlot(name, Short.TYPE); local 608 ObjectSlot slot = findSlot(name, Boolean.TYPE); local [all...] |
/external/webkit/JavaScriptCore/runtime/ |
PropertySlot.cpp | 29 JSValue PropertySlot::functionGetter(ExecState* exec, const Identifier&, const PropertySlot& slot) 36 CallType callType = slot.m_data.getterFunc->getCallData(callData); 38 return callData.native.function(exec, slot.m_data.getterFunc, slot.slotBase(), exec->emptyList()); 41 return asFunction(slot.m_data.getterFunc)->call(exec, slot.slotBase(), exec->emptyList());
|
/external/freetype/include/freetype/ |
ftsynth.h | 67 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); variable 71 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); variable
|
/external/webkit/WebCore/bindings/js/ |
JSHTMLAppletElementCustom.cpp | 36 bool JSHTMLAppletElement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); 46 bool JSHTMLAppletElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); 61 JSValue JSHTMLAppletElement::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) 63 return runtimeObjectGetter(exec, propertyName, slot);
|
JSHTMLEmbedElementCustom.cpp | 36 bool JSHTMLEmbedElement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); 46 bool JSHTMLEmbedElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); 61 JSValue JSHTMLEmbedElement::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) 63 return runtimeObjectGetter(exec, propertyName, slot);
|
JSHTMLObjectElementCustom.cpp | 36 bool JSHTMLObjectElement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); 46 bool JSHTMLObjectElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); 61 JSValue JSHTMLObjectElement::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) 63 return runtimeObjectGetter(exec, propertyName, slot);
|
JSDataGridColumnListCustom.cpp | 46 JSValue JSDataGridColumnList::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) 48 JSDataGridColumnList* thisObj = static_cast<JSDataGridColumnList*>(asObject(slot.slotBase()));
|
/external/webkit/WebCore/platform/ |
KURLHash.h | 55 static void constructDeletedValue(WebCore::KURL& slot) { new (&slot) WebCore::KURL(WebCore::ParsedURLString, WebCore::String(HashTableDeletedValue)); } 56 static bool isDeletedValue(const WebCore::KURL& slot) { return slot.string().isHashTableDeletedValue(); }
|
/external/webkit/WebCore/platform/text/ |
AtomicStringHash.h | 58 static void constructDeletedValue(WebCore::AtomicString& slot) { new (&slot) WebCore::AtomicString(HashTableDeletedValue); } 59 static bool isDeletedValue(const WebCore::AtomicString& slot) { return slot.isHashTableDeletedValue(); }
|
/external/dbus/dbus/ |
dbus-dataslot.c | 38 * Initializes a data slot allocator object, used to assign 58 * the existing slot ID. If the value is -1, a new slot ID 63 * @param slot_id_p address to fill with the slot ID 71 dbus_int32_t slot; local 88 slot = *slot_id_p; 90 _dbus_assert (slot < allocator->n_allocated_slots); 91 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); 93 allocator->allocated_slots[slot].refcount += 1 [all...] |
/external/chromium/net/base/ |
cert_database_nss.cc | 27 PK11SlotInfo* slot = NULL; local 51 slot = PK11_KeyForCertExists(cert, NULL, NULL); 52 if (!slot) { 57 PK11_FreeSlot(slot); 58 slot = NULL; 81 slot = PK11_ImportCertForKey(cert, 84 if (slot) { 85 PK11_FreeSlot(slot);
|
/external/webkit/WebCore/bridge/ |
runtime_array.cpp | 48 JSValue RuntimeArray::lengthGetter(ExecState* exec, const Identifier&, const PropertySlot& slot) 50 RuntimeArray* thisObj = static_cast<RuntimeArray*>(asObject(slot.slotBase())); 54 JSValue RuntimeArray::indexGetter(ExecState* exec, const Identifier&, const PropertySlot& slot) 56 RuntimeArray* thisObj = static_cast<RuntimeArray*>(asObject(slot.slotBase())); 57 return thisObj->getConcreteArray()->valueAt(exec, slot.index()); 72 bool RuntimeArray::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 75 slot.setCustom(this, lengthGetter); 83 slot.setCustomIndex(this, index, indexGetter); 88 return JSObject::getOwnPropertySlot(exec, propertyName, slot); 94 PropertySlot slot; local 104 PropertySlot slot; local [all...] |
/external/libffi/src/pa/ |
ffi.c | 145 unsigned int slot = FIRST_ARG_SLOT; local 162 *(SINT32 *)(stack - slot) = *(SINT8 *)(*p_argv); 166 *(UINT32 *)(stack - slot) = *(UINT8 *)(*p_argv); 170 *(SINT32 *)(stack - slot) = *(SINT16 *)(*p_argv); 174 *(UINT32 *)(stack - slot) = *(UINT16 *)(*p_argv); 180 debug(3, "Storing UINT32 %u in slot %u\n", *(UINT32 *)(*p_argv), 181 slot); 182 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); 187 /* Align slot for 64-bit type. */ 188 slot += (slot & 1) ? 1 : 2 426 unsigned int slot = FIRST_ARG_SLOT; local [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
Field.java | 57 private int slot; field in class:Field 81 this(orig.declaringClass, orig.type, orig.name, orig.slot); 89 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { 93 this.slot = slot; 113 Object[] annotation = getSignatureAnnotation(declaringClass, slot); 125 native private Object[] getSignatureAnnotation(Class declaringClass, int slot); 133 int flags = getFieldModifiers(declaringClass, slot); 165 int flags = getFieldModifiers(declaringClass, slot); 188 return getDeclaredAnnotations(declaringClass, slot); [all...] |
/frameworks/base/libs/rs/ |
rsScript.cpp | 44 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) 47 s->mSlots[slot].set(static_cast<Allocation *>(va)); 77 void rsi_ScriptSetType(Context * rsc, RsType vt, uint32_t slot, bool writable, const char *name) 81 ss->mConstantBufferTypes[slot].set(t); 82 ss->mSlotWritable[slot] = writable; 84 ss->mSlotNames[slot].setTo(name); 86 ss->mSlotNames[slot].setTo(""); 90 void rsi_ScriptSetInvoke(Context *rsc, const char *name, uint32_t slot) 93 ss->mInvokableNames[slot] = name; 96 void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_imdct_synth.cpp | 319 for (int32 slot = 1; slot < FILTERBANK_BANDS; slot += 6) 321 int32 temp1 = out[slot ]; 322 int32 temp2 = out[slot+2]; 323 int32 temp3 = out[slot+4]; 324 out[slot ] = -temp1; 325 out[slot+2] = -temp2; 326 out[slot+4] = -temp3; 336 int32 slot; local [all...] |
/bionic/libc/kernel/common/linux/ |
efs_dir.h | 40 #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
|
pci.h | 19 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
|
/development/ndk/platforms/android-3/include/linux/ |
efs_dir.h | 40 #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
|
pci.h | 19 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
|
/external/kernel-headers/original/linux/ |
efs_dir.h | 37 #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
|