/frameworks/base/tools/aapt/tests/ |
H A D | Pseudolocales_test.cpp | 31 String16 result = pseudo.start() + pseudo.text(String16(String8(input))) + pseudo.end(); local 32 //std::cout << String8(result).string() << std::endl; 33 ASSERT_EQ(String8(expected), String8(result)); 39 String16 result = pseudo.start() + \ local 44 ASSERT_EQ(String8(expected), String8(result)); 213 String16 result = pseudo.text(String16(String8("Hello, "))); local 215 result.append(pseudo.text(String16(String8("world!")))); 216 ASSERT_EQ(String8("Ĥéļļö, world!"), String8(result));
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
H A D | pass-struct.c | 35 int result = test_struct(s); local 36 return(result == 20 ? 0 : -1);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | SectionData.cpp | 32 SectionData* result = g_SectDataFactory->allocate(); local 33 new (result) SectionData(pSection); 34 return result;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | ContextFactory.cpp | 25 LDContext* result = find(pPath); local 26 if (result == NULL) { 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 28 new (result) LDContext(); 29 f_KeyMap.insert(std::make_pair(pPath, result)); 31 return result; 39 LDContext* result = allocate(); local 40 new (result) LDContext(); 41 return result;
|
/frameworks/native/include/binder/ |
H A D | SafeInterface.h | 53 status_t result = read(parcel, &u); local 55 return result; 285 // Retrieve the result code from the reply Parcel 286 status_t result = NO_ERROR; 287 error = reply.readInt32(&result); 289 ALOG(LOG_ERROR, mLogTag, "Failed to obtain result"); 295 return result; 461 status_t result = MethodCaller<ParamTuple>::call(this, method, &rawArgs); 470 // Return the result code in the reply Parcel 471 error = reply->writeInt32(result); [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | SafeInterface.h | 53 status_t result = read(parcel, &u); local 55 return result; 285 // Retrieve the result code from the reply Parcel 286 status_t result = NO_ERROR; 287 error = reply.readInt32(&result); 289 ALOG(LOG_ERROR, mLogTag, "Failed to obtain result"); 295 return result; 461 status_t result = MethodCaller<ParamTuple>::call(this, method, &rawArgs); 470 // Return the result code in the reply Parcel 471 error = reply->writeInt32(result); [all...] |
/frameworks/native/libs/vr/libdvrcommon/tests/ |
H A D | numeric_test.cpp | 60 Eigen::Vector3d result = RandomInRange(lo, hi); local 63 EXPECT_LE(lo[j], result[j]); 64 EXPECT_GE(hi[j], result[j]);
|
/frameworks/wilhelm/src/objects/ |
H A D | CAudioRecorder.cpp | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_audioRecorder_realize(thiz, async); 33 return result;
|
H A D | CMediaPlayer.cpp | 29 XAresult result = XA_RESULT_SUCCESS; local 35 result = android_Player_realize(thiz, async); 38 return result;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | dim.c | 36 SLresult result; local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 41 assert(SL_RESULT_SUCCESS == result); 43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 44 assert(SL_RESULT_SUCCESS == result); 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 46 assert(SL_RESULT_SUCCESS == result); 50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); 51 assert(SL_RESULT_SUCCESS == result); 55 result [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 50 android::status_t result = clearKeyPlugin->getInitStatus(); local 51 if (result == android::OK) { 57 return result;
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
H A D | input_monitor_callback.cpp | 36 aaudio_result_t result; local 46 result = recorder.open(2, 48000, AAUDIO_FORMAT_PCM_I16, 48 if (result != AAUDIO_OK) { 49 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result); 55 result = recorder.start(); 56 if (result != AAUDIO_OK) { 57 fprintf(stderr, "ERROR - recorder.start() returned %d\n", result); 70 result = AAudioStream_waitForStateChange(recorder.getStream(), 74 if (result != AAUDIO_OK) { 75 fprintf(stderr, "ERROR - AAudioStream_waitForStateChange() returned %d\n", result); [all...] |
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioExampleUtils.h | 45 int result = clock_gettime(clockId, &time); local 46 if (result < 0) {
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | AudioClock.h | 35 int result = clock_gettime(clockId, &time); local 36 if (result < 0) {
|
H A D | FixedBlockReader.cpp | 31 int32_t result = FixedBlockAdapter::open(bytesPerFixedBlock); local 33 return result; 48 int32_t result = 0; local 50 while(bytesLeft > 0 && result == 0) { 58 result = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); 63 result = mFixedBlockProcessor.onProcessFixedBlock(mStorage, mSize); 67 return result;
|
H A D | FixedBlockWriter.cpp | 39 int32_t result = 0; local 49 result = mFixedBlockProcessor.onProcessFixedBlock(mStorage, mSize); 55 while(bytesLeft > mSize && result == 0) { 56 result = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); 66 return result;
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.h | 63 Word32 result; local 65 "SMULWB %[result], %[L_var2], %[var1] \n" 66 :[result]"=r"(result) 69 return result;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | l_mac.h | 110 Word32 result; local 115 __asm {SMULBB result, var1, var2} local 116 __asm {QDADD L_sum, L_var3, result} 127 Word32 result; local 132 : "=r"(result) 138 : "r"(ra), "r"(result) 148 Word32 result; local 150 result = (Word32) var1 * var2; 151 if (result != (Word32) 0x40000000L) 153 L_sum = (result << [all...] |
H A D | l_msu.h | 112 Word32 result; local 119 QDSUB result, L_var3, product local 122 return (result); 133 Word32 result; local 143 : "=r"(result) 147 return (result); 154 Word32 result; local 156 result = L_mult(var1, var2, pOverflow); 157 result = L_sub(L_var3, result, pOverflo [all...] |
H A D | mpy_32.h | 149 register Word32 L_product, result; local 164 : "=r"(result) 169 : "r"(result), "r"(L_product) 228 /* result = mult (L_var1_hi, L_var2_lo, pOverflow); */ 231 /* L_product = L_mac (L_product, result, 1, pOverflow); */ 244 /* result = mult (L_var1_lo, L_var2_hi, pOverflow); */ 247 /* L_product = L_mac (L_product, result, 1, pOverflow); */
|
H A D | mpy_32_16.h | 101 Word32 result; local 107 __asm {SMULBB result, L_var1_lo, var2} local 108 result >>= 15; 109 __asm {QDADD L_sum, L_product, result} 124 Word32 result, L_product; local 133 : "=r"(result) 138 : "r"(result), "r"(L_product) 142 : "=r"(result) 148 : "r"(result) 151 : "=r"(result) 167 Word32 result; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | div_32.cpp | 46 that the result will not saturate. 104 result = 32-bit quotient of of the division of two 32 bit integers 125 3. result = L_num * (1/L_denom). 179 Word32 result; local 187 result = Mpy_32_16(L_denom_hi, L_denom_lo, approx, pOverflow); 188 /* result is > 0 , and less than 1.0 */ 189 result = 0x7fffffffL - result; 191 hi = (Word16)(result >> 16); 192 lo = (result >> [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_adapt.cpp | 418 Word16 result; /* alpha factor, Q13 */ local 473 filt = gmed_n(st->ltpg_mem, 5); /* function result */ 479 result = 0; 485 result = 16384; /* 16384 Q15 = 0.5 */ 488 { /* result = 0.5 - 0.75257499*filt */ 489 /* result (Q15) = 16384 - 24660 * (filt << 2) */ 491 result = mult(24660, filt, pOverflow); 492 result = sub(16384, result, pOverflow); 498 result [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioHwDevice.cpp | 97 bool result; local 98 return mHwDevice->supportsAudioPatches(&result) == OK ? result : false;
|
/frameworks/av/services/mediaresourcemanager/ |
H A D | ServiceLog.cpp | 43 String8 result; local 45 addLine(log.string(), linePrefix, &result); 48 addLine("...", linePrefix, &result); 50 addLine("[no events yet]", linePrefix, &result); 52 return result; 55 void ServiceLog::addLine(const char *log, const char *prefix, String8 *result) const { 57 result->append(prefix); 59 result->append(log); 60 result->append("\n");
|