/system/core/include/utils/ |
H A D | BitSet.h | 31 uint32_t value; member in struct:android::BitSet32 33 inline BitSet32() : value(0UL) { } 34 explicit inline BitSet32(uint32_t value) : value(value) { } argument 36 // Gets the value associated with a particular bit index. 40 inline void clear() { clear(value); } 42 static inline void clear(uint32_t& value) { value = 0UL; } argument 45 inline uint32_t count() const { return count(value); } 47 count(uint32_t value) argument 52 isEmpty(uint32_t value) argument 57 isFull(uint32_t value) argument 62 hasBit(uint32_t value, uint32_t n) argument 67 markBit(uint32_t& value, uint32_t n) argument 72 clearBit(uint32_t& value, uint32_t n) argument 78 firstMarkedBit(uint32_t value) argument 84 firstUnmarkedBit(uint32_t value) argument 90 lastMarkedBit(uint32_t value) argument 96 clearFirstMarkedBit(uint32_t& value) argument 106 markFirstUnmarkedBit(uint32_t& value) argument 116 clearLastMarkedBit(uint32_t& value) argument 128 getIndexOfBit(uint32_t value, uint32_t n) argument 152 clz_checked(uint32_t value) argument 160 ctz_checked(uint32_t value) argument 173 uint64_t value; member in struct:android::BitSet64 176 BitSet64(uint64_t value) argument 184 clear(uint64_t& value) argument 189 count(uint64_t value) argument 194 isEmpty(uint64_t value) argument 199 isFull(uint64_t value) argument 204 hasBit(uint64_t value, uint32_t n) argument 209 markBit(uint64_t& value, uint32_t n) argument 214 clearBit(uint64_t& value, uint32_t n) argument 220 firstMarkedBit(uint64_t value) argument 226 firstUnmarkedBit(uint64_t value) argument 232 lastMarkedBit(uint64_t value) argument 238 clearFirstMarkedBit(uint64_t& value) argument 248 markFirstUnmarkedBit(uint64_t& value) argument 258 clearLastMarkedBit(uint64_t& value) argument 268 getIndexOfBit(uint64_t value, uint32_t n) argument [all...] |
/system/core/libutils/include/utils/ |
H A D | BitSet.h | 31 uint32_t value; member in struct:android::BitSet32 33 inline BitSet32() : value(0UL) { } 34 explicit inline BitSet32(uint32_t value) : value(value) { } argument 36 // Gets the value associated with a particular bit index. 40 inline void clear() { clear(value); } 42 static inline void clear(uint32_t& value) { value = 0UL; } argument 45 inline uint32_t count() const { return count(value); } 47 count(uint32_t value) argument 52 isEmpty(uint32_t value) argument 57 isFull(uint32_t value) argument 62 hasBit(uint32_t value, uint32_t n) argument 67 markBit(uint32_t& value, uint32_t n) argument 72 clearBit(uint32_t& value, uint32_t n) argument 78 firstMarkedBit(uint32_t value) argument 84 firstUnmarkedBit(uint32_t value) argument 90 lastMarkedBit(uint32_t value) argument 96 clearFirstMarkedBit(uint32_t& value) argument 106 markFirstUnmarkedBit(uint32_t& value) argument 116 clearLastMarkedBit(uint32_t& value) argument 128 getIndexOfBit(uint32_t value, uint32_t n) argument 152 clz_checked(uint32_t value) argument 160 ctz_checked(uint32_t value) argument 173 uint64_t value; member in struct:android::BitSet64 176 BitSet64(uint64_t value) argument 184 clear(uint64_t& value) argument 189 count(uint64_t value) argument 194 isEmpty(uint64_t value) argument 199 isFull(uint64_t value) argument 204 hasBit(uint64_t value, uint32_t n) argument 209 markBit(uint64_t& value, uint32_t n) argument 214 clearBit(uint64_t& value, uint32_t n) argument 220 firstMarkedBit(uint64_t value) argument 226 firstUnmarkedBit(uint64_t value) argument 232 lastMarkedBit(uint64_t value) argument 238 clearFirstMarkedBit(uint64_t& value) argument 248 markFirstUnmarkedBit(uint64_t& value) argument 258 clearLastMarkedBit(uint64_t& value) argument 268 getIndexOfBit(uint64_t value, uint32_t n) argument [all...] |
/system/tpm/attestation/common/ |
H A D | print_interface_proto.h | 28 std::string GetProtoDebugStringWithIndent(AttestationStatus value, 30 std::string GetProtoDebugString(AttestationStatus value); 32 const CreateGoogleAttestedKeyRequest& value, 34 std::string GetProtoDebugString(const CreateGoogleAttestedKeyRequest& value); 36 const CreateGoogleAttestedKeyReply& value, 38 std::string GetProtoDebugString(const CreateGoogleAttestedKeyReply& value); 39 std::string GetProtoDebugStringWithIndent(const GetKeyInfoRequest& value, 41 std::string GetProtoDebugString(const GetKeyInfoRequest& value); 42 std::string GetProtoDebugStringWithIndent(const GetKeyInfoReply& value, 44 std::string GetProtoDebugString(const GetKeyInfoReply& value); [all...] |
H A D | print_interface_proto.cc | 30 std::string GetProtoDebugString(AttestationStatus value) { argument 31 return GetProtoDebugStringWithIndent(value, 0); 34 std::string GetProtoDebugStringWithIndent(AttestationStatus value, argument 36 if (value == STATUS_SUCCESS) { 39 if (value == STATUS_UNEXPECTED_DEVICE_ERROR) { 42 if (value == STATUS_NOT_AVAILABLE) { 45 if (value == STATUS_NOT_READY) { 48 if (value == STATUS_NOT_ALLOWED) { 51 if (value == STATUS_INVALID_PARAMETER) { 54 if (value 63 GetProtoDebugString(const CreateGoogleAttestedKeyRequest& value) argument 67 GetProtoDebugStringWithIndent( const CreateGoogleAttestedKeyRequest& value, int indent_size) argument 115 GetProtoDebugString(const CreateGoogleAttestedKeyReply& value) argument 119 GetProtoDebugStringWithIndent( const CreateGoogleAttestedKeyReply& value, int indent_size) argument 147 GetProtoDebugString(const GetKeyInfoRequest& value) argument 151 GetProtoDebugStringWithIndent(const GetKeyInfoRequest& value, int indent_size) argument 171 GetProtoDebugString(const GetKeyInfoReply& value) argument 175 GetProtoDebugStringWithIndent(const GetKeyInfoReply& value, int indent_size) argument 238 GetProtoDebugString(const GetEndorsementInfoRequest& value) argument 242 GetProtoDebugStringWithIndent( const GetEndorsementInfoRequest& value, int indent_size) argument 260 GetProtoDebugString(const GetEndorsementInfoReply& value) argument 264 GetProtoDebugStringWithIndent(const GetEndorsementInfoReply& value, int indent_size) argument 297 GetProtoDebugString(const GetAttestationKeyInfoRequest& value) argument 301 GetProtoDebugStringWithIndent( const GetAttestationKeyInfoRequest& value, int indent_size) argument 319 GetProtoDebugString(const GetAttestationKeyInfoReply& value) argument 323 GetProtoDebugStringWithIndent( const GetAttestationKeyInfoReply& value, int indent_size) argument 379 GetProtoDebugString(const ActivateAttestationKeyRequest& value) argument 383 GetProtoDebugStringWithIndent( const ActivateAttestationKeyRequest& value, int indent_size) argument 415 GetProtoDebugString(const ActivateAttestationKeyReply& value) argument 419 GetProtoDebugStringWithIndent( const ActivateAttestationKeyReply& value, int indent_size) argument 445 GetProtoDebugString(const CreateCertifiableKeyRequest& value) argument 449 GetProtoDebugStringWithIndent( const CreateCertifiableKeyRequest& value, int indent_size) argument 484 GetProtoDebugString(const CreateCertifiableKeyReply& value) argument 488 GetProtoDebugStringWithIndent( const CreateCertifiableKeyReply& value, int indent_size) argument 530 GetProtoDebugString(const DecryptRequest& value) argument 534 GetProtoDebugStringWithIndent(const DecryptRequest& value, int indent_size) argument 562 GetProtoDebugString(const DecryptReply& value) argument 566 GetProtoDebugStringWithIndent(const DecryptReply& value, int indent_size) argument 591 GetProtoDebugString(const SignRequest& value) argument 595 GetProtoDebugStringWithIndent(const SignRequest& value, int indent_size) argument 623 GetProtoDebugString(const SignReply& value) argument 627 GetProtoDebugStringWithIndent(const SignReply& value, int indent_size) argument 651 GetProtoDebugString(const RegisterKeyWithChapsTokenRequest& value) argument 655 GetProtoDebugStringWithIndent( const RegisterKeyWithChapsTokenRequest& value, int indent_size) argument 676 GetProtoDebugString(const RegisterKeyWithChapsTokenReply& value) argument 680 GetProtoDebugStringWithIndent( const RegisterKeyWithChapsTokenReply& value, int indent_size) argument [all...] |
H A D | print_common_proto.cc | 28 std::string GetProtoDebugString(KeyType value) { argument 29 return GetProtoDebugStringWithIndent(value, 0); 32 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size) { argument 33 if (value == KEY_TYPE_RSA) { 36 if (value == KEY_TYPE_ECC) { 42 std::string GetProtoDebugString(KeyUsage value) { argument 43 return GetProtoDebugStringWithIndent(value, 0); 46 std::string GetProtoDebugStringWithIndent(KeyUsage value, int indent_size) { argument 47 if (value == KEY_USAGE_SIGN) { 50 if (value 56 GetProtoDebugString(CertificateProfile value) argument 60 GetProtoDebugStringWithIndent(CertificateProfile value, int indent_size) argument 83 GetProtoDebugString(const Quote& value) argument 87 GetProtoDebugStringWithIndent(const Quote& value, int indent_size) argument 127 GetProtoDebugString(const EncryptedData& value) argument 131 GetProtoDebugStringWithIndent(const EncryptedData& value, int indent_size) argument 179 GetProtoDebugString(const SignedData& value) argument 183 GetProtoDebugStringWithIndent(const SignedData& value, int indent_size) argument 207 GetProtoDebugString(const EncryptedIdentityCredential& value) argument 211 GetProtoDebugStringWithIndent( const EncryptedIdentityCredential& value, int indent_size) argument [all...] |
H A D | print_common_proto.h | 28 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size); 29 std::string GetProtoDebugString(KeyType value); 30 std::string GetProtoDebugStringWithIndent(KeyUsage value, int indent_size); 31 std::string GetProtoDebugString(KeyUsage value); 32 std::string GetProtoDebugStringWithIndent(CertificateProfile value, 34 std::string GetProtoDebugString(CertificateProfile value); 35 std::string GetProtoDebugStringWithIndent(const Quote& value, int indent_size); 36 std::string GetProtoDebugString(const Quote& value); 37 std::string GetProtoDebugStringWithIndent(const EncryptedData& value, 39 std::string GetProtoDebugString(const EncryptedData& value); [all...] |
/system/tpm/tpm_manager/common/ |
H A D | print_tpm_manager_proto.h | 16 std::string GetProtoDebugStringWithIndent(TpmManagerStatus value, 18 std::string GetProtoDebugString(TpmManagerStatus value); 19 std::string GetProtoDebugStringWithIndent(NvramResult value, int indent_size); 20 std::string GetProtoDebugString(NvramResult value); 21 std::string GetProtoDebugStringWithIndent(NvramSpaceAttribute value, 23 std::string GetProtoDebugString(NvramSpaceAttribute value); 24 std::string GetProtoDebugStringWithIndent(NvramSpacePolicy value, 26 std::string GetProtoDebugString(NvramSpacePolicy value); 27 std::string GetProtoDebugStringWithIndent(const NvramPolicyRecord& value, 29 std::string GetProtoDebugString(const NvramPolicyRecord& value); [all...] |
H A D | print_tpm_manager_proto.cc | 16 std::string GetProtoDebugString(TpmManagerStatus value) { argument 17 return GetProtoDebugStringWithIndent(value, 0); 20 std::string GetProtoDebugStringWithIndent(TpmManagerStatus value, argument 22 if (value == STATUS_SUCCESS) { 25 if (value == STATUS_DEVICE_ERROR) { 28 if (value == STATUS_NOT_AVAILABLE) { 34 std::string GetProtoDebugString(NvramResult value) { argument 35 return GetProtoDebugStringWithIndent(value, 0); 38 std::string GetProtoDebugStringWithIndent(NvramResult value, int indent_size) { argument 39 if (value 69 GetProtoDebugString(NvramSpaceAttribute value) argument 73 GetProtoDebugStringWithIndent(NvramSpaceAttribute value, int indent_size) argument 108 GetProtoDebugString(NvramSpacePolicy value) argument 112 GetProtoDebugStringWithIndent(NvramSpacePolicy value, int indent_size) argument 123 GetProtoDebugString(const NvramPolicyRecord& value) argument 127 GetProtoDebugStringWithIndent(const NvramPolicyRecord& value, int indent_size) argument 172 GetProtoDebugString(const LocalData& value) argument 176 GetProtoDebugStringWithIndent(const LocalData& value, int indent_size) argument 229 GetProtoDebugString(const DefineSpaceRequest& value) argument 233 GetProtoDebugStringWithIndent(const DefineSpaceRequest& value, int indent_size) argument 278 GetProtoDebugString(const DefineSpaceReply& value) argument 282 GetProtoDebugStringWithIndent(const DefineSpaceReply& value, int indent_size) argument 299 GetProtoDebugString(const DestroySpaceRequest& value) argument 303 GetProtoDebugStringWithIndent(const DestroySpaceRequest& value, int indent_size) argument 318 GetProtoDebugString(const DestroySpaceReply& value) argument 322 GetProtoDebugStringWithIndent(const DestroySpaceReply& value, int indent_size) argument 339 GetProtoDebugString(const WriteSpaceRequest& value) argument 343 GetProtoDebugStringWithIndent(const WriteSpaceRequest& value, int indent_size) argument 379 GetProtoDebugString(const WriteSpaceReply& value) argument 383 GetProtoDebugStringWithIndent(const WriteSpaceReply& value, int indent_size) argument 400 GetProtoDebugString(const ReadSpaceRequest& value) argument 404 GetProtoDebugStringWithIndent(const ReadSpaceRequest& value, int indent_size) argument 433 GetProtoDebugString(const ReadSpaceReply& value) argument 437 GetProtoDebugStringWithIndent(const ReadSpaceReply& value, int indent_size) argument 461 GetProtoDebugString(const LockSpaceRequest& value) argument 465 GetProtoDebugStringWithIndent(const LockSpaceRequest& value, int indent_size) argument 504 GetProtoDebugString(const LockSpaceReply& value) argument 508 GetProtoDebugStringWithIndent(const LockSpaceReply& value, int indent_size) argument 525 GetProtoDebugString(const ListSpacesRequest& value) argument 529 GetProtoDebugStringWithIndent(const ListSpacesRequest& value, int indent_size) argument 539 GetProtoDebugString(const ListSpacesReply& value) argument 543 GetProtoDebugStringWithIndent(const ListSpacesReply& value, int indent_size) argument 569 GetProtoDebugString(const GetSpaceInfoRequest& value) argument 573 GetProtoDebugStringWithIndent(const GetSpaceInfoRequest& value, int indent_size) argument 588 GetProtoDebugString(const GetSpaceInfoReply& value) argument 592 GetProtoDebugStringWithIndent(const GetSpaceInfoReply& value, int indent_size) argument 643 GetProtoDebugString(const GetTpmStatusRequest& value) argument 647 GetProtoDebugStringWithIndent(const GetTpmStatusRequest& value, int indent_size) argument 657 GetProtoDebugString(const GetTpmStatusReply& value) argument 661 GetProtoDebugStringWithIndent(const GetTpmStatusReply& value, int indent_size) argument 723 GetProtoDebugString(const TakeOwnershipRequest& value) argument 727 GetProtoDebugStringWithIndent(const TakeOwnershipRequest& value, int indent_size) argument 737 GetProtoDebugString(const TakeOwnershipReply& value) argument 741 GetProtoDebugStringWithIndent(const TakeOwnershipReply& value, int indent_size) argument 758 GetProtoDebugString(const RemoveOwnerDependencyRequest& value) argument 762 GetProtoDebugStringWithIndent( const RemoveOwnerDependencyRequest& value, int indent_size) argument 781 GetProtoDebugString(const RemoveOwnerDependencyReply& value) argument 785 GetProtoDebugStringWithIndent( const RemoveOwnerDependencyReply& value, int indent_size) argument [all...] |
/system/core/debuggerd/libdebuggerd/test/ |
H A D | property_fake.cpp | 26 extern "C" int property_set(const char* name, const char* value) { argument 30 g_properties[name] = value; 34 extern "C" int property_get(const char* key, char* value, const char* default_value) { argument 39 strncpy(value, default_value, PROP_VALUE_MAX-1); 41 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); 43 value[PROP_VALUE_MAX-1] = '\0'; 44 return strlen(value);
|
/system/update_engine/update_manager/ |
H A D | boxed_value.cc | 44 string BoxedValue::ValuePrinter<string>(const void* value) { argument 45 const string* val = reinterpret_cast<const string*>(value); 50 string BoxedValue::ValuePrinter<int>(const void* value) { argument 51 const int* val = reinterpret_cast<const int*>(value); 56 string BoxedValue::ValuePrinter<unsigned int>(const void* value) { argument 57 const unsigned int* val = reinterpret_cast<const unsigned int*>(value); 62 string BoxedValue::ValuePrinter<int64_t>(const void* value) { argument 63 const int64_t* val = reinterpret_cast<const int64_t*>(value); 68 string BoxedValue::ValuePrinter<uint64_t>(const void* value) { argument 70 reinterpret_cast<const uint64_t*>(value); 75 ValuePrinter(const void* value) argument 81 ValuePrinter(const void* value) argument 87 ValuePrinter(const void* value) argument 93 ValuePrinter(const void* value) argument 99 ValuePrinter(const void* value) argument 105 ValuePrinter(const void* value) argument 119 ValuePrinter(const void* value) argument 137 ValuePrinter(const void* value) argument 164 ValuePrinter(const void* value) argument [all...] |
/system/bt/osi/test/ |
H A D | properties_test.cc | 28 char value[PROPERTY_VALUE_MAX] = {0}; local 29 osi_property_get("very.useful.test", value, "very_useful_value"); 30 ASSERT_STREQ(value, "very_useful_value"); 34 char value[PROPERTY_VALUE_MAX] = "nothing_interesting"; local 35 int ret = osi_property_set("very.useful.set.test", value); 44 int32_t value = 42; local 45 int32_t rvalue = osi_property_get_int32("very.useful.test", value); 46 ASSERT_EQ(rvalue, value); 50 char value[PROPERTY_VALUE_MAX] = "42"; local 51 int ret = osi_property_set("very.useful.set.test", value); [all...] |
/system/bt/osi/src/ |
H A D | properties.cc | 23 int osi_property_get(const char* key, char* value, const char* default_value) { argument 25 /* For linux right now just return default value, if present */ 32 memcpy(value, default_value, len); 33 value[len] = '\0'; 36 return property_get(key, value, default_value); 40 int osi_property_set(const char* key, const char* value) { argument 44 return property_set(key, value);
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | packet.h | 57 // - the value of |value| fits in |octets| bytes and 59 bool AddPayloadOctets(size_t octets, uint64_t value); 63 bool AddPayloadOctets1(uint8_t value) { return AddPayloadOctets(1, value); } argument 64 bool AddPayloadOctets2(uint16_t value) { return AddPayloadOctets(2, value); } argument 65 bool AddPayloadOctets3(uint32_t value) { return AddPayloadOctets(3, value); } argument 66 bool AddPayloadOctets4(uint32_t value) { retur argument 67 AddPayloadOctets6(uint64_t value) argument 68 AddPayloadOctets8(uint64_t value) argument [all...] |
/system/bt/osi/include/ |
H A D | future.h | 29 // Constructs a new future_t object with an immediate |value|. No waiting will 30 // occur in the call to |future_await| because the value is already present. 32 future_t* future_new_immediate(void* value); 34 // Signals that the |future| is ready, passing |value| back to the context 37 void future_ready(future_t* future, void* value); 39 // Waits for the |future| to be ready. Returns the value set in |future_ready|.
|
H A D | properties.h | 28 // Get value associated with key |key| into |value|. 29 // Returns the length of the value which will never be greater than 32 // If the property read fails or returns an empty value, the |default_value| 34 int osi_property_get(const char* key, char* value, const char* default_value); 36 // Write value of property associated with key |key| to |value|. 38 int osi_property_set(const char* key, const char* value); 43 // returns the value of |key| truncated and coerced into an
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_bitstream.h | 53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM* bs, uint16_t value, 78 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ 84 (result) = (value) << (bitPtr); \ 89 (value) = ((value) << 8) | *(ptr)++; \ 95 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ 98 (value) |= (datum) << (bitPtr); \ 102 *(ptr)++ = (uint8_t)((value) >> 24); \ 103 (value) <<= 8; \ 107 #define OI_BITSTREAM_WRITEFLUSH(ptr, value, bitPt [all...] |
/system/core/libunwindstack/tests/ |
H A D | MemoryFake.h | 37 void SetData8(uint64_t addr, uint8_t value) { argument 38 SetMemory(addr, &value, sizeof(value)); 41 void SetData16(uint64_t addr, uint16_t value) { argument 42 SetMemory(addr, &value, sizeof(value)); 45 void SetData32(uint64_t addr, uint32_t value) { argument 46 SetMemory(addr, &value, sizeof(value)); 49 void SetData64(uint64_t addr, uint64_t value) { argument [all...] |
H A D | MemoryFake.cpp | 27 auto value = data_.find(addr); local 28 if (value != data_.end()) { 29 value->second = src[i]; 39 auto value = data_.find(addr); local 40 if (value == data_.end()) { 43 dst[i] = value->second;
|
/system/security/keystore/ |
H A D | keystore_attestation_id.h | 29 StatusOr(const T& value) : _status(NO_ERROR), _value(value) {} argument 30 StatusOr(T&& value) : _status(NO_ERROR), _value(value) {} argument 40 const T& value() const & { return _value; } function in class:android::security::StatusOr 41 T& value() & { return _value; } function in class:android::security::StatusOr 42 T&& value() && { return std::move(_value); } function in class:android::security::StatusOr
|
/system/core/include/log/ |
H A D | log_event_list.h | 91 int android_log_write_int32(android_log_context ctx, int32_t value); 92 int android_log_write_int64(android_log_context ctx, int64_t value); 93 int android_log_write_string8(android_log_context ctx, const char* value); 94 int android_log_write_string8_len(android_log_context ctx, const char* value, 96 int android_log_write_float32(android_log_context ctx, float value); 166 android_log_event_list& operator<<(int32_t value) { argument 167 int retval = android_log_write_int32(ctx, value); 172 android_log_event_list& operator<<(uint32_t value) { argument 173 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); 178 android_log_event_list& operator<<(int64_t value) { argument 184 operator <<(uint64_t value) argument 190 operator <<(const char* value) argument 197 operator <<(const std::string& value) argument 205 operator <<(float value) argument 231 AppendInt(int32_t value) argument 237 AppendLong(int64_t value) argument 243 AppendString(const char* value) argument 249 AppendString(const char* value, size_t len) argument 256 AppendString(const std::string& value) argument 263 Append(const std::string& value) argument 271 AppendFloat(float value) argument 278 Append(Tvalue value) argument 283 Append(const char* value, size_t len) argument [all...] |
/system/core/libcutils/arch-mips/ |
H A D | android_memset.c | 36 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 41 *dst++ = value; 47 *dst++ = value; 52 uint32_t value32 = (((uint32_t)value) << 16) | ((uint32_t)value); 55 dst[size-1] = value; /* fill unpaired last elem */ 63 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 68 *dst++ = value; 74 *dst++ = value; 79 uint64_t value64 = (((uint64_t)value) << 3 [all...] |
/system/core/liblog/include/log/ |
H A D | log_event_list.h | 91 int android_log_write_int32(android_log_context ctx, int32_t value); 92 int android_log_write_int64(android_log_context ctx, int64_t value); 93 int android_log_write_string8(android_log_context ctx, const char* value); 94 int android_log_write_string8_len(android_log_context ctx, const char* value, 96 int android_log_write_float32(android_log_context ctx, float value); 166 android_log_event_list& operator<<(int32_t value) { argument 167 int retval = android_log_write_int32(ctx, value); 172 android_log_event_list& operator<<(uint32_t value) { argument 173 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); 178 android_log_event_list& operator<<(int64_t value) { argument 184 operator <<(uint64_t value) argument 190 operator <<(const char* value) argument 197 operator <<(const std::string& value) argument 205 operator <<(float value) argument 231 AppendInt(int32_t value) argument 237 AppendLong(int64_t value) argument 243 AppendString(const char* value) argument 249 AppendString(const char* value, size_t len) argument 256 AppendString(const std::string& value) argument 263 Append(const std::string& value) argument 271 AppendFloat(float value) argument 278 Append(Tvalue value) argument 283 Append(const char* value, size_t len) argument [all...] |
/system/bt/btif/include/ |
H A D | btif_config.h | 32 bool btif_config_get_int(const char* section, const char* key, int* value); 33 bool btif_config_set_int(const char* section, const char* key, int value); 34 bool btif_config_get_str(const char* section, const char* key, char* value, 37 const char* value); 38 bool btif_config_get_bin(const char* section, const char* key, uint8_t* value, 41 const uint8_t* value, size_t length);
|
/system/update_engine/common/ |
H A D | mock_prefs.h | 32 bool(const std::string& key, std::string* value)); 34 const std::string& value)); 35 MOCK_CONST_METHOD2(GetInt64, bool(const std::string& key, int64_t* value)); 36 MOCK_METHOD2(SetInt64, bool(const std::string& key, const int64_t value)); 38 MOCK_CONST_METHOD2(GetBoolean, bool(const std::string& key, bool* value)); 39 MOCK_METHOD2(SetBoolean, bool(const std::string& key, const bool value));
|
H A D | prefs_unittest.cc | 51 bool SetValue(const string& key, const string& value) { argument 52 return base::WriteFile(prefs_dir_.Append(key), value.data(), 53 value.length()) == static_cast<int>(value.length()); 66 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); 82 string value; local 83 EXPECT_TRUE(prefs_.GetString(kKey, &value)); 84 EXPECT_EQ(test_data, value); 88 string value; local 93 string value; local 100 string value; local 116 string value; local 134 int64_t value; local 141 int64_t value; local 148 int64_t value; local 150 EXPECT_EQ(std::numeric_limits<int64_t>::max(), value); local 156 int64_t value; local 158 EXPECT_EQ(std::numeric_limits<int64_t>::min(), value); local 163 int64_t value; local 169 int64_t value; local 175 string value; local 188 string value; local 196 string value; local 204 bool value; local 212 bool value; local 220 bool value; local 227 bool value; local 232 bool value; local 239 string value; local 247 string value; local 348 int64_t value = 0; local [all...] |