/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8996/utils/ |
MsgTask.cpp | 88 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); local 89 if (eMSG_Q_SUCCESS != result) { 91 loc_get_msg_q_status(result));
|
/hardware/ril/reference-ril/ |
at_tok.c | 153 int result; local 155 ret = at_tok_nextint(p_cur, &result); 162 if (!(result == 0 || result == 1)) { 167 *p_out = (char)result;
|
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
timm_osal_memory.c | 206 TIMM_OSAL_S32 result = memcmp(pBuffer1, pBuffer2, uSize); local 208 if (result > 0) 211 } else if (result < 0)
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
timm_osal_memory.c | 206 TIMM_OSAL_S32 result = memcmp(pBuffer1, pBuffer2, uSize); local 208 if (result > 0) 211 } else if (result < 0)
|
/libcore/benchmarks/src/benchmarks/ |
AdditionBenchmark.java | 24 int result = 0; local 26 result += 123; 28 return result; 31 int result = 0; local 34 result += constant; 36 return result; 39 long result = 0; local 41 result += 123L; 43 return result; 46 long result = 0 local 54 float result = 0.0f; local 61 float result = 0.0f; local 69 double result = 0.0; local 76 double result = 0.0; local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
CharsetBenchmark.java | 70 StringBuilder result = new StringBuilder(length); local 72 result.append('A' + (i % 26)); 74 return result.toString();
|
DoubleBenchmark.java | 24 long result = 123; local 26 result = Double.doubleToLongBits(d); 28 if (result != l) { 29 throw new RuntimeException(Long.toString(result)); 34 long result = 123; local 36 result = Double.doubleToRawLongBits(d); 38 if (result != l) { 39 throw new RuntimeException(Long.toString(result)); 44 double result = 123.0; local 46 result = Double.longBitsToDouble(l) [all...] |
FloatBenchmark.java | 24 int result = 123; local 26 result = Float.floatToIntBits(f); 28 if (result != i) { 29 throw new RuntimeException(Integer.toString(result)); 34 int result = 123; local 36 result = Float.floatToRawIntBits(f); 38 if (result != i) { 39 throw new RuntimeException(Integer.toString(result)); 44 float result = 123.0f; local 46 result = Float.intBitsToFloat(i) [all...] |
IntConstantDivisionBenchmark.java | 21 int result = 1; local 23 result /= 2; 25 return result; 28 int result = 1; local 30 result /= 8; 32 return result; 35 int result = 1; local 37 result /= 10; 39 return result; 42 int result = 1 local 49 int result = 1; local 56 int result = 1; local 63 int result = 1; local 71 int result = 1; local [all...] |
IntConstantMultiplicationBenchmark.java | 21 int result = 1; local 23 result *= 6; 25 return result; 28 int result = 1; local 30 result *= 7; 32 return result; 35 int result = 1; local 37 result *= 8; 39 return result; 42 int result = 1 local 49 int result = 1; local 56 int result = 1; local 63 int result = 1; local 70 int result = 1; local 77 int result = 1; local 84 int result = 1; local 92 int result = 1; local [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
EncodedValueCodec.java | 124 int result = 0; local 126 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); 128 result >>= (3 - zwidth) * 8; 129 return result; 139 int result = 0; local 142 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); 144 result >>>= (3 - zwidth) * 8; 147 result = (result >>> 8) | ((in.readByte() & 0xff) << 24) 159 long result = 0; local 174 long result = 0; local [all...] |
Mutf8.java | 67 long result = 0; local 72 ++result; 74 result += 2; 76 result += 3; 78 if (shortLength && result > 65535) { 82 return result; 111 byte[] result = new byte[utfCount]; 112 encode(result, 0, s); 113 return result;
|
TypeList.java | 47 StringBuilder result = new StringBuilder(); local 48 result.append("("); 50 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]); 52 result.append(")"); 53 return result.toString();
|
/libcore/luni/src/main/java/libcore/io/ |
NioBufferIterator.java | 54 byte result = Memory.peekByte(address + position); 56 return result; 60 int result = Memory.peekInt(address + position, swap); local 62 return result; 71 short result = Memory.peekShort(address + position, swap); local 73 return result;
|
/libcore/luni/src/main/java/libcore/reflect/ |
ListOfTypes.java | 53 Type[] result = resolvedTypes; local 54 if (result == null) { 55 result = resolveTypes(types); 56 resolvedTypes = result; 58 return result; 66 Type[] result = new Type[size]; local 70 result[i] = ((ParameterizedTypeImpl) type).getResolvedType(); 72 result[i] = type; 75 return result; 79 StringBuilder result = new StringBuilder() local [all...] |
/libcore/luni/src/main/java/libcore/util/ |
CollectionUtils.java | 64 T result = next; local 67 return result;
|
HexEncoding.java | 40 char[] result = new char[len * 2]; local 44 result[resultIndex] = (HEX_DIGITS[(b >>> 4) & 0x0f]); 45 result[resultIndex + 1] = (HEX_DIGITS[b & 0x0f]); 48 return result; 54 * as the lower bits of the first result byte. 60 byte[] result = new byte[resultLengthBytes]; 66 // Odd number of digits -- the first digit is the lower 4 bits of the first result byte. 67 result[resultOffset++] = (byte) toDigit(encoded, i); 77 result[resultOffset++] = (byte) ((toDigit(encoded, i) << 4) | toDigit(encoded, i + 1)); 80 return result; [all...] |
/libcore/luni/src/main/native/ |
java_util_regex_Pattern.cpp | 96 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); local 100 return static_cast<jlong>(reinterpret_cast<uintptr_t>(result));
|
valueOf.cpp | 29 jobject result = env->CallStaticObjectMethod(c, valueOfMethod, value); local 33 return result;
|