/external/curl/docs/examples/ |
shared-connection-cache.c | 23 * Connection cache shared between easy handles with the share inteface 51 CURLSH *share; local 54 share = curl_share_init(); 55 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); 57 curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); 58 curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); 68 /* use the share object */ 69 curl_easy_setopt(curl, CURLOPT_SHARE, share); 83 curl_share_cleanup(share);
|
threaded-shared-conn.c | 29 * connection cache and all easy handles in all threads share that same cache. 93 CURLSH *share; member in struct:initurl 106 curl_easy_setopt(curl, CURLOPT_SHARE, u->share); 121 CURLSH *share; local 127 share = curl_share_init(); 128 curl_share_setopt(share, CURLSHOPT_LOCKFUNC, lock_cb); 129 curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, unlock_cb); 130 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); 136 url[i].share = share; [all...] |
/external/curl/tests/libtest/ |
lib1554.c | 48 CURLSH *share; local 53 share = curl_share_init(); 54 if(!share) { 60 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); 61 curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); 62 curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); 72 /* use the share object */ 73 curl_easy_setopt(curl, CURLOPT_SHARE, share); 87 curl_share_cleanup(share);
|
lib586.c | 29 CURLSH *share; member in struct:Tdata 50 what = "share"; 77 what = "share"; 114 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share); 137 CURLSH *share; local 150 /* prepare share */ 152 share = curl_share_init(); 153 if(!share) { 161 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); 165 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
JDWPTestConstants.java | 19 package org.apache.harmony.jpda.tests.jdwp.share;
|
JDWPManualDebuggeeWrapper.java | 26 package org.apache.harmony.jpda.tests.jdwp.share; 34 import org.apache.harmony.jpda.tests.share.JPDATestOptions;
|
JDWPInvokeMethodSuspendedTwiceTestCase.java | 19 package org.apache.harmony.jpda.tests.jdwp.share; 26 import org.apache.harmony.jpda.tests.jdwp.share.debuggee.InvokeMethodSuspendedTwiceDebuggee; 27 import org.apache.harmony.jpda.tests.jdwp.share.debuggee.InvokeMethodWithSuspensionDebuggee; 28 import org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDATestOptions.java | 26 package org.apache.harmony.jpda.tests.share;
|
AllTests.java | 19 package org.apache.harmony.jpda.tests.share;
|
GcMarker.java | 19 package org.apache.harmony.jpda.tests.share;
|
SyncDebuggee.java | 26 package org.apache.harmony.jpda.tests.share;
|
/external/mesa3d/src/glx/ |
create_context.c | 43 struct glx_context *const share = (struct glx_context *) share_context; local 78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, 85 gc = applegl_create_context(psc, cfg, share, 0); 87 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs, 94 gc->share_xid = (share != NULL) ? share->xid : 0;
|
/hardware/qcom/gps/msm8909/utils/ |
LocSharedLock.h | 37 // one client who need to share the same lock, but it is not predictable 40 // this share lock's share() method has to be called, so that the obj 49 // following client(s) are to *share()* this lock created by the first client 50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } function in class:LocSharedLock
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
LocSharedLock.h | 37 // one client who need to share the same lock, but it is not predictable 40 // this share lock's share() method has to be called, so that the obj 49 // following client(s) are to *share()* this lock created by the first client 50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } function in class:LocSharedLock
|
/hardware/qcom/gps/msm8996/utils/ |
LocSharedLock.h | 37 // one client who need to share the same lock, but it is not predictable 40 // this share lock's share() method has to be called, so that the obj 49 // following client(s) are to *share()* this lock created by the first client 50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } function in class:LocSharedLock
|
/hardware/qcom/gps/msm8998/utils/ |
LocSharedLock.h | 37 // one client who need to share the same lock, but it is not predictable 40 // this share lock's share() method has to be called, so that the obj 49 // following client(s) are to *share()* this lock created by the first client 50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } function in class:LocSharedLock
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
MainActivity.java | 28 * the codes related to the Direct Share feature are in {@link SampleChooserTargetService}. 40 findViewById(R.id.share).setOnClickListener(mOnClickListener); 47 case R.id.share: 48 share(); 55 * Emits a sample share {@link Intent}. 57 private void share() { method in class:MainActivity
|
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
MainActivity.java | 28 * the codes related to the Direct Share feature are in {@link SampleChooserTargetService}. 40 findViewById(R.id.share).setOnClickListener(mOnClickListener); 47 case R.id.share: 48 share(); 55 * Emits a sample share {@link Intent}. 57 private void share() { method in class:MainActivity
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
MainActivity.java | 28 * the codes related to the Direct Share feature are in {@link SampleChooserTargetService}. 40 findViewById(R.id.share).setOnClickListener(mOnClickListener); 47 case R.id.share: 48 share(); 55 * Emits a sample share {@link Intent}. 57 private void share() { method in class:MainActivity
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
HelloWorld.java | 26 package org.apache.harmony.jpda.tests.jdwp.share.debuggee; 28 import org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer; 29 import org.apache.harmony.jpda.tests.share.SyncDebuggee;
|
SimpleHelloWorld.java | 26 package org.apache.harmony.jpda.tests.jdwp.share.debuggee; 28 import org.apache.harmony.jpda.tests.share.Debuggee;
|
SyntheticMembersDebuggee.java | 19 package org.apache.harmony.jpda.tests.jdwp.share.debuggee; 21 import org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer; 22 import org.apache.harmony.jpda.tests.share.SyncDebuggee;
|
InvokeMethodSuspendedTwiceDebuggee.java | 19 package org.apache.harmony.jpda.tests.jdwp.share.debuggee; 21 import org.apache.harmony.jpda.tests.jdwp.share.JDWPInvokeMethodWithSuspensionTestCase; 22 import org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer; 23 import org.apache.harmony.jpda.tests.share.SyncDebuggee;
|
/external/curl/lib/ |
share.c | 27 #include "share.h" 37 struct Curl_share *share = calloc(1, sizeof(struct Curl_share)); local 38 if(share) { 39 share->specifier |= (1<<CURL_LOCK_DATA_SHARE); 41 if(Curl_mk_dnscache(&share->hostcache)) { 42 free(share); 47 return share; 52 curl_share_setopt(struct Curl_share *share, CURLSHoption option, ...) 61 if(share->dirty) 63 using this share */ 220 struct Curl_share *share = data->share; local 237 struct Curl_share *share = data->share; local [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareMockupAction.java | 73 Intent share = new Intent(Intent.ACTION_SEND); local 74 share.setType("image/png"); 75 share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(f.getAbsoluteFile())); 76 activity.startActivity(Intent.createChooser(share, title));
|