/external/chromium_org/webkit/glue/ |
webfileutilities_impl.cc | 70 void WebFileUtilitiesImpl::closeFile(base::PlatformFile& handle) { 71 if (handle == base::kInvalidPlatformFileValue) 73 if (base::ClosePlatformFile(handle)) 74 handle = base::kInvalidPlatformFileValue; 77 int WebFileUtilitiesImpl::readFromFile(base::PlatformFile handle, 80 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0) 82 return base::ReadPlatformFileCurPosNoBestEffort(handle, data, length);
|
/external/libsepol/src/ |
context.c | 11 #include "handle.h" 87 int context_to_string(sepol_handle_t * handle, 135 ERR(handle, "out of memory, could not convert " "context to string"); 143 int context_from_record(sepol_handle_t * handle, 162 ERR(handle, "out of memory"); 171 ERR(handle, "user %s is not defined", user); 180 ERR(handle, "role %s is not defined", role); 189 ERR(handle, "type %s is not defined", type); 196 ERR(handle, "MLS is disabled, but MLS context \"%s\" found", 200 ERR(handle, "MLS is enabled, but no MLS context found") [all...] |
nodes.c | 7 #include "handle.h" 14 static int node_from_record(sepol_handle_t * handle, 30 if (sepol_node_get_addr_bytes(handle, data, &addr_buf, &addr_bsize) < 0) 32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0) 47 ERR(handle, "unsupported protocol %u", proto); 56 if (context_from_record(handle, policydb, &tmp_con, 68 ERR(handle, "out of memory"); 79 ERR(handle, "could not create node structure"); 83 static int node_to_record(sepol_handle_t * handle, 93 if (sepol_node_create(handle, &tmp_record) < 0 [all...] |
/frameworks/native/services/sensorservice/ |
SensorInterface.cpp | 53 status_t HardwareSensor::batch(void* ident, int handle, int flags, 59 status_t HardwareSensor::flush(void* ident, int handle) { 60 return mSensorDevice.flush(ident, handle); 63 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { 64 return mSensorDevice.setDelay(ident, handle, ns); 67 void HardwareSensor::autoDisable(void *ident, int handle) { 68 mSensorDevice.autoDisable(ident, handle);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
TrustletSession.cpp | 91 if (buffers.find(pWsm->handle) != buffers.end()) { 95 buffers[pWsm->handle] = pWsm; 100 bool TrustletSession::removeBulkBuff(uint32_t handle) 102 if (buffers.find(handle) == buffers.end()) { 105 CWsm_ptr pWsm = buffers[handle]; 107 buffers.erase(handle); 120 buffers.erase(pWsm->handle);
|
/external/bluetooth/bluedroid/stack/include/ |
avdtc_api.h | 61 typedef void tAVDTC_CTRL_CBACK(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDTC_CTRL *p_data); 124 AVDT_API extern void AVDTC_GetConfigReq(UINT8 handle); 135 AVDT_API extern void AVDTC_GetConfigRsp(UINT8 handle, UINT8 label, tAVDT_CFG *p_cfg); 146 AVDT_API extern void AVDTC_OpenReq(UINT8 handle); 157 AVDT_API extern void AVDTC_OpenRsp(UINT8 handle, UINT8 label); 179 AVDT_API extern void AVDTC_CloseRsp(UINT8 handle, UINT8 label); 201 AVDT_API extern void AVDTC_AbortReq(UINT8 handle); 212 AVDT_API extern void AVDTC_AbortRsp(UINT8 handle, UINT8 label); 223 AVDT_API extern void AVDTC_Rej(UINT8 handle, BD_ADDR bd_addr, UINT8 cmd, UINT8 label,
|
/external/chromium_org/chrome/test/automation/ |
automation_handle_tracker.cc | 12 AutomationHandle handle) 13 : handle_(handle), 38 handle_to_object_.insert(MapEntry(proxy->handle(), proxy)); 43 HandleToObjectMap::iterator iter = handle_to_object_.find(proxy->handle()); 45 AutomationHandle proxy_handle = proxy->handle(); 52 void AutomationHandleTracker::InvalidateHandle(AutomationHandle handle) { 55 HandleToObjectMap::iterator iter = handle_to_object_.find(handle); 64 AutomationHandle handle) { 66 HandleToObjectMap::iterator iter = handle_to_object_.find(handle);
|
/external/chromium_org/ui/surface/ |
transport_dib_posix.cc | 22 TransportDIB::TransportDIB(TransportDIB::Handle dib) 43 TransportDIB* TransportDIB::Map(Handle handle) { 44 scoped_ptr<TransportDIB> dib(CreateWithHandle(handle)); 51 TransportDIB* TransportDIB::CreateWithHandle(Handle handle) { 52 return new TransportDIB(handle); 56 bool TransportDIB::is_valid_handle(Handle dib) { 78 if (!is_valid_handle(handle())) 89 if ((fstat(shared_memory_.handle().fd, &st) != 0) | 111 TransportDIB::Handle TransportDIB::handle() const { function in class:TransportDIB [all...] |
/external/kernel-headers/original/linux/ |
ion.h | 145 * an opaque handle to it. 152 * ion_free - free a handle 154 * @handle: the handle to free 156 * Free the provided handle. 158 void ion_free(struct ion_client *client, struct ion_handle *handle); 161 * ion_phys - returns the physical address and len of a handle 163 * @handle: the handle 167 * This function queries the heap for a particular handle to get th 251 struct ion_handle *handle; member in struct:ion_allocation_data 265 struct ion_handle *handle; member in struct:ion_fd_data 274 struct ion_handle *handle; member in struct:ion_handle_data [all...] |
/device/samsung/manta/voicefx/ |
eS305VoiceProcessing.h | 57 * Sets the IO handle for the current input stream, or ADNC_IO_HANDLE_NONE when stream is 60 int eS305_SetActiveIoHandle(audio_io_handle_t handle); 62 int eS305_AddEffect(effect_descriptor_t * descr, audio_io_handle_t handle); 64 int eS305_RemoveEffect(effect_descriptor_t * descr, audio_io_handle_t handle);
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 63 ** p_handle - OUT pointer to the handle. 205 ** Parameters: handle - Handle returned in the RFCOMM_CreateConnection 208 int RFCOMM_RemoveConnection (UINT16 handle) 212 RFCOMM_TRACE_API1 ("RFCOMM_RemoveConnection() handle:%d", handle); 214 /* Check if handle is valid to avoid crashing */ 215 if ((handle == 0) || (handle > MAX_RFC_PORTS)) 217 RFCOMM_TRACE_ERROR1 ("RFCOMM_RemoveConnection() BAD handle:%d", handle) [all...] |
/external/chromium/base/ |
sync_socket.h | 26 typedef HANDLE Handle; 28 typedef int Handle; 31 // Creates a SyncSocket from a Handle. Used in transport. 32 explicit SyncSocket(Handle handle) : handle_(handle) { } 44 // Note it is not safe to send messages from the same socket handle by 63 // Extracts the contained handle. Used for transferring between 65 Handle handle() const { return handle_; function in class:base::SyncSocket [all...] |
/external/chromium/base/threading/ |
platform_thread_unittest.cc | 31 PlatformThreadHandle handle = kNullThreadHandle; local 34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 35 PlatformThread::Join(handle); 41 PlatformThreadHandle handle[arraysize(thread)]; local 46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); 48 PlatformThread::Join(handle[n]); 79 PlatformThreadHandle handle = kNullThreadHandle; local 82 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 83 PlatformThread::Join(handle); 92 PlatformThreadHandle handle[arraysize(thread)] local [all...] |
/external/chromium/chrome/browser/webdata/ |
web_data_service_test_util.h | 20 virtual void OnWebDataServiceRequestDone(WebDataService::Handle handle, 23 handle_ = handle; 31 WebDataService::Handle handle() { return handle_; } function in class:AutofillWebDataServiceConsumer 35 WebDataService::Handle handle_;
|
/external/chromium_org/base/threading/ |
platform_thread_unittest.cc | 32 PlatformThreadHandle handle; local 35 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 36 PlatformThread::Join(handle); 42 PlatformThreadHandle handle[arraysize(thread)]; local 47 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); 49 PlatformThread::Join(handle[n]); 83 PlatformThreadHandle handle; local 86 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 87 PlatformThread::Join(handle); 99 PlatformThreadHandle handle[arraysize(thread)] local [all...] |
/external/chromium_org/chrome/browser/common/ |
cancelable_request.cc | 11 CancelableRequestProvider::Handle CancelableRequestProvider::AddRequest( 14 Handle handle; local 18 handle = next_handle_; 25 consumer->OnRequestAdded(this, handle); 27 request->Init(this, handle, consumer); 28 return handle; 31 void CancelableRequestProvider::CancelRequest(Handle handle) { 33 CancelRequestLocked(pending_requests_.find(handle)); [all...] |
/external/chromium_org/mojo/public/tests/ |
simple_bindings_support.h | 23 virtual AsyncWaitID AsyncWait(const Handle& handle, 34 bool IsReady(const Handle& handle, MojoWaitFlags flags, MojoResult* result); 37 Handle handle; member in struct:mojo::test::SimpleBindingsSupport::Waiter
|
/external/chromium_org/mojo/system/ |
platform_channel.cc | 34 const PlatformChannelHandle& handle) { 35 DCHECK(handle.is_valid()); 37 *rv->mutable_handle() = handle;
|
/external/chromium_org/net/socket/ |
socks_client_socket_pool_unittest.cc | 28 // Make sure |handle|'s load times are set correctly. Only connect times should 30 void TestLoadTimingInfo(const ClientSocketHandle& handle) { 32 EXPECT_TRUE(handle.GetLoadTimingInfo(false, &load_timing_info)); 134 ClientSocketHandle handle; local 135 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, CompletionCallback(), 138 EXPECT_TRUE(handle.is_initialized()); 139 EXPECT_TRUE(handle.socket()); 140 TestLoadTimingInfo(handle); 153 ClientSocketHandle handle; local 155 handle.Init("a", CreateSOCKSv5Params(), priority 172 ClientSocketHandle handle; local 187 ClientSocketHandle handle; local 206 ClientSocketHandle handle; local 220 ClientSocketHandle handle; local 241 ClientSocketHandle handle; local 261 ClientSocketHandle handle; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32toolhelp_unittest.cc | 47 HANDLE AsHandle() { 48 return reinterpret_cast<HANDLE>(this); 51 static Win32ToolhelpTest* AsFixture(HANDLE handle) { 52 return reinterpret_cast<Win32ToolhelpTest*>(handle); 55 static bool First(HANDLE handle, TestData* d) { 56 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle); 71 static bool Next(HANDLE handle, TestData* d) [all...] |
/external/compiler-rt/lib/lsan/lit_tests/TestCases/ |
use_tls_dynamic.cc | 18 void *handle = dlopen(path.c_str(), RTLD_LAZY); local 19 assert(handle != 0); 21 store_t StoreToTLS = (store_t)dlsym(handle, "StoreToTLS");
|
/external/libvpx/libvpx/examples/includes/geshi/contrib/ |
cssgen2.php | 35 if ($handle = opendir($geshi->language_path)) { 36 while (($file = readdir($handle)) !== false) { 42 closedir($handle);
|
/frameworks/native/libs/ui/ |
GraphicBufferMapper.cpp | 49 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) 54 err = mAllocMod->registerBuffer(mAllocMod, handle); 57 handle, err, strerror(-err)); 61 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) 66 err = mAllocMod->unregisterBuffer(mAllocMod, handle); 69 handle, err, strerror(-err)); 73 status_t GraphicBufferMapper::lock(buffer_handle_t handle, 79 err = mAllocMod->lock(mAllocMod, handle, usage, 87 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, 93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage [all...] |
/frameworks/rs/cpp/ |
RenderScript.cpp | 73 static bool loadSymbols(void* handle) { 75 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType"); 80 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData"); 85 RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData"); 90 RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements"); 95 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate"); 100 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy"); 105 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig"); 110 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");; 115 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetName"); 407 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local [all...] |
/external/chromium_org/third_party/angle/src/compiler/ |
ShaderLang.cpp | 25 static bool checkVariableMaxLengths(const ShHandle handle, 29 ShGetInfo(handle, SH_ACTIVE_UNIFORM_MAX_LENGTH, &activeUniformLimit); 31 ShGetInfo(handle, SH_ACTIVE_ATTRIBUTE_MAX_LENGTH, &activeAttribLimit); 33 ShGetInfo(handle, SH_VARYING_MAX_LENGTH, &varyingLimit); 39 static bool checkMappedNameMaxLength(const ShHandle handle, size_t expectedValue) 42 ShGetInfo(handle, SH_MAPPED_NAME_MAX_LENGTH, &mappedNameMaxLength); 117 void ShDestruct(ShHandle handle) 119 if (handle == 0) 122 TShHandleBase* base = static_cast<TShHandleBase*>(handle); 136 const ShHandle handle, [all...] |