/system/bt/stack/avct/ |
avct_ccb.c | 78 void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr) 98 (*p_cback)(avct_ccb_to_idx(p_ccb), event, result, bd_addr); local
|
/system/core/libcutils/ |
ashmem-host.c | 76 int result = fstat(fd, &buf); local 77 if (result == -1) {
|
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
strsuftoll.c | 110 * Returns the result upon successful conversion, or exits with an 119 long long result; local 122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); 125 return result;
|
/system/extras/simpleperf/ |
dwarf_unwind.cpp | 99 std::vector<uint64_t> result; local 102 return result; 107 return result; 132 result.push_back(it->pc); 135 return result;
|
/system/gatekeeper/include/gatekeeper/ |
gatekeeper_utils.h | 50 uint8_t result = 0; local 52 result |= *s1++ ^ *s2++; 53 return result == 0 ? 0 : 1;
|
/system/keymaster/ |
android_keymaster_utils.cpp | 24 // result of a bug. We arbitrarily set a 16 MiB limit. 39 uint8_t result = 0; local 41 result |= *s1++ ^ *s2++; 42 return result == 0 ? 0 : 1;
|
logger.cpp | 34 int result = Log(level, fmt, args); local 36 return result; 43 int result = Log(DEBUG_LVL, fmt, args); local 45 return result; 52 int result = Log(INFO_LVL, fmt, args); local 54 return result; 60 int result = Log(WARNING_LVL, fmt, args); local 62 return result; 68 int result = Log(ERROR_LVL, fmt, args); local 70 return result; 76 int result = Log(SEVERE_LVL, fmt, args); local [all...] |
/system/tpm/tpm_manager/server/ |
local_data_store_impl.cc | 85 int result = HANDLE_EINTR(fsync(dir_fd)); local 86 if (result < 0) { 92 result = IGNORE_EINTR(close(dir_fd)); 93 if (result < 0) {
|
tpm_connection.cc | 48 TSS_RESULT result; local 50 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(context_.value(), 52 TPM_LOG(ERROR, result) << "Error getting a handle to the TPM."; 63 TSS_RESULT result; local 65 if (TPM_ERROR(result = Tspi_GetPolicyObject(tpm_handle, 68 TPM_LOG(ERROR, result) << "Error calling Tspi_GetPolicyObject"; 71 if (TPM_ERROR(result = Tspi_Policy_SetSecret( 76 TPM_LOG(ERROR, result) << "Error calling Tspi_Policy_SetSecret"; 86 TSS_RESULT result; local 87 if (TPM_ERROR(result = Tspi_Context_Create(context_.ptr()))) [all...] |
/system/tpm/trunks/ |
blob_parser.cc | 34 TPM_RC result = Serialize_TPM2B_PUBLIC(public_info, key_blob); local 35 if (result != TPM_RC_SUCCESS) { 36 LOG(ERROR) << "Error serializing public info: " << GetErrorString(result); 39 result = Serialize_TPM2B_PRIVATE(private_info, key_blob); 40 if (result != TPM_RC_SUCCESS) { 41 LOG(ERROR) << "Error serializing private info: " << GetErrorString(result); 58 TPM_RC result = Parse_TPM2B_PUBLIC(&mutable_key_blob, public_info, nullptr); local 59 if (result != TPM_RC_SUCCESS) { 60 LOG(ERROR) << "Error parsing public info: " << GetErrorString(result); 63 result = Parse_TPM2B_PRIVATE(&mutable_key_blob, private_info, nullptr) 77 TPM_RC result = Serialize_TPM2B_CREATION_DATA(creation_data, creation_blob); local 107 TPM_RC result = Parse_TPM2B_CREATION_DATA(&mutable_creation_blob, local [all...] |
/system/update_engine/common/ |
hwid_override.cc | 40 string result; local 41 if (lsb_release.GetString(kHwidOverrideKey, &result)) 42 return result;
|
/system/update_engine/payload_consumer/ |
install_plan.cc | 88 bool result = true; local 91 result = boot_control->GetPartitionDevice( 92 partition.name, source_slot, &partition.source_path) && result; 98 result = boot_control->GetPartitionDevice( 99 partition.name, target_slot, &partition.target_path) && result; 104 return result;
|
/system/update_engine/update_manager/ |
real_random_provider.cc | 54 uint64_t result; variable 56 char* const buf = reinterpret_cast<char*>(&result); 59 while (buf_rd < sizeof(result)) { 60 int rd = fread(buf + buf_rd, 1, sizeof(result) - buf_rd, fp_.get()); 72 return new uint64_t(result);
|
/toolchain/binutils/binutils-2.25/gold/ |
int_encoding.cc | 42 uint64_t result = static_cast<uint64_t>(byte & 0x7f); local 56 result |= (static_cast<uint64_t>(byte & 0x7f)) << shift; 63 return result; 75 int64_t result = static_cast<uint64_t>(byte & 0x7f); local 89 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); 94 if ((shift < 8 * static_cast<int>(sizeof(result))) && (byte & 0x40)) 95 result |= -((static_cast<int64_t>(1)) << shift); 97 return result;
|
/toolchain/binutils/binutils-2.25/include/ |
leb128.h | 50 Note: The result is an int instead of a pointer to the next byte to be 59 uint64_t result = 0; local 68 result |= ((uint64_t) (byte & 0x7f)) << shift; 74 *r = result; 83 Note: The result is an int instead of a pointer to the next byte to be 92 int64_t result = 0; local 101 result |= ((uint64_t) (byte & 0x7f)) << shift; 107 result |= -(((uint64_t) 1) << shift); 109 *r = result; 116 Note: The result is an int instead of a pointer to the next byte to b [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
vsnprintf.c | 63 int result = vasprintf (&buf, format, ap); local 67 if (result < 0) 73 result = strlen (buf); 76 if ((long) n > result) 77 memcpy (s, buf, result+1); 85 return result; 97 int result; local 100 result = vsnprintf (s, n, format, ap); 102 return result;
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
ScanResultTest.java | 50 ScanResult result = new ScanResult(device, TestUtils.parseScanRecord(SCAN_RECORD), RSSI, local 53 result.writeToParcel(parcel, 0); 71 ScanResult result = new ScanResult(device, TestUtils.parseScanRecord(SCAN_RECORD), RSSI, local 73 assertEquals(0, result.describeContents());
|
/cts/tests/tests/print/src/android/print/cts/services/ |
CustomPrintOptionsActivity.java | 59 Intent result = new Intent(); local 68 result.putExtra(PrintService.EXTRA_PRINT_JOB_INFO, 73 setResult(Activity.RESULT_OK, result);
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
HexDump.java | 30 StringBuilder result = new StringBuilder(); local 35 result.append("\n0x"); 36 result.append(toHexString(offset)); 42 result.append(" "); 48 result.append(new String(line, j, 1)); 52 result.append("."); 56 result.append("\n0x"); 57 result.append(toHexString(i)); 62 result.append(" "); 63 result.append(HEX_DIGITS[(b >>> 4) & 0x0F]) [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliCompositeElement.java | 54 List<ASTNode> result = ImmutableList.of(); local 58 if (result.size() == 0) { 59 result = new ArrayList<ASTNode>(); 61 result.add((ASTNode)child.getPsi()); 65 return result; 71 List<T> result = new ArrayList<T>(); local 73 if (aClass.isInstance(cur)) result.add((T)cur); 75 return result.toArray((T[]) Array.newInstance(aClass, result.size()));
|
/external/testng/src/main/java/org/testng/xml/dom/ |
DomXmlParser.java | 20 XmlSuite result = null; local 22 result = parse2(currentFile, inputStream, loadClasses); 27 return result; 44 XmlSuite result = new XmlSuite(); local 45 xpu.populate(result); 51 // Object result = expr.evaluate(doc, XPathConstants.NODESET); 52 // NodeList nodes = (NodeList) result; 63 // Object result = expr.evaluate(doc, XPathConstants.STRING); 64 // System.out.println("NAME:" + result); 66 System.out.println(result.toXml()) [all...] |
/external/testng/src/test/java/test/mustache/ |
MustacheTest.java | 88 Map<String, Object> result = Maps.newHashMap(); local 90 result.put((String) objects[i], objects[i + 1]); 92 return result;
|
/external/vogar/src/vogar/ |
JavaVm.java | 71 Classpath result = new Classpath(); local 72 result.addAll(run.classpath); 73 result.addAll(run.hostJar(action)); 83 result.addAll(new File("/usr/share/java/bcprov.jar")); 85 result.addAll(run.resourceClasspath); 86 return result;
|
/external/vogar/src/vogar/android/ |
ActivityMode.java | 55 Set<Task> result = new LinkedHashSet<Task>(); local 56 result.add(run.target.rmTask(action.getUserDir())); 57 result.add(new UninstallApkTask(run.androidSdk, action.getName())); 58 return result;
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpAckPacket.java | 57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 61 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, 63 result.flip(); 64 return result;
|