Searched refs:handle (Results 226 - 250 of 1050) sorted by relevance

1234567891011>>

/external/libsepol/src/
H A Dmodule.c286 int sepol_link_packages(sepol_handle_t * handle, argument
295 ERR(handle, "Out of memory!");
302 retval = link_modules(handle, &base->policy->p, mod_pols, num_modules,
312 ERR(handle, "Out of memory!");
317 ERR(handle, "Out of memory!");
363 ERR(file->handle, "out of memory");
369 ERR(file->handle, "module package header truncated");
373 ERR(file->handle,
383 ERR(file->handle, "too many sections (%u) in module package",
390 ERR(file->handle, "ou
972 sepol_link_modules(sepol_handle_t * handle, sepol_policydb_t * base, sepol_policydb_t ** modules, size_t len, int verbose) argument
980 sepol_expand_module(sepol_handle_t * handle, sepol_policydb_t * base, sepol_policydb_t * out, int verbose, int check) argument
[all...]
H A Dport_record.c28 int sepol_port_key_create(sepol_handle_t * handle, argument
37 ERR(handle, "out of memory, could not create " "port key");
62 int sepol_port_key_extract(sepol_handle_t * handle,
68 (handle, port->low, port->high, port->proto, key_ptr) < 0) {
70 ERR(handle, "could not extract key from port %s %d:%d",
203 int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port)
209 ERR(handle, "out of memory, could not create " "port record");
225 int sepol_port_clone(sepol_handle_t * handle,
230 if (sepol_port_create(handle, &new_port) < 0)
238 (sepol_context_clone(handle, por
[all...]
/external/webkit/Source/WebCore/platform/gtk/
H A DFileSystemGtk.cpp230 String openTemporaryFile(const String& prefix, PlatformFileHandle& handle) argument
236 handle = g_file_create_readwrite(file.get(), G_FILE_CREATE_NONE, 0, 0);
237 if (!isHandleValid(handle))
262 void closeFile(PlatformFileHandle& handle) argument
264 if (!isHandleValid(handle))
267 g_io_stream_close(G_IO_STREAM(handle), 0, 0);
268 g_object_unref(handle);
269 handle = invalidPlatformFileHandle;
272 long long seekFile(PlatformFileHandle handle, long long offset, FileSeekOrigin origin) argument
289 if (!g_seekable_seek(G_SEEKABLE(g_io_stream_get_input_stream(G_IO_STREAM(handle))),
295 writeToFile(PlatformFileHandle handle, const char* data, int length) argument
303 readFromFile(PlatformFileHandle handle, char* data, int length) argument
[all...]
/external/bluetooth/glib/gmodule/
H A Dgmodule.c67 gpointer handle; member in struct:_GModule
79 static void _g_module_close (gpointer handle,
82 static gpointer _g_module_symbol (gpointer handle,
87 static inline GModule* g_module_find_by_handle (gpointer handle);
101 g_module_find_by_handle (gpointer handle) argument
106 if (main_module && main_module->handle == handle)
110 if (handle == module->handle)
173 _g_module_close (gpointer handle, argument
183 _g_module_symbol(gpointer handle, const gchar *symbol_name) argument
336 gpointer handle = NULL; local
[all...]
/external/chromium/chrome/browser/automation/
H A Dtesting_automation_provider_views.cc116 void TestingAutomationProvider::WindowGetViewBounds(int handle, argument
123 if (window_tracker_->ContainsHandle(handle)) {
124 gfx::NativeWindow window = window_tracker_->GetResource(handle);
144 void TestingAutomationProvider::GetFocusedViewID(int handle, int* view_id) { argument
146 if (window_tracker_->ContainsHandle(handle)) {
147 gfx::NativeWindow window = window_tracker_->GetResource(handle);
158 int handle, int previous_view_id, IPC::Message* reply_message) {
159 if (!window_tracker_->ContainsHandle(handle))
161 gfx::NativeWindow window = window_tracker_->GetResource(handle);
196 // which will handle respondin
157 WaitForFocusedViewIDToChange( int handle, int previous_view_id, IPC::Message* reply_message) argument
[all...]
H A Dautomation_provider.h139 // the associated handle. If the tracker already contains the extension,
140 // the handle is simply returned.
162 // Convert a tab handle into a TabContents. If |tab| is non-NULL a pointer
165 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab);
170 // Returns the associated view for the tab handle passed in.
222 void WindowSimulateDrag(int handle,
227 void HandleUnused(const IPC::Message& message, int handle);
234 void HandleFindRequest(int handle,
247 void JavaScriptStressTestControl(int handle, int cmd, int param);
303 // Returns the extension for the given handle
[all...]
H A Dautomation_provider_win.cc149 int handle,
154 if (browser_tracker_->ContainsHandle(handle) && (drag_path.size() > 1)) {
156 browser_tracker_->GetResource(handle)->window()->GetNativeHandle();
181 Browser* browser = browser_tracker_->GetResource(handle);
282 const IPC::Message& message, int handle, const MSG& msg) {
283 ExternalTabContainer* external_tab = GetExternalTabForHandle(handle);
291 int handle, bool reverse,
293 ExternalTabContainer* external_tab = GetExternalTabForHandle(handle);
310 ExternalTabContainer* AutomationProvider::GetExternalTabForHandle(int handle) { argument
311 if (tab_tracker_->ContainsHandle(handle)) {
148 WindowSimulateDrag( int handle, const std::vector<gfx::Point>& drag_path, int flags, bool press_escape_en_route, IPC::Message* reply_message) argument
281 ProcessUnhandledAccelerator( const IPC::Message& message, int handle, const MSG& msg) argument
290 SetInitialFocus(const IPC::Message& message, int handle, bool reverse, bool restore_focus_to_view) argument
416 OnMessageFromExternalHost(int handle, const std::string& message, const std::string& origin, const std::string& target) argument
427 NavigateInExternalTab( int handle, const GURL& url, const GURL& referrer, AutomationMsg_NavigationResponseValues* status) argument
439 NavigateExternalTabAtIndex( int handle, int navigation_index, AutomationMsg_NavigationResponseValues* status) argument
451 OnRunUnloadHandlers( int handle, IPC::Message* reply_message) argument
459 OnSetZoomLevel(int handle, int zoom_level) argument
[all...]
H A Dautomation_resource_tracker.h48 bool ContainsHandleImpl(int handle);
49 const void* GetResourceImpl(int handle);
83 // Adds the given resource to this tracker, and returns a handle that
85 // being tracked, the handle may be the same as one returned previously.
102 // Returns true if this tracker currently tracks the given handle.
103 bool ContainsHandle(int handle) { argument
104 return ContainsHandleImpl(handle);
107 // Returns the resource pointer associated with a given handle, or NULL
108 // if that handle is not present in the mapping.
110 T GetResource(int handle) { argument
[all...]
/external/iproute2/tc/
H A Df_tcindex.c27 static int tcindex_parse_opt(struct filter_util *qu, char *handle, int argc, argument
34 if (handle) {
35 t->tcm_handle = strtoul(handle,&end,0);
92 __u32 handle; local
95 if (get_tc_classid(&handle,*argv)) {
99 addattr_l(n, 4096, TCA_TCINDEX_CLASSID, &handle, 4);
122 struct rtattr *opt, __u32 handle)
131 if (handle != ~0) fprintf(f,"handle 0x%04x ",handle);
121 tcindex_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument
[all...]
/external/qemu/memcheck/
H A Dmemcheck_util.c236 ELFF_HANDLE handle; local
242 handle = elff_init(sym_path);
243 if (handle == NULL) {
247 if (!elff_is_exec(handle)) {
250 if (elff_get_pc_address_info(handle, rel_pc, info)) {
251 elff_close(handle);
256 if (elff_get_pc_address_info(handle, abs_pc, info)) {
257 elff_close(handle);
262 *elff_handle = handle;
/external/quake/quake/src/WinQuake/
H A Dsys_wind.cpp103 void Sys_FileClose (int handle) argument
105 fclose (sys_handles[handle]);
106 sys_handles[handle] = NULL;
109 void Sys_FileSeek (int handle, int position) argument
111 fseek (sys_handles[handle], position, SEEK_SET);
114 int Sys_FileRead (int handle, void *dest, int count) argument
116 return fread (dest, 1, count, sys_handles[handle]);
119 int Sys_FileWrite (int handle, void *data, int count) argument
121 return fwrite (data, 1, count, sys_handles[handle]);
H A Dsys_linux.cpp191 int Sys_FileOpenRead (char *path, int *handle) argument
198 *handle = h;
210 int handle; local
214 handle = open(path,O_RDWR | O_CREAT | O_TRUNC
217 if (handle == -1)
220 return handle;
223 int Sys_FileWrite (int handle, void *src, int count) argument
225 return write (handle, src, count);
228 void Sys_FileClose (int handle) argument
230 close (handle);
233 Sys_FileSeek(int handle, int position) argument
238 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
/external/qemu/android/utils/
H A Dmapfile.c95 mapfile_close(MapFile* handle) argument
98 if (CloseHandle(handle)) {
105 return close((int)(ptrdiff_t)handle);
110 mapfile_read(MapFile* handle, void* buf, size_t nbyte) argument
115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) {
125 ret = read((int)(ptrdiff_t)handle, buf, nbyte);
132 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) argument
137 if ((SetFilePointer(handle, convert.LowPart, &convert.HighPart,
143 return mapfile_read(handle, buf, nbyte);
145 ssize_t res = lseek((int)(ptrdiff_t)handle, offse
151 mapfile_map(MapFile* handle, size_t offset, size_t size, int prot, void** mapped_offset, size_t* mapped_size) argument
[all...]
/external/quake/quake/src/QW/client/
H A Dsys_android.c198 int Sys_FileOpenRead (char *path, int *handle) argument
205 *handle = h;
217 int handle; local
221 handle = open(path,O_RDWR | O_CREAT | O_TRUNC
224 if (handle == -1)
227 return handle;
230 int Sys_FileWrite (int handle, void *src, int count) argument
232 return write (handle, src, count);
235 void Sys_FileClose (int handle) argument
237 close (handle);
240 Sys_FileSeek(int handle, int position) argument
245 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
H A Dsys_linux.c193 int Sys_FileOpenRead (char *path, int *handle) argument
200 *handle = h;
212 int handle; local
216 handle = open(path,O_RDWR | O_CREAT | O_TRUNC
219 if (handle == -1)
222 return handle;
225 int Sys_FileWrite (int handle, void *src, int count) argument
227 return write (handle, src, count);
230 void Sys_FileClose (int handle) argument
232 close (handle);
235 Sys_FileSeek(int handle, int position) argument
240 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_methods.c188 void *handle; local
192 handle = dlopen(so, RTLD_LAZY);
193 if (handle == NULL) {
199 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init");
201 dlclose(handle);
209 dlclose(handle);
215 /* Store the handle for this shared object. It will be freed with
217 eap_methods->dl_handle = handle;
238 void *handle; local
257 handle
507 void *handle; local
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_methods.c184 void *handle; local
188 handle = dlopen(so, RTLD_LAZY);
189 if (handle == NULL) {
195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init");
197 dlclose(handle);
205 dlclose(handle);
211 /* Store the handle for this shared object. It will be freed with
213 eap_methods->dl_handle = handle;
234 void *handle; local
253 handle
348 void *handle; local
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_methods.c184 void *handle; local
188 handle = dlopen(so, RTLD_LAZY);
189 if (handle == NULL) {
195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init");
197 dlclose(handle);
205 dlclose(handle);
211 /* Store the handle for this shared object. It will be freed with
213 eap_methods->dl_handle = handle;
234 void *handle; local
253 handle
348 void *handle; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_methods.c184 void *handle; local
188 handle = dlopen(so, RTLD_LAZY);
189 if (handle == NULL) {
195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init");
197 dlclose(handle);
205 dlclose(handle);
211 /* Store the handle for this shared object. It will be freed with
213 eap_methods->dl_handle = handle;
234 void *handle; local
253 handle
348 void *handle; local
[all...]
/external/chromium/chrome/browser/
H A Dfavicon_service.cc28 return request->handle();
44 return request->handle();
54 FaviconService::Handle handle = request->handle(); local
66 return handle;
96 request->handle(), history::FaviconData()));
/external/llvm/lib/Support/
H A DDynamicLibrary.cpp77 void *handle = dlopen(filename, RTLD_LAZY|RTLD_GLOBAL); local
78 if (handle == 0) {
85 // with the handle of dlopen(NULL, RTLD_GLOBAL).
87 handle = RTLD_DEFAULT;
93 // If we've already loaded this library, dlclose() the handle in order to
95 if (!OpenedHandles->insert(handle).second)
96 dlclose(handle);
98 return DynamicLibrary(handle);
/external/openssl/crypto/
H A DLPdir_win.c51 HANDLE handle; member in struct:LP_dir_context_st
95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx);
100 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx);
102 if ((*ctx)->handle == INVALID_HANDLE_VALUE)
112 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE)
146 FindClose((*ctx)->handle);
/external/qemu/distrib/sdl-1.2.12/src/thread/epoc/
H A DSDL_syssem.cpp42 TInt handle; member in struct:SDL_semaphore
65 sem->handle = s.Handle();
76 sema.SetHandle(sem->handle);
113 sema.SetHandle(sem->handle);
137 TInfo* info = new (ELeave)TInfo(timeout, sem->handle);
190 sema.SetHandle(sem->handle);
/external/bluetooth/bluez/lib/bluetooth/
H A Dhci.h359 uint16_t handle; member in struct:__anon429
366 uint16_t handle; member in struct:__anon430
412 uint16_t handle; member in struct:__anon436
419 uint16_t handle; member in struct:__anon437
425 uint16_t handle; member in struct:__anon438
432 uint16_t handle; member in struct:__anon439
459 uint16_t handle; member in struct:__anon443
465 uint16_t handle; member in struct:__anon444
472 uint16_t handle; member in struct:__anon445
478 uint16_t handle; member in struct:__anon446
486 uint16_t handle; member in struct:__anon447
560 uint8_t handle; member in struct:__anon455
571 uint8_t handle; member in struct:__anon456
578 uint8_t handle; member in struct:__anon457
588 uint16_t handle; member in struct:__anon458
594 uint8_t handle; member in struct:__anon459
600 uint8_t handle; member in struct:__anon460
612 uint16_t handle; member in struct:__anon461
620 uint16_t handle; member in struct:__anon462
630 uint16_t handle; member in struct:__anon463
636 uint16_t handle; member in struct:__anon464
644 uint16_t handle; member in struct:__anon465
658 uint16_t handle; member in struct:__anon467
666 uint16_t handle; member in struct:__anon468
671 uint16_t handle; member in struct:__anon469
685 uint16_t handle; member in struct:__anon471
690 uint16_t handle; member in struct:__anon472
697 uint16_t handle; member in struct:__anon473
703 uint16_t handle; member in struct:__anon474
715 uint16_t handle; member in struct:__anon475
947 uint16_t handle; member in struct:__anon501
953 uint16_t handle; member in struct:__anon502
983 uint16_t handle; member in struct:__anon505
990 uint16_t handle; member in struct:__anon506
996 uint16_t handle; member in struct:__anon507
1116 uint16_t handle; member in struct:__anon524
1192 uint16_t handle; member in struct:__anon537
1234 uint16_t handle; member in struct:__anon542
1250 uint16_t handle; member in struct:__anon544
1332 uint16_t handle; member in struct:__anon554
1340 uint16_t handle; member in struct:__anon555
1347 uint16_t handle; member in struct:__anon556
1355 uint16_t handle; member in struct:__anon557
1363 uint16_t handle; member in struct:__anon558
1371 uint16_t handle; member in struct:__anon559
1377 uint16_t handle; member in struct:__anon560
1401 uint8_t handle; member in struct:__anon562
1408 uint8_t handle; member in struct:__anon563
1416 uint8_t handle; member in struct:__anon564
1424 uint8_t handle; member in struct:__anon565
1578 uint16_t handle; member in struct:__anon583
1596 uint16_t handle; member in struct:__anon585
1601 uint16_t handle; member in struct:__anon586
1608 uint16_t handle; member in struct:__anon587
1633 uint16_t handle; member in struct:__anon591
1642 uint16_t handle; member in struct:__anon592
1648 uint16_t handle; member in struct:__anon593
1654 uint16_t handle; member in struct:__anon594
1659 uint16_t handle; member in struct:__anon595
1712 uint16_t handle; member in struct:__anon601
1730 uint16_t handle; member in struct:__anon603
1738 uint16_t handle; member in struct:__anon604
1753 uint16_t handle; member in struct:__anon606
1761 uint16_t handle; member in struct:__anon607
1768 uint16_t handle; member in struct:__anon608
1776 uint16_t handle; member in struct:__anon609
1784 uint16_t handle; member in struct:__anon610
1794 uint16_t handle; member in struct:__anon611
1823 uint16_t handle; member in struct:__anon615
1845 uint16_t handle; member in struct:__anon618
1888 uint16_t handle; member in struct:__anon624
1896 uint16_t handle; member in struct:__anon625
1904 uint16_t handle; member in struct:__anon626
1911 uint16_t handle; member in struct:__anon627
1925 uint16_t handle; member in struct:__anon629
1956 uint16_t handle; member in struct:__anon632
1966 uint16_t handle; member in struct:__anon633
1980 uint16_t handle; member in struct:__anon634
1991 uint16_t handle; member in struct:__anon635
2014 uint16_t handle; member in struct:__anon637
2061 uint16_t handle; member in struct:__anon644
2068 uint16_t handle; member in struct:__anon645
2103 uint16_t handle; member in struct:__anon650
2127 uint16_t handle; member in struct:__anon652
2137 uint16_t handle; member in struct:__anon653
2144 uint16_t handle; member in struct:__anon654
2153 uint8_t handle; member in struct:__anon655
2162 uint8_t handle; member in struct:__anon656
2169 uint8_t handle; member in struct:__anon657
2176 uint8_t handle; member in struct:__anon658
2184 uint8_t handle; member in struct:__anon659
2194 uint16_t handle; member in struct:__anon660
2242 uint16_t handle; /* Handle & Flags(PB, BC) */ member in struct:__anon666
2248 uint16_t handle; member in struct:__anon667
2340 uint16_t handle; member in struct:hci_conn_info
[all...]
/external/chromium/chrome/browser/webdata/
H A Dweb_data_service_unittest.cc179 WebDataService::Handle handle; local
181 handle = wds_->GetFormValuesForElementName(
187 EXPECT_EQ(handle, consumer.handle());
273 WebDataService::Handle handle = wds_->GetAutofillProfiles(&consumer); local
275 EXPECT_EQ(handle, consumer.handle());
293 WebDataService::Handle handle = wds_->GetAutofillProfiles(&consumer); local
295 EXPECT_EQ(handle, consumer.handle());
338 WebDataService::Handle handle = wds_->GetAutofillProfiles(&consumer); local
394 WebDataService::Handle handle = wds_->GetCreditCards(&consumer); local
413 WebDataService::Handle handle = wds_->GetCreditCards(&consumer); local
458 WebDataService::Handle handle = wds_->GetCreditCards(&consumer); local
507 WebDataService::Handle handle = wds_->GetAutofillProfiles(&profile_consumer); local
[all...]

Completed in 407 milliseconds

1234567891011>>