Searched refs:field_len (Results 1 – 4 of 4) sorted by relevance
/system/bt/service/common/bluetooth/ |
D | advertise_data.cc | 38 for (size_t i = 0, field_len = 0; i < len; i += (field_len + 1)) { in IsValid() local 39 field_len = data_[i]; in IsValid() 43 if (i + field_len >= len) { in IsValid() 50 if (field_len < 1) return false; in IsValid()
|
/system/bt/service/ |
D | low_energy_scanner.cc | 45 for (size_t i = 0, field_len = 0; i < kScanRecordLength; in GetScanRecordLength() local 46 i += (field_len + 1)) { in GetScanRecordLength() 47 field_len = bytes[i]; in GetScanRecordLength() 52 CHECK(i + field_len < kScanRecordLength); in GetScanRecordLength() 57 if (field_len == 0) return i; in GetScanRecordLength()
|
/system/keymaster/ |
D | nist_curve_key_exchange_test.cpp | 106 size_t field_len = (field_len_in_bits + 7) / 8; in TEST() local 107 size_t public_key_len = (field_len * 2) + 1; in TEST() 124 UniquePtr<uint8_t[]> result(new uint8_t[field_len]); in TEST() 125 EXPECT_EQ(-1 /* error */, ECDH_compute_key(result.get(), field_len, point_at_infinity, in TEST()
|
/system/vold/ |
D | cryptfs.cpp | 3178 unsigned int field_len; in match_multi_entry() local 3180 field_len = strlen(field); in match_multi_entry() 3189 if (strlen(key) < field_len + 1 + 1) { in match_multi_entry() 3193 if (strncmp(key, field, field_len)) { in match_multi_entry() 3197 if (1 != sscanf(&key[field_len],"_%d", &key_index)) { in match_multi_entry()
|