HomeSort by relevance Sort by last modified time
    Searched refs:slot (Results 1 - 25 of 491) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/base/threading/
thread_local_win.cc 16 void ThreadLocalPlatform::AllocateSlot(SlotType& slot) {
17 slot = TlsAlloc();
18 CHECK_NE(slot, TLS_OUT_OF_INDEXES);
22 void ThreadLocalPlatform::FreeSlot(SlotType& slot) {
23 if (!TlsFree(slot)) {
24 NOTREACHED() << "Failed to deallocate tls slot with TlsFree().";
29 void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) {
30 return TlsGetValue(slot);
34 void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
35 if (!TlsSetValue(slot, value))
    [all...]
thread_local_posix.cc 16 void ThreadLocalPlatform::AllocateSlot(SlotType& slot) {
17 int error = pthread_key_create(&slot, NULL);
22 void ThreadLocalPlatform::FreeSlot(SlotType& slot) {
23 int error = pthread_key_delete(slot);
28 void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) {
29 return pthread_getspecific(slot);
33 void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
34 int error = pthread_setspecific(slot, 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
86 * Build emulated slots that correspond to emulated fields. A slot is a
118 ObjectSlot slot = findSlot(name, null); local
119 if (slot == null) {
122 return slot.defaulted;
132 * null}, no such compatibility checking is performed and the slot is
140 * corresponding slot is returned.
141 * @return the object slot, or {@code null} if there is no field with that
147 ObjectSlot slot = slotsToSerialize[i]; local
148 if (slot.field.getName().equals(fieldName))
174 ObjectSlot slot = new ObjectSlot(); local
186 ObjectSlot slot = findSlot(name, type); local
209 ObjectSlot slot = findMandatorySlot(name, byte.class); local
229 ObjectSlot slot = findMandatorySlot(name, char.class); local
249 ObjectSlot slot = findMandatorySlot(name, double.class); local
269 ObjectSlot slot = findMandatorySlot(name, float.class); local
289 ObjectSlot slot = findMandatorySlot(name, int.class); local
309 ObjectSlot slot = findMandatorySlot(name, long.class); local
329 ObjectSlot slot = findMandatorySlot(name, null); local
349 ObjectSlot slot = findMandatorySlot(name, short.class); local
369 ObjectSlot slot = findMandatorySlot(name, boolean.class); local
386 ObjectSlot slot = findMandatorySlot(name, byte.class); local
404 ObjectSlot slot = findMandatorySlot(name, char.class); local
422 ObjectSlot slot = findMandatorySlot(name, double.class); local
440 ObjectSlot slot = findMandatorySlot(name, float.class); local
458 ObjectSlot slot = findMandatorySlot(name, int.class); local
476 ObjectSlot slot = findMandatorySlot(name, long.class); local
498 ObjectSlot slot = findMandatorySlot(name, valueClass); local
516 ObjectSlot slot = findMandatorySlot(name, short.class); local
534 ObjectSlot slot = findMandatorySlot(name, boolean.class); local
    [all...]
  /external/freetype/include/freetype/
ftsynth.h 67 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); variable
71 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); variable
  /ndk/sources/host-tools/make-3.81/
hash.c 34 potentially hit every slot in the table during collision
80 /* Returns the address of the table slot matching `key'. If `key' is
81 not found, return the address of an empty slot suitable for
88 void **slot; local
97 slot = &ht->ht_vec[hash_1];
99 if (*slot == 0)
100 return (deleted_slot ? deleted_slot : slot);
101 if (*slot == hash_deleted_item)
104 deleted_slot = slot;
108 if (key == *slot)
123 void **slot = hash_find_slot (ht, key); local
130 void **slot = hash_find_slot (ht, item); local
160 void **slot = hash_find_slot (ht, item); local
226 void **slot; local
239 void **slot; local
270 void **slot = hash_find_slot (ht, *ovp); local
298 void **slot; local
    [all...]
  /external/webkit/Source/JavaScriptCore/heap/
Weak.h 38 using Handle<T>::slot;
52 HandleHeap::heapFor(slot())->makeWeak(slot(), weakOwner, context);
59 if (!other.slot())
61 setSlot(HandleHeap::heapFor(other.slot())->copyWeak(other.slot()));
67 if (!other.slot())
69 setSlot(HandleHeap::heapFor(other.slot())->copyWeak(other.slot()));
73 bool isHashTableDeletedValue() const { return slot() == hashTableDeletedValue();
    [all...]
Strong.h 40 using Handle<T>::slot;
66 if (!other.slot())
68 setSlot(HandleHeap::heapFor(other.slot())->allocate());
75 if (!other.slot())
77 setSlot(HandleHeap::heapFor(other.slot())->allocate());
82 bool isHashTableDeletedValue() const { return slot() == hashTableDeletedValue(); }
100 if (!slot())
107 if (!other.slot()) {
112 set(*HandleHeap::heapFor(other.slot())->globalData(), other.get());
118 if (!other.slot()) {
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
StructureTransitionTable.h 68 static void constructDeletedValue(TraitType& slot) { FirstTraits::constructDeletedValue(slot.first); }
119 HandleSlot slot() const function in class:JSC::StructureTransitionTable
129 if (HandleSlot slot = this->slot())
130 HandleHeap::heapFor(slot)->deallocate(slot);
141 if (HandleSlot slot = this->slot()) {
142 if (*slot)
158 HandleSlot slot = this->slot(); local
    [all...]
WeakGCMap.h 108 HandleSlot slot = iter.m_iterator->second; local
109 ASSERT(slot);
110 HandleHeap::heapFor(slot)->deallocate(slot);
128 HandleSlot slot = globalData.allocateGlobalHandle(); local
129 iter.first->second = slot;
130 HandleHeap::heapFor(slot)->makeWeak(slot, this, FinalizerCallback::finalizerContextFor(key));
131 HandleHeap::heapFor(slot)->writeBarrier(slot, value)
139 HandleSlot slot = iter.m_iterator->second; local
148 HandleSlot slot = iter.first->second; local
160 HandleSlot slot = m_map.take(key); local
181 HandleSlot slot = m_map.take(FinalizerCallback::keyForFinalizer(context, HandleTypes<MappedType>::getFromSlot(handle.slot()))); local
    [all...]
  /frameworks/rs/
rsScript.cpp 43 void Script::setSlot(uint32_t slot, Allocation *a) {
44 //ALOGE("setSlot %i %p", slot, a);
45 if (slot >= mHal.info.exportedVariableCount) {
46 ALOGE("Script::setSlot unable to set allocation, invalid slot index");
50 mSlots[slot].set(a);
52 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr());
54 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, NULL);
58 void Script::setVar(uint32_t slot, const void *val, size_t len) {
59 //ALOGE("setVar %i %p %i", slot, val, len);
60 if (slot >= mHal.info.exportedVariableCount)
    [all...]
rsProgram.cpp 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
141 if (slot >= mHal.state.constantsCount) {
142 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u",
143 slot, (uint32_t)this, mHal.state.constantsCount);
147 if (alloc->getType() != mConstantTypes[slot].get()) {
148 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch",
149 slot, (uint32_t)this);
154 if (mConstants[slot].get() == alloc) {
157 if (mConstants[slot].get()) {
158 mConstants[slot]->removeProgramToDirty(this)
    [all...]
  /external/chromium/net/base/
keygen_handler_nss.cc 23 // TODO(mattm): allow choosing which slot to generate and store the key.
24 crypto::ScopedPK11Slot slot(crypto::GetPrivateNSSKeySlot());
25 if (!slot.get()) {
26 LOG(ERROR) << "Couldn't get private key slot from NSS!";
31 if (SECSuccess != PK11_Authenticate(slot.get(), PR_TRUE,
33 LOG(ERROR) << "Couldn't authenticate to private key slot!";
38 slot.get(), stores_key_);
  /external/webkit/Source/JavaScriptCore/wtf/text/
AtomicStringHash.h 54 static void constructDeletedValue(WTF::AtomicString& slot) { new (&slot) WTF::AtomicString(HashTableDeletedValue); }
55 static bool isDeletedValue(const WTF::AtomicString& slot) { return slot.isHashTableDeletedValue(); }
  /external/webkit/Source/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, this, 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, this, 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, this, slot);
  /external/dbus/dbus/
dbus-dataslot.c 40 * Initializes a data slot allocator object, used to assign
60 * the existing slot ID. If the value is -1, a new slot ID
65 * @param slot_id_p address to fill with the slot ID
73 dbus_int32_t slot; local
90 slot = *slot_id_p;
92 _dbus_assert (slot < allocator->n_allocated_slots);
93 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot);
95 allocator->allocated_slots[slot].refcount += 1
    [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 74 private int slot; field in class:Field
98 this(orig.declaringClass, orig.type, orig.name, orig.slot);
106 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) {
110 this.slot = slot;
130 Object[] annotation = getSignatureAnnotation(declaringClass, slot);
142 native private Object[] getSignatureAnnotation(Class declaringClass, int slot);
150 int flags = getFieldModifiers(declaringClass, slot);
182 int flags = getFieldModifiers(declaringClass, slot);
204 return getDeclaredAnnotations(declaringClass, slot);
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestIDList.java 83 static void enable(int slot){
84 System.out.println("Enabled SLOT["+slot+"]");
85 if (enabledSlots[slot] == true){
88 enabledSlots[slot] = true;
91 static void disable(int slot){
92 System.out.println("Disabled SLOT["+slot+"]");
93 if (enabledSlots[slot] == false){
96 enabledSlots[slot] = false
135 int slot = list.oldList[i]; local
    [all...]
  /external/skia/src/utils/
SkJSON.cpp 53 struct SkJSON::Object::Slot {
54 Slot(const char name[], Type type) {
55 LEAK_CODE(SkDebugf(" slot[%d]\n", gSlotCount++);)
70 ~Slot();
75 Slot* fNext;
87 SkJSON::Object::Slot::~Slot() {
102 LEAK_CODE(SkASSERT(gSlotCount > 0); SkDebugf("~slot[%d]\n", --gSlotCount);)
200 Slot* slot = fHead local
272 const Slot* slot = this->findSlot(name, kObject); local
283 const Slot* slot = this->findSlot(name, kArray); local
294 const Slot* slot = this->findSlot(name, kString); local
305 const Slot* slot = this->findSlot(name, kInt); local
316 const Slot* slot = this->findSlot(name, kFloat); local
327 const Slot* slot = this->findSlot(name, kBool); local
340 Slot* slot = fHead; local
    [all...]
  /frameworks/av/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...]
  /frameworks/base/graphics/java/android/renderscript/
Program.java 93 * @param slot index of the constant input type to return
96 public Type getConstant(int slot) {
97 if (slot < 0 || slot >= mConstants.length) {
98 throw new IllegalArgumentException("Slot ID out of range.");
100 return mConstants[slot];
112 * Returns the type of texture at a given slot. e.g. 2D or Cube
113 * @param slot index of the texture input
116 public TextureType getTextureType(int slot) {
117 if ((slot < 0) || (slot >= mTextureCount))
153 mRS.nProgramBindConstants(getID(mRS), slot, id); local
175 mRS.nProgramBindTexture(getID(mRS), slot, id); local
195 mRS.nProgramBindSampler(getID(mRS), slot, id); local
    [all...]
  /dalvik/vm/native/
java_lang_reflect_Method.cpp 25 * static int getMethodModifiers(Class decl_class, int slot)
34 int slot = args[1]; local
37 meth = dvmSlotToMethod(declaringClass, slot);
43 * Class[] parameterTypes, Class returnType, int slot, boolean noAccessCheck)
56 int slot = args[6]; local
65 meth = dvmSlotToMethod(declaringClass, slot);
116 * static Annotation[] getDeclaredAnnotations(Class declaringClass, int slot)
124 int slot = args[1]; local
127 meth = dvmSlotToMethod(declaringClass, slot);
137 * Class declaringClass, int slot, Class annotationType)
143 int slot = args[1]; local
158 int slot = args[1]; local
174 int slot = args[1]; local
196 int slot = args[2]; local
220 int slot = args[1]; local
    [all...]

Completed in 505 milliseconds

1 2 3 4 5 6 7 8 91011>>