/external/vulkan-validation-layers/demos/smoke/ |
Helpers.h | 35 inline VkResult assert_success(VkResult res) 37 if (res != VK_SUCCESS) { 39 ss << "VkResult " << res << " returned"; local 43 return res;
|
/external/webrtc/webrtc/system_wrappers/source/ |
event_timer_win.cc | 41 unsigned long res = WaitForSingleObject(event_, max_time); local 42 switch (res) {
|
/external/wpa_supplicant_8/src/ap/ |
x_snoop.c | 99 int res; local 114 res = l2_packet_send(hapd->sock_dhcp, NULL, 0, buf, len); 115 if (res < 0) {
|
/external/wpa_supplicant_8/src/crypto/ |
md5.c | 33 int res; local 89 res = md5_vector(2, _addr, _len, mac); 92 return res;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
CryptoPlugin.cpp | 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, local 69 if (res == android::OK) { 73 return static_cast<ssize_t>(res);
|
DrmPlugin.cpp | 76 status_t res = session->provideKeyResponse(response); local 77 if (res == android::OK) { 80 return res;
|
/frameworks/av/media/libstagefright/foundation/ |
ABuffer.cpp | 54 sp<ABuffer> res = new ABuffer(capacity); local 55 if (res->base() == NULL) { 58 memcpy(res->data(), data, capacity); 59 return res;
|
/frameworks/base/core/java/android/content/res/ |
ObbScanner.java | 17 package android.content.res;
|
/frameworks/base/core/jni/ |
android_server_NetworkManagementSocketTagger.cpp | 43 int res = qtaguid_tagSocket(userFd, tagNum, uid); local 44 if (res < 0) { 47 return (jint)res; 59 int res = qtaguid_untagSocket(userFd); local 60 if (res < 0) { 63 return (jint)res; 69 int res = qtaguid_setCounterSet(setNum, uid); local 70 if (res < 0) { 73 return (jint)res; 79 int res = qtaguid_deleteTagData(tagNum, uid) local [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
SingleUserReceiver.java | 29 Bundle res = getResultExtras(true); local 30 res.putInt("user", UserHandle.myUserId()); 31 setResultExtras(res);
|
UserTarget.java | 31 Bundle res = getResultExtras(true); local 32 res.putInt("user", UserHandle.myUserId()); 33 setResultExtras(res);
|
/frameworks/base/tools/aapt2/util/ |
Util_test.cpp | 146 Maybe<std::u16string> res = util::getFullyQualifiedClassName(u"android", u"asdf"); local 147 AAPT_ASSERT_FALSE(res); 149 res = util::getFullyQualifiedClassName(u"android", u".asdf"); 150 AAPT_ASSERT_TRUE(res); 151 EXPECT_EQ(res.value(), u"android.asdf"); 153 res = util::getFullyQualifiedClassName(u"android", u".a.b"); 154 AAPT_ASSERT_TRUE(res); 155 EXPECT_EQ(res.value(), u"android.a.b"); 157 res = util::getFullyQualifiedClassName(u"android", u"a.b"); 158 AAPT_ASSERT_TRUE(res); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeAssetManager.java | 17 package android.content.res;
|
/frameworks/compile/mclinker/lib/Script/ |
BinaryOp.cpp | 29 IntOperand* res = result(); local 30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); 31 return res; 37 IntOperand* res = result(); local 38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); 39 return res; 45 IntOperand* res = result(); local 46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); 47 return res; 53 IntOperand* res = result() local 61 IntOperand* res = result(); local 69 IntOperand* res = result(); local 77 IntOperand* res = result(); local 85 IntOperand* res = result(); local 93 IntOperand* res = result(); local 101 IntOperand* res = result(); local 109 IntOperand* res = result(); local 117 IntOperand* res = result(); local 125 IntOperand* res = result(); local 134 IntOperand* res = result(); local 143 IntOperand* res = result(); local 152 IntOperand* res = result(); local 161 IntOperand* res = result(); local 170 IntOperand* res = result(); local 178 IntOperand* res = result(); local 192 IntOperand* res = result(); local 202 IntOperand* res = result(); local 213 IntOperand* res = result(); local 226 IntOperand* res = result(); local [all...] |
TernaryOp.cpp | 23 IntOperand* res = result(); local 25 res->setValue(m_pOperand[1]->value()); 27 res->setValue(m_pOperand[2]->value()); 28 return res; 41 IntOperand* res = result(); local 53 res->setValue(form1); 55 res->setValue(form2); 56 return res;
|
/frameworks/compile/mclinker/lib/Target/ |
ELFEmulation.cpp | 77 std::pair<SectionMap::mapping, bool> res = local 79 if (!res.second)
|
/frameworks/support/v4/api21/android/support/v4/content/res/ |
ResourcesCompatApi21.java | 17 package android.support.v4.content.res; 19 import android.content.res.Resources; 20 import android.content.res.Resources.NotFoundException; 21 import android.content.res.Resources.Theme; 25 public static Drawable getDrawable(Resources res, int id, Theme theme) 27 return res.getDrawable(id, theme); 30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) 32 return res.getDrawableForDensity(id, density, theme);
|
/frameworks/support/v4/api23/android/support/v4/content/res/ |
ResourcesCompatApi23.java | 17 package android.support.v4.content.res; 19 import android.content.res.ColorStateList; 20 import android.content.res.Resources; 21 import android.content.res.Resources.NotFoundException; 22 import android.content.res.Resources.Theme; 25 public static int getColor(Resources res, int id, Theme theme) throws NotFoundException { 26 return res.getColor(id, theme); 29 public static ColorStateList getColorStateList(Resources res, int id, Theme theme) 31 return res.getColorStateList(id, theme);
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/content/res/ |
ConfigurationHelperHoneycombMr2.java | 17 package android.support.v4.content.res; 20 import android.content.res.Resources;
|
/frameworks/support/v4/java/android/support/v4/content/res/ |
ResourcesCompat.java | 17 package android.support.v4.content.res; 19 import android.content.res.ColorStateList; 20 import android.content.res.Resources; 21 import android.content.res.Resources.NotFoundException; 22 import android.content.res.Resources.Theme; 33 * Helper for accessing features in {@link android.content.res.Resources} 57 public static Drawable getDrawable(@NonNull Resources res, @DrawableRes int id, 60 return ResourcesCompatApi21.getDrawable(res, id, theme); 62 return res.getDrawable(id); 90 public static Drawable getDrawableForDensity(@NonNull Resources res, @DrawableRes int id [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
vp8_decrypt_test.cc | 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); local 57 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); 69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); 70 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError();
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_scale.c | 47 const MV32 res = { local 51 return res;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxstats.c | 20 int res; local 27 res = (stats->file != NULL); 38 res = (stats->buf.buf != NULL); 57 res = (nbytes == stats->buf.sz); 61 return res; 65 int res; local 75 res = (stats->buf.buf != NULL); 76 return res;
|
/packages/apps/Nfc/nci/jni/ |
Mutex.cpp | 40 int res = pthread_mutex_init (&mMutex, NULL); local 41 if (res != 0) 43 ALOGE ("Mutex::Mutex: fail init; error=0x%X", res); 59 int res = pthread_mutex_destroy (&mMutex); local 60 if (res != 0) 62 ALOGE ("Mutex::~Mutex: fail destroy; error=0x%X", res); 78 int res = pthread_mutex_lock (&mMutex); local 79 if (res != 0) 81 ALOGE ("Mutex::lock: fail lock; error=0x%X", res); 97 int res = pthread_mutex_unlock (&mMutex) local 116 int res = pthread_mutex_trylock (&mMutex); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CarrierLogo.java | 48 Integer res = getLogoMap().get(name); local 49 if (res != null) { 50 return res.intValue();
|