browser |
|
|
gtest |
|
|
python.toml |
|
71 |
test_generate_static_pref_list.py |
- name: my.bool
type: bool
value: false
mirror: never
- name: my.int
type: int32_t
value: -123
mirror: once
do_not_use_directly: false
rust: false
- mirror: always
value: 999
type: uint32_t
name: my.uint
rust: true
- name: my.float # A comment.
type: float # A comment.
do_not_use_directly: true # A comment.
value: 0.0f # A comment.
mirror: once # A comment.
rust: true # A comment.
# A comment.
- name: my.string
type: String
value: foo"bar # The double quote needs escaping.
mirror: never
include: foobar.h
# A comment.
- name: my.string2
type: String
value: "foobar" # This string is quoted.
mirror: never
# A comment.
- name: my.atomic.bool
type: RelaxedAtomicBool
value: true
mirror: always
rust: true
# A comment.
- name: my.datamutex.string
type: DataMutexString
value: "foobar" # This string is quoted.
mirror: always
# Mirrored string-valued prefs are interesting in Rust.
- name: my.datamutex.string.rust
type: DataMutexString
value: ""
mirror: always
rust: true
# YAML+Python interprets `10 + 10 * 20` as a string, and so it is printed
# unchanged.
- name: my.atomic.int
type: ReleaseAcquireAtomicInt32
value: 10 + 10 * 20
mirror: always
do_not_use_directly: true # A comment.
# YAML+Python changes `0x44` to `68` because it interprets the value as an
# integer.
- name: my.atomic.uint
type: SequentiallyConsistentAtomicUint32
value: 0x44
mirror: once
# YAML+Python changes `.4455667` to `0.4455667` because it interprets the value
# as a float.
- name: my-dashed.atomic.float
type: AtomicFloat
value: .4455667
mirror: never
include: <math.h>
|
11363 |
unit |
|
|
unit_ipc |
|
|