/cts/tests/tests/net/src/android/net/cts/ |
CredentialsTest.java | 27 Credentials cred = new Credentials(0, 0, 0); local 28 assertEquals(0, cred.getGid()); 29 assertEquals(0, cred.getPid()); 30 assertEquals(0, cred.getUid()); 33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); 34 assertEquals(Integer.MAX_VALUE, cred.getGid()); 35 assertEquals(Integer.MAX_VALUE, cred.getPid()); 36 assertEquals(Integer.MAX_VALUE, cred.getUid()); 39 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); 40 assertEquals(Integer.MIN_VALUE, cred.getGid()) [all...] |
/system/core/libcutils/ |
uevent.c | 79 struct ucred *cred = (struct ucred *)CMSG_DATA(cmsg); local 80 *uid = cred->uid; 81 if (cred->uid != 0) {
|
/system/core/logd/ |
LogListener.cpp | 72 struct ucred *cred = NULL; local 78 cred = (struct ucred *)CMSG_DATA(cmsg); 84 if (cred == NULL) { 88 if (cred->uid == AID_LOGD) { 102 !clientHasLogCredentials(cred->uid, cred->gid, cred->pid))) { 113 cred->uid, cred->pid, header->tid, msg,
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
AuthenticationCache.java | 146 final Credential cred = hostAuth.getOrCreateCredential(context); local 147 cred.mProviderId = entry.mProviderId; 148 cred.mAccessToken = entry.mAccessToken; 149 cred.mRefreshToken = entry.mRefreshToken; 150 cred.mExpiration = entry.mExpirationTime; 151 cred.update(context, cred.toContentValues());
|
/external/avahi/avahi-core/ |
netlink.c | 50 struct ucred *cred; local 83 cred = (struct ucred*) CMSG_DATA(cmsg); 85 if (cred->uid != 0)
|
/external/libjpeg-turbo/ |
jdmrgext.c | 29 register int y, cred, cgreen, cblue; local 51 cred = Crrtab[cr]; 56 outptr[RGB_RED] = range_limit[y + cred]; 64 outptr[RGB_RED] = range_limit[y + cred]; 76 cred = Crrtab[cr]; 80 outptr[RGB_RED] = range_limit[y + cred]; 102 register int y, cred, cgreen, cblue; local 126 cred = Crrtab[cr]; 131 outptr0[RGB_RED] = range_limit[y + cred]; 139 outptr0[RGB_RED] = range_limit[y + cred]; [all...] |
jdmrg565.c | 23 register int y, cred, cgreen, cblue; local 48 cred = Crrtab[cr]; 54 r = range_limit[y + cred]; 60 r = range_limit[y + cred]; 73 cred = Crrtab[cr]; 77 r = range_limit[y + cred]; 94 register int y, cred, cgreen, cblue; local 120 cred = Crrtab[cr]; 126 r = range_limit[DITHER_565_R(y + cred, d0)]; 133 r = range_limit[DITHER_565_R(y + cred, d0)] 168 register int y, cred, cgreen, cblue; local 264 register int y, cred, cgreen, cblue; local [all...] |
/external/google-breakpad/src/client/linux/crash_generation/ |
crash_generation_server.cc | 248 const struct ucred *cred = local 250 crashing_pid = cred->pid;
|
/external/ipsec-tools/src/racoon/ |
gssapi.c | 191 gss_buffer_t cred = &cred_token; local 232 maj_stat = gss_export_name(&min_stat, canon_princ, cred); 249 cred->length, cred->value); 252 maj_stat = gss_release_buffer(&min_stat, cred); 254 gssapi_error(min_stat, LOCATION, "release cred buffer\n"); 259 gssapi_error(min_stat, LOCATION, "acquire cred\n");
|
/external/libvncserver/libvncclient/ |
tls_gnutls.c | 274 FreeX509Credential(rfbCredential *cred) 276 if (cred->x509Credential.x509CACertFile) free(cred->x509Credential.x509CACertFile); 277 if (cred->x509Credential.x509CACrlFile) free(cred->x509Credential.x509CACrlFile); 278 if (cred->x509Credential.x509ClientCertFile) free(cred->x509Credential.x509ClientCertFile); 279 if (cred->x509Credential.x509ClientKeyFile) free(cred->x509Credential.x509ClientKeyFile); 280 free(cred); 413 rfbCredential *cred; local [all...] |
/external/opencv3/3rdparty/libjpeg/ |
jdmerge.c | 231 register int y, cred, cgreen, cblue; local 253 cred = Crrtab[cr]; 258 outptr[RGB_RED] = range_limit[y + cred]; 263 outptr[RGB_RED] = range_limit[y + cred]; 272 cred = Crrtab[cr]; 276 outptr[RGB_RED] = range_limit[y + cred]; 293 register int y, cred, cgreen, cblue; local 317 cred = Crrtab[cr]; 322 outptr0[RGB_RED] = range_limit[y + cred]; 327 outptr0[RGB_RED] = range_limit[y + cred]; [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jdmerge.c | 234 register int y, cred, cgreen, cblue; local 256 cred = Crrtab[cr]; 261 outptr[RGB_RED] = range_limit[y + cred]; 266 outptr[RGB_RED] = range_limit[y + cred]; 275 cred = Crrtab[cr]; 279 outptr[RGB_RED] = range_limit[y + cred]; 296 register int y, cred, cgreen, cblue; local 320 cred = Crrtab[cr]; 325 outptr0[RGB_RED] = range_limit[y + cred]; 330 outptr0[RGB_RED] = range_limit[y + cred]; [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_internal.c | 198 struct tlsv1_credentials *cred; local 209 cred = tlsv1_cred_alloc(); 210 if (cred == NULL) 215 tlsv1_cred_free(cred); 221 tlsv1_cred_free(cred); 227 tlsv1_cred_free(cred); 233 tlsv1_cred_free(cred); 239 tlsv1_cred_free(cred); 243 if (tlsv1_set_ca_cert(cred, params->ca_cert, 248 tlsv1_cred_free(cred); 296 struct tlsv1_credentials *cred; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client_i.h | 64 struct tlsv1_credentials *cred; member in struct:tlsv1_client
|
tlsv1_server_i.h | 43 struct tlsv1_credentials *cred; member in struct:tlsv1_server
|
/external/wpa_supplicant_8/src/wps/ |
wps_enrollee.c | 699 static int wps_process_cred_e(struct wps_data *wps, const u8 *cred, 707 os_memset(&wps->cred, 0, sizeof(wps->cred)); 708 wpabuf_set(&msg, cred, cred_len); 710 wps_process_cred(&attr, &wps->cred)) 713 if (os_memcmp(wps->cred.mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != 717 ")", MAC2STR(wps->cred.mac_addr), 735 if (!(wps->cred.encr_type & 737 if (wps->cred.encr_type & WPS_ENCR_WEP) { 745 "invalid encr_type 0x%x", wps->cred.encr_type) 801 struct wps_credential cred; local [all...] |
wps_er.h | 30 struct wps_credential *cred; member in struct:wps_er_sta
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpc/ |
key_prot.h | 156 unixcred cred; member in union:getcredres::__anon39079
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.h | 81 unixcred cred; member in union:getcredres::__anon39092
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpc/ |
key_prot.h | 156 unixcred cred; member in union:getcredres::__anon41069
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.h | 81 unixcred cred; member in union:getcredres::__anon41082
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupIncomingFragment.java | 511 final Credential cred = account.mHostAuthRecv.mCredential; local 512 if (cred != null) { 513 if (cred.isSaved()) { 514 cred.update(context, cred.toContentValues()); 516 cred.save(context); 517 account.mHostAuthRecv.mCredentialKey = cred.mId; 561 Credential cred = recvAuth.getOrCreateCredential(getActivity()); local 562 cred.mProviderId = mAuthenticationView.getOAuthProvider();
|
AccountSetupOutgoingFragment.java | 351 final Credential cred = account.mHostAuthSend.mCredential; local 352 if (cred != null) { 353 if (cred.isSaved()) { 354 cred.update(context, cred.toContentValues()); 356 cred.save(context); 357 account.mHostAuthSend.mCredentialKey = cred.mId;
|
/external/curl/lib/vtls/ |
schannel.c | 130 connssl->cred = NULL; 136 connssl->cred = old_cred; 140 connssl->cred->refcount++; 142 connssl->cred->refcount); 147 if(!connssl->cred) { 213 connssl->cred = (struct curl_schannel_cred *) 215 if(!connssl->cred) { 219 memset(connssl->cred, 0, sizeof(struct curl_schannel_cred)); 220 connssl->cred->refcount = 1; 228 &connssl->cred->cred_handle 1464 struct curl_schannel_cred *cred = ptr; local [all...] |
/external/iproute2/misc/ |
rtacct.c | 414 struct ucred cred; local 415 socklen_t olen = sizeof(cred); 417 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, (void*)&cred, &olen) || 418 olen < sizeof(cred)) 420 if (cred.uid == getuid() || cred.uid == 0)
|