Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 176) sorted by relevance

12345678

/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c23 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits) in atomicBitsetInit() argument
25 set->numBits = numBits; in atomicBitsetInit()
26 memset(set->words, 0, sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numBits)); in atomicBitsetInit()
28 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
31 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set) in atomicBitsetGetNumBits() argument
33 return set->numBits; in atomicBitsetGetNumBits()
36 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num) in atomicBitsetGetBit() argument
38 if (num >= set->numBits) /* any value is as good as the next */ in atomicBitsetGetBit()
41 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
44 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num) in atomicBitsetClearBit() argument
[all …]
/device/google/contexthub/firmware/os/cpu/x86/
DatomicBitset.c24 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits) in atomicBitsetInit() argument
26 set->numBits = numBits; in atomicBitsetInit()
27 memset(set->words, 0, (numBits + 31) / 8); in atomicBitsetInit()
29 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
32 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set) in atomicBitsetGetNumBits() argument
34 return set->numBits; in atomicBitsetGetNumBits()
37 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num) in atomicBitsetGetBit() argument
39 if (num >= set->numBits) /* any value is as good as the next */ in atomicBitsetGetBit()
42 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
45 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num) in atomicBitsetClearBit() argument
[all …]
/device/google/cuttlefish_vmm/
Dupdate-manifest-gfxstream.py28 gfxstream_projects = set([
77 outp.set("name", e.attrib["name"])
78 outp.set("path", e.attrib["path"])
79 outp.set("revision", e.attrib["revision"])
80 outp.set("clone-depth", "1")
93 e.set("revision", current_gfxstream_projects[e.attrib["name"]].attrib["revision"])
94 e.set("clone-depth", "1")
97 projects_to_add = gfxstream_projects - set(found_projects)
102 outp.set("name", project_element.attrib["name"])
103 outp.set("path", project_element.attrib["path"])
[all …]
/device/google/contexthub/firmware/os/inc/
DatomicBitset.h36 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits); //inited state is all zeroes
37 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set);
38 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num);
39 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num);
40 void atomicBitsetSetBit(struct AtomicBitset *set, uint32_t num);
45 int32_t atomicBitsetFindClearAndSet(struct AtomicBitset *set);
60 bool atomicBitsetBulkRead(struct AtomicBitset *set, uint32_t *dest, uint32_t numBits);
/device/google/coral/vibrator/
DHardware.h54 bool setF0(uint32_t value) override { return set(value, mF0); } in setF0()
55 bool setRedc(uint32_t value) override { return set(value, mRedc); } in setRedc()
56 bool setQ(uint32_t value) override { return set(value, mQ); } in setQ()
57 bool setActivate(bool value) override { return set(value, mActivate); } in setActivate()
58 bool setDuration(uint32_t value) override { return set(value, mDuration); } in setDuration()
60 bool setEffectIndex(uint32_t value) override { return set(value, mEffectIndex); } in setEffectIndex()
61 bool setEffectQueue(std::string value) override { return set(value, mEffectQueue); } in setEffectQueue()
63 bool setEffectScale(uint32_t value) override { return set(value, mEffectScale); } in setEffectScale()
64 bool setGlobalScale(uint32_t value) override { return set(value, mGlobalScale); } in setGlobalScale()
65 bool setState(bool value) override { return set(value, mState); } in setState()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera.cpp57 mParameters.set(EmulatedCamera::FACING_KEY, facing); in Initialize()
60 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
83 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
85 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
90 mParameters.set(CameraParameters::KEY_SUPPORTED_ANTIBANDING, in Initialize()
92 mParameters.set(CameraParameters::KEY_ANTIBANDING, in Initialize()
94 mParameters.set(CameraParameters::KEY_SUPPORTED_EFFECTS, in Initialize()
96 mParameters.set(CameraParameters::KEY_EFFECT, CameraParameters::EFFECT_NONE); in Initialize()
DEmulatedCamera.cpp103 mParameters.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, in Initialize()
106 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, "512"); in Initialize()
107 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, "384"); in Initialize()
108 mParameters.set(CameraParameters::KEY_JPEG_QUALITY, "90"); in Initialize()
109 mParameters.set(CameraParameters::KEY_FOCAL_LENGTH, "4.31"); in Initialize()
110 mParameters.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, "54.8"); in Initialize()
111 mParameters.set(CameraParameters::KEY_VERTICAL_VIEW_ANGLE, "42.5"); in Initialize()
112 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, "90"); in Initialize()
118 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, in Initialize()
125 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, in Initialize()
[all …]
DEmulatedQemuCamera.cpp63 mParameters.set(EmulatedCamera::FACING_KEY, facing_dir); in Initialize()
64 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
66 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, frame_dims); in Initialize()
67 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, frame_dims); in Initialize()
/device/generic/goldfish/camera/
DEmulatedFakeCamera.cpp69 mParameters.set(EmulatedCamera::FACING_KEY, facing); in Initialize()
72 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
74 mParameters.set(CameraParameters::KEY_ROTATION, in Initialize()
88 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
90 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
92 mParameters.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in Initialize()
94 mParameters.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in Initialize()
DEmulatedQemuCamera.cpp139 mParameters.set(EmulatedCamera::FACING_KEY, facing_dir); in Initialize()
140 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
142 mParameters.set(CameraParameters::KEY_ROTATION, in Initialize()
144 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
146 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
148 mParameters.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in Initialize()
153 mParameters.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in Initialize()
DEmulatedCamera.cpp137 mParameters.set(CameraParameters::KEY_RECORDING_HINT, in Initialize()
139 mParameters.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, "320x240,0x0"); in Initialize()
141 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, "320"); in Initialize()
142 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, "240"); in Initialize()
143 mParameters.set(CameraParameters::KEY_JPEG_QUALITY, "90"); in Initialize()
151 mParameters.set(CameraParameters::KEY_FOCAL_LENGTH, "4.90"); in Initialize()
152 mParameters.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, "61.0"); in Initialize()
153 mParameters.set(CameraParameters::KEY_VERTICAL_VIEW_ANGLE, "45.8"); in Initialize()
154 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, "90"); in Initialize()
160 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, in Initialize()
[all …]
/device/google/cuttlefish/tests/hal/
Dhal_implementation_test.cpp26 static const std::set<std::string> kKnownMissingHidl = {
93 static const std::set<std::string> kKnownMissingAidl = {
140 static std::set<FQName> allTreeHidlInterfaces() { in allTreeHidlInterfaces()
141 std::set<FQName> ret; in allTreeHidlInterfaces()
150 static std::set<FQName> allHidlManifestInterfaces() { in allHidlManifestInterfaces()
151 std::set<FQName> ret; in allHidlManifestInterfaces()
172 static std::set<std::string> allAidlManifestInterfaces() { in allAidlManifestInterfaces()
173 std::set<std::string> ret; in allAidlManifestInterfaces()
194 std::map<std::string, std::map<size_t, std::set<size_t>>> unimplemented; in TEST()
206 std::set<std::string> thoughtMissing = kKnownMissingHidl; in TEST()
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
DatomicBitset.h33 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits);
34 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set);
35 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num);
36 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num);
37 int32_t atomicBitsetFindClearAndSet(struct AtomicBitset *set);
/device/google/contexthub/firmware/os/cpu/x86/inc/cpu/
DatomicBitset.h32 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits);
33 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set);
34 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num);
35 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num);
36 int32_t atomicBitsetFindClearAndSet(struct AtomicBitset *set);
/device/generic/goldfish/qemu-props/
Dqemu-props.cpp184 char set[64]; in sendMessage() local
185 snprintf(set, sizeof(set), "%s", mesg); in sendMessage()
186 int pipe_command_length = strlen(set)+1; //including trailing '\0' in sendMessage()
188 qemu_pipe_write_fully(s_QemuMiscPipe, set, pipe_command_length); in sendMessage()
190 if (pipe_command_length > (int)(sizeof(set)) || pipe_command_length <= 0) in sendMessage()
192 qemu_pipe_read_fully(s_QemuMiscPipe, set, pipe_command_length); in sendMessage()
/device/google/bonito/json-c/
DDoxyfile35 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
66 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
73 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
75 # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
91 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
97 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
104 # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
105 # path before files name in the file list and in the header files. If set
110 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
128 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
[all …]
/device/google/crosshatch/json-c/
DDoxyfile35 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
66 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
73 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
75 # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
91 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
97 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
104 # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
105 # path before files name in the file list and in the header files. If set
110 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
128 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
[all …]
/device/google/coral/json-c/
DDoxyfile35 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
66 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
73 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
75 # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
91 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
97 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
104 # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
105 # path before files name in the file list and in the header files. If set
110 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
128 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidThreadStore.h83 void set(void* value);
85 inline void set(void* value) { in set() function
92 set(value); in swap()
136 void set(T* t) { in set() function
/device/google/cuttlefish/host/commands/launch/
Dflag_forwarder.h26 std::set<std::string> subprocesses_;
27 std::set<std::unique_ptr<SubprocessFlag>> flags_;
30 FlagForwarder(std::set<std::string> subprocesses);
/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc56 std::set<std::string> FallbackPaths() { in FallbackPaths()
57 std::set<std::string> paths; in FallbackPaths()
83 std::set<std::string> PathsForInstance(const cuttlefish::CuttlefishConfig& config, in PathsForInstance()
100 std::set<pid_t> GetCandidateProcessGroups(const std::set<std::string>& paths) { in GetCandidateProcessGroups()
113 std::set<pid_t> ret{}; in GetCandidateProcessGroups()
128 int FallBackStop(const std::set<std::string>& paths) { in FallBackStop()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DBluetoothChecker.java44 mEnabled.set(new Exception("No bluetooth adapter found")); in execute()
48 mEnabled.set(true); in execute()
59 mEnabled.set(e); in onDependencyFailed()
DGceFuture.java43 public boolean set(T value) { in set() method in GceFuture
44 if (super.set(value)) { in set()
54 public void set(Exception e) { in set() method in GceFuture
/device/google/cuttlefish/common/libs/fs/
Dshared_select.h38 typedef std::set<SharedFD>::iterator iterator;
39 typedef std::set<SharedFD>::const_iterator const_iterator;
67 std::set<SharedFD> value_;
/device/google/contexthub/firmware/os/platform/stm32/misc/
Dm3debug.script17 set flash-start 08000000
18 set flash-size 00080000
19 set flash-block 00000400
20 set flash-buffer 20000200

12345678