/build/make/tools/aconfig/aconfig_storage_write_api/src/ |
D | flag_info_update.rs | 60 let attribute = read_u8_from_bytes(buf, &mut pos)?; in get_flag_attribute_and_offset() localVariable 61 Ok((attribute, head)) in get_flag_attribute_and_offset() 71 let (attribute, head) = get_flag_attribute_and_offset(buf, flag_type, flag_index)?; in update_flag_has_server_override() 72 let has_override = (attribute & (FlagInfoBit::HasServerOverride as u8)) != 0; in update_flag_has_server_override() 74 buf[head] = (attribute ^ FlagInfoBit::HasServerOverride as u8).to_le_bytes()[0]; in update_flag_has_server_override() 86 let (attribute, head) = get_flag_attribute_and_offset(buf, flag_type, flag_index)?; in update_flag_has_local_override() 87 let has_override = (attribute & (FlagInfoBit::HasLocalOverride as u8)) != 0; in update_flag_has_local_override() 89 buf[head] = (attribute ^ FlagInfoBit::HasLocalOverride as u8).to_le_bytes()[0]; in update_flag_has_local_override() 107 let attribute = find_flag_attribute(&buf, FlagValueType::Boolean, i).unwrap(); in test_update_flag_has_server_override() localVariable 108 assert!((attribute & (FlagInfoBit::HasServerOverride as u8)) != 0); in test_update_flag_has_server_override() [all …]
|
D | lib.rs | 397 let attribute = in test_set_flag_has_server_override() localVariable 399 assert!((attribute & (FlagInfoBit::HasServerOverride as u8)) != 0); in test_set_flag_has_server_override() 401 let attribute = in test_set_flag_has_server_override() localVariable 403 assert!((attribute & (FlagInfoBit::HasServerOverride as u8)) == 0); in test_set_flag_has_server_override() 420 let attribute = in test_set_flag_has_local_override() localVariable 422 assert!((attribute & (FlagInfoBit::HasLocalOverride as u8)) != 0); in test_set_flag_has_local_override() 424 let attribute = in test_set_flag_has_local_override() localVariable 426 assert!((attribute & (FlagInfoBit::HasLocalOverride as u8)) == 0); in test_set_flag_has_local_override()
|
/build/make/tools/aconfig/aconfig_storage_write_api/tests/ |
D | storage_write_api_test.cpp | 111 auto attribute = api::get_flag_attribute( in TEST_F() local 113 ASSERT_TRUE(attribute.ok()); in TEST_F() 114 ASSERT_TRUE(*attribute & api::FlagInfoBit::HasServerOverride); in TEST_F() 119 attribute = api::get_flag_attribute( in TEST_F() 121 ASSERT_TRUE(attribute.ok()); in TEST_F() 122 ASSERT_FALSE(*attribute & api::FlagInfoBit::HasServerOverride); in TEST_F() 136 auto attribute = api::get_flag_attribute( in TEST_F() local 138 ASSERT_TRUE(attribute.ok()); in TEST_F() 139 ASSERT_TRUE(*attribute & api::FlagInfoBit::HasLocalOverride); in TEST_F() 144 attribute = api::get_flag_attribute( in TEST_F() [all …]
|
D | storage_write_api_test.rs | 71 let attribute = in test_set_flag_has_server_override() localVariable 73 assert!((attribute & (FlagInfoBit::HasServerOverride as u8)) != 0); in test_set_flag_has_server_override() 75 let attribute = in test_set_flag_has_server_override() localVariable 77 assert!((attribute & (FlagInfoBit::HasServerOverride as u8)) == 0); in test_set_flag_has_server_override() 93 let attribute = in test_set_flag_has_local_override() localVariable 95 assert!((attribute & (FlagInfoBit::HasLocalOverride as u8)) != 0); in test_set_flag_has_local_override() 97 let attribute = in test_set_flag_has_local_override() localVariable 99 assert!((attribute & (FlagInfoBit::HasLocalOverride as u8)) == 0); in test_set_flag_has_local_override()
|
/build/make/tools/aconfig/aconfig_storage_read_api/src/ |
D | flag_info_query.rs | 63 let attribute = in test_is_flag_sticky() localVariable 65 assert_eq!((attribute & FlagInfoBit::HasServerOverride as u8) != 0u8, false); in test_is_flag_sticky() 75 let attribute = in test_is_flag_readwrite() localVariable 78 (attribute & FlagInfoBit::IsReadWrite as u8) != 0u8, in test_is_flag_readwrite() 89 let attribute = in test_flag_has_override() localVariable 91 assert_eq!((attribute & FlagInfoBit::HasLocalOverride as u8) != 0u8, false); in test_flag_has_override()
|
D | lib.rs | 499 let attribute = in test_flag_info_query() localVariable 501 assert_eq!((attribute & FlagInfoBit::IsReadWrite as u8) != 0u8, expected_value); in test_flag_info_query() 502 assert!((attribute & FlagInfoBit::HasServerOverride as u8) == 0u8); in test_flag_info_query() 503 assert!((attribute & FlagInfoBit::HasLocalOverride as u8) == 0u8); in test_flag_info_query()
|
/build/make/tools/aconfig/aconfig_storage_read_api/tests/ |
D | storage_read_api_test.cpp | 228 auto attribute = api::get_flag_attribute(*mapped_file, api::FlagValueType::Boolean, index); in TEST_F() local 229 ASSERT_TRUE(attribute.ok()); in TEST_F() 230 ASSERT_EQ(*attribute & static_cast<uint8_t>(api::FlagInfoBit::HasServerOverride), 0); in TEST_F() 231 ASSERT_EQ((*attribute & static_cast<uint8_t>(api::FlagInfoBit::IsReadWrite)) != 0, in TEST_F() 233 ASSERT_EQ(*attribute & static_cast<uint8_t>(api::FlagInfoBit::HasLocalOverride), 0); in TEST_F() 244 auto attribute = api::get_flag_attribute(*mapped_file, api::FlagValueType::Boolean, 8); in TEST_F() local 245 ASSERT_FALSE(attribute.ok()); in TEST_F() 246 ASSERT_EQ(attribute.error(), in TEST_F()
|
D | storage_read_api_test.rs | 179 let attribute = in test_flag_info_query() localVariable 181 assert!((attribute & FlagInfoBit::HasServerOverride as u8) == 0u8); in test_flag_info_query() 182 assert_eq!((attribute & FlagInfoBit::IsReadWrite as u8) != 0u8, expected_value); in test_flag_info_query() 183 assert!((attribute & FlagInfoBit::HasLocalOverride as u8) == 0u8); in test_flag_info_query()
|
/build/bazel/rules/cc/ |
D | cc_info_subject.bzl | 47 """Returns a `CollectionSubject` for the `includes` attribute. 57 """Returns a `CollectionSubject` for the `system_includes` attribute. 67 """Returns a `CollectionSubject` for the `headers` attribute.
|
D | fdo_profile_transitions.bzl | 38 # This transition reads the fdo_profile attribute of a rule and set the value
|
/build/bazel_common_rules/exec/ |
D | exec.bzl | 34 See [documentation] for the `args` attribute. 45 Executables in `data` must not have the `args` and `env` attribute. Use 54 Use `$@` to refer to the args attribute of this target. 89 See [documentation] for the `args` attribute. 100 Executables in `data` must not have the `args` and `env` attribute. Use 109 Use `$@` to refer to the args attribute of this target.
|
/build/bazel_common_rules/exec/impl/ |
D | exec.bzl | 56 See [documentation] for the `args` attribute. 66 Executables in `data` must not have the `args` and `env` attribute. Use 76 Use `$@` to refer to the args attribute of this target. 88 See [documentation] for the `args` attribute. 98 Executables in `data` must not have the `args` and `env` attribute. Use 108 Use `$@` to refer to the args attribute of this target.
|
/build/make/core/clang/ |
D | config.mk | 15 returns-nonnull-attribute \
|
/build/bazel/toolchains/rust/bootstrap/ |
D | defs.bzl | 53 # Re-exports libs passed in `srcs` attribute. Used together with 113 The `srcs` attribute should enumerate the libraries and tools. Tools are 114 distinguished from libraries via the `tools` attribute, which should
|
/build/bazel/bazel_sandwich/ |
D | bazel_sandwich_imported_file.bzl | 53 … " to import. In this attribute, $(DeviceName) will be replaced with the device name " + 64 "stamp file that depends on all contents of the foler. In this attribute, " +
|
/build/bazel/rules/android/android_library_aosp_internal/ |
D | attrs.bzl | 37 # Magic attribute name for DexArchiveAspect 114 "specified in the plugins attribute will be run whenever this target " +
|
/build/bazel/rules/android/android_binary_aosp_internal/ |
D | rule.bzl | 23 """Generates a list of aspects to apply to the android_binary deps attribute. 59 …doc = "If the app is updatable, and this attribute is specified, and higher than the value specifi…
|
/build/soong/androidmk/androidmk/ |
D | android.go | 434 func localizePathList(attribute string) func(ctx variableAssignmentContext) error { 438 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, paths, true) 444 func localizePath(attribute string) func(ctx variableAssignmentContext) error { 454 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, &bpparser.List{}, true) 456 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, pathList.Values[0], true) 458 err = fmt.Errorf("Expected single value for %s", attribute)
|
/build/bazel/rules/rust/ |
D | rust_ffi_static.bzl | 32 # TODO: b/305997810 - Support crate_root attribute
|
/build/bazel/rules/java/ |
D | host_for_device.bzl | 31 # This attribute must have a specific name to let the DexArchiveAspect propagate
|
D | java_aidl_library.bzl | 75 # This attribute's name lets the DexArchiveAspect propagate
|
/build/bazel/rules/common/ |
D | sdk_version.bzl | 53 A struct with a kind attribute set to one of the string in ALL_KINDS, and an api_level 54 attribute as returned by api.bzl's parse_api_level_from_version.
|
/build/bazel/product_config/config_settings/ |
D | BUILD.bazel | 53 # attribute value for the same conditions product_variable.<var>, for most 112 # Within bp2build, :safestack-android should be used when an attribute value is
|
/build/make/tools/releasetools/ |
D | pylintrc | 181 # Regular expression matching correct attribute names 184 # Naming hint for attribute names 193 # Regular expression matching correct class attribute names 194 class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ 196 # Naming hint for class attribute names 197 class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
|
/build/bazel/rules/apex/ |
D | apex_info.bzl | 21 …bundle_key_info": "APEX bundle signing public/private key pair (the value of the key: attribute).",
|