/external/mesa3d/src/mapi/ |
entry.h | 38 entry_get_public(int slot); 41 entry_generate(int slot); 44 entry_patch(mapi_func entry, int slot);
|
entry_x86_tsd.h | 46 #define STUB_ASM_CODE(slot) \ 50 "jmp *(4 * " slot ")(%eax)\n" \ 53 "jmp *(4 * " slot ")(%eax)" 75 entry_get_public(int slot) 77 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); 81 entry_patch(mapi_func entry, int slot) 85 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func); 86 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func); 90 entry_generate(int slot) 102 entry_patch(entry, slot); [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposerBufferCache.cpp | 28 void HWComposerBufferCache::getHwcBuffer(int slot, 32 if (slot == BufferQueue::INVALID_BUFFER_SLOT || slot < 0) { 33 // default to slot 0 34 slot = 0; 37 if (static_cast<size_t>(slot) >= mBuffers.size()) { 38 mBuffers.resize(slot + 1); 41 *outSlot = slot; 43 if (mBuffers[slot] == buffer) { 50 mBuffers[slot] = buffer [all...] |
/external/freetype/src/base/ |
ftsynth.c | 48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) 54 if ( !slot ) 57 outline = &slot->outline; 60 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) 90 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) 98 if ( !slot ) 101 library = slot->library; 102 face = slot->face; 104 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && 105 slot->format != FT_GLYPH_FORMAT_BITMAP [all...] |
/system/update_engine/common/ |
boot_control_interface.h | 34 using Slot = unsigned int; 36 static const Slot kInvalidSlot = UINT_MAX; 42 // images running from other media can have only one slot, like some USB 43 // image. Systems with only one slot won't be able to update. 46 // Return the slot where we are running the system from. On success, the 49 virtual Slot GetCurrentSlot() const = 0; 51 // Determines the block device for the given partition name and slot number. 52 // The |slot| number must be between 0 and GetNumSlots() - 1 and the 54 // every slot. On success, returns true and stores the block device in 57 Slot slot [all...] |
fake_boot_control.h | 35 // The current slot should be bootable. 41 BootControlInterface::Slot GetCurrentSlot() const override { 46 BootControlInterface::Slot slot, 48 if (slot >= num_slots_) 50 auto part_it = devices_[slot].find(partition_name); 51 if (part_it == devices_[slot].end()) 57 bool IsSlotBootable(BootControlInterface::Slot slot) const override { 58 return slot < num_slots_ && is_bootable_[slot] [all...] |
/external/mesa3d/src/gallium/auxiliary/nir/ |
tgsi_to_nir.h | 30 varying_slot_to_tgsi_semantic(gl_varying_slot slot, 33 frag_result_to_tgsi_semantic(gl_frag_result slot,
|
/system/extras/tests/bootloader/ |
bootctl.py | 29 """returns current slot number""" 31 return int(self._exec("get-current-slot")[1]) 38 def set_active_boot_slot(self, slot): 41 return self._exec("set-active-boot-slot " + str(slot))[0] == 0 43 def set_slot_as_unbootable_slot(self, slot): 46 return self._exec("set-slot-as-unbootable " + str(slot))[0] == 0 48 def is_slot_bootable(self, slot): 49 """Returns true if slot is bootable"" [all...] |
/system/chre/apps/chqts/src/shared/ |
dumb_allocator.cc | 41 size_t slot = 0; local 42 for (uint32_t mask = 1; slot < mSlotCount; slot++, mask <<= 1) { 49 if (slot == mSlotCount) { 53 return mRawMemory + (slot * mAllocSize); 57 size_t slot; local 58 if (!getSlot(pointer, &slot)) { 61 mAllocatedSlots &= ~(1 << slot); 66 size_t slot; local 67 return getSlot(pointer, &slot); [all...] |
/frameworks/native/libs/gui/tests/ |
BufferItemConsumer_test.cpp | 77 int slot; local 79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, 83 ALOGV("dequeueBuffer: slot=%d", slot); 85 ret = mProducer->requestBuffer(slot, &mBuffers[slot]); 88 *outSlot = slot; 91 void QueueBuffer(int slot) { 92 ALOGV("enqueueBuffer: slot=%d", slot); 133 int slot; local 151 int slot; local 174 int slot; local 191 int slot; local [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_exec.c | 99 unsigned slot; local 121 for (slot = 0; slot < shader->info.num_inputs; slot++) { 122 debug_printf("\t%d: %f %f %f %f\n", slot, 123 input[slot][0], 124 input[slot][1], 125 input[slot][2], 126 input[slot][3]); 148 for (slot = 0; slot < shader->info.num_inputs; slot++) [all...] |
/frameworks/rs/rsov/compiler/ |
Context.cpp | 53 // Builds the lookup table from a variable name to its slot number 54 for (size_t slot = 0; slot < varCount; slot++) { 55 std::string varName(varNames[slot]); 56 mVarNameToSlot.insert(std::make_pair(varName, (uint32_t)slot)); 61 for (size_t slot = 0; slot < kernelCount; slot++) { 62 mForEachNameToSlot.insert(std::make_pair(kernelNames[slot], slot)) 72 const uint32_t slot = getSlotForExportVar(varName); local [all...] |
/system/bt/btif/src/ |
btif_sock_rfc.cc | 81 uint32_t id; // Non-zero indicates a valid (in-use) slot. 162 LOG_ERROR(LOG_TAG, "%s unable to find RFCOMM slot id: %u", __func__, id); 168 int slot = -1; local 173 slot = i; 176 return (slot == -1) ? NULL : &rfc_slots[slot]; 198 rfc_slot_t* slot = find_free_slot(); local 199 if (!slot) { 200 LOG_ERROR(LOG_TAG, "%s unable to find free RFCOMM slot.", __func__); 211 // Increment slot id and make sure we don't use id=0 304 rfc_slot_t* slot = local 346 rfc_slot_t* slot = local 469 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 482 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 517 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 541 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 555 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 570 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 685 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 701 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 806 rfc_slot_t* slot = find_rfc_slot_by_id(user_id); local 851 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 888 rfc_slot_t* slot = find_rfc_slot_by_id(id); local 904 rfc_slot_t* slot = find_rfc_slot_by_id(id); local [all...] |
/external/freetype/include/freetype/ |
ftsynth.h | 70 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); variable 74 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); variable
|
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftsynth.h | 70 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); variable 74 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); variable
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
TestTable.cs | 20 /// A test Table object that gives easy access to the slot data 32 public bool GetSlot(int slot, bool def) 34 var off = t.__offset(slot); 43 public sbyte GetSlot(int slot, sbyte def) 45 var off = t.__offset(slot); 54 public byte GetSlot(int slot, byte def) 56 var off = t.__offset(slot); 65 public short GetSlot(int slot, short def) 67 var off = t.__offset(slot); 76 public ushort GetSlot(int slot, ushort def [all...] |
/external/libchrome/crypto/ |
scoped_test_system_nss_key_slot.cc | 17 ScopedPK11Slot(PK11_ReferenceSlot(test_db_->slot()))); 28 PK11SlotInfo* ScopedTestSystemNSSKeySlot::slot() const { function in class:crypto::ScopedTestSystemNSSKeySlot 29 return test_db_->slot();
|
/hardware/interfaces/boot/1.0/ |
IBootControl.hal | 25 * to find the one associated with that slot. 42 * getCurrentSlot() returns the slot number of that the current boot is booted 43 * from, for example slot number 0 (Slot A). It is assumed that if the current 44 * slot is A, then the block devices underlying B can be accessed directly 49 * from the bootloader, regardless of which slot is active or successful. 51 getCurrentSlot() generates (Slot slot); 54 * markBootSuccessful() marks the current slot as having booted successfully. 61 * setActiveBootSlot() marks the slot passed in parameter as the active boo [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_sync_call.c | 86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 88 pthread_mutex_init(&slot->lock, NULL); 89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); 91 slot->not_available = 0; 92 slot->in_use = 0; 93 slot->loc_handle = -1; 94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ 95 slot->loc_cb_received_event_mask = 0; /* received event */ 131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 133 pthread_mutex_lock(&slot->lock) 203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local 451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_sync_call.c | 86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 88 pthread_mutex_init(&slot->lock, NULL); 89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); 91 slot->not_available = 0; 92 slot->in_use = 0; 93 slot->loc_handle = -1; 94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ 95 slot->loc_cb_received_event_mask = 0; /* received event */ 131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 133 pthread_mutex_lock(&slot->lock) 203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local 451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_sync_call.c | 86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 88 pthread_mutex_init(&slot->lock, NULL); 89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); 91 slot->not_available = 0; 92 slot->in_use = 0; 93 slot->loc_handle = -1; 94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ 95 slot->loc_cb_received_event_mask = 0; /* received event */ 131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 133 pthread_mutex_lock(&slot->lock) 203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local 451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_sync_call.c | 86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 88 pthread_mutex_init(&slot->lock, NULL); 89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); 91 slot->not_available = 0; 92 slot->in_use = 0; 93 slot->loc_handle = -1; 94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ 95 slot->loc_cb_received_event_mask = 0; /* received event */ 131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 133 pthread_mutex_lock(&slot->lock) 203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local 451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_sync_call.c | 86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 88 pthread_mutex_init(&slot->lock, NULL); 89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); 91 slot->not_available = 0; 92 slot->in_use = 0; 93 slot->loc_handle = -1; 94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ 95 slot->loc_cb_received_event_mask = 0; /* received event */ 131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 133 pthread_mutex_lock(&slot->lock) 203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; local 375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local 451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; local [all...] |
/hardware/libhardware/include/hardware/ |
boot_control.h | 37 * to find the one associated with that slot. The bootloader must pass the suffix 38 * of the currently active slot either through a kernel command line property at 68 * whether the current slot is A or B. The meaning of A and B is 69 * left up to the implementer. It is assumed that if the current slot 79 * (*markBootSuccessful)() marks the current slot 87 * (*setActiveBootSlot)() marks the slot passed in parameter as 88 * the active boot slot (see getCurrentSlot for an explanation 89 * of the "slot" parameter). This overrides any previous call to 93 int (*setActiveBootSlot)(struct boot_control_module *module, unsigned slot); 96 * (*setSlotAsUnbootable)() marks the slot passed in parameter a [all...] |
/system/nvram/hal/ |
memory_storage.cpp | 64 StorageSlot slot; member in struct:nvram::storage::__anon3674::__anon3675 67 // Find the storage slot in |g_spaces| that corresponds to |index|. Returns 68 // |nullptr| if no matching slot exists. 71 if (g_spaces[i].slot.present() && g_spaces[i].index == index) { 72 return &g_spaces[i].slot; 90 StorageSlot* slot = FindSpaceSlot(index); local 91 return slot ? slot->Load(blob) : Status::kNotFound; 95 StorageSlot* slot = FindSpaceSlot(index); local 96 if (slot) { 112 StorageSlot* slot = FindSpaceSlot(index); local [all...] |