Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:circularBuf
(Results
1 - 7
of
7
) sorted by relevance
/base/sensors/sensor/utils/common/src/
H
A
D
report_data_callback.cpp
28
eventsBuf_.
circularBuf
= new (std::nothrow) SensorData[CIRCULAR_BUF_LEN];
in ReportDataCallback()
29
CHKPL(eventsBuf_.
circularBuf
);
in ReportDataCallback()
37
if (eventsBuf_.
circularBuf
!= nullptr) {
in ~ReportDataCallback()
38
delete[] eventsBuf_.
circularBuf
;
in ~ReportDataCallback()
39
eventsBuf_.
circularBuf
= nullptr;
in ~ReportDataCallback()
41
eventsBuf_.
circularBuf
= nullptr;
in ~ReportDataCallback()
50
if (cb == nullptr || cb->eventsBuf_.
circularBuf
== nullptr) {
in ReportEventCallback()
51
SEN_HILOGE("Callback or
circularBuf
or event cannot be null");
in ReportEventCallback()
61
cb->eventsBuf_.
circularBuf
[0] = *sensorData;
in ReportEventCallback()
64
cb->eventsBuf_.
circularBuf
[c
in ReportEventCallback()
[all...]
/base/sensors/medical_sensor/utils/src/
H
A
D
report_data_cache.cpp
37
eventsBuf_.
circularBuf
= new struct SensorEvent[CIRCULAR_BUF_LEN];
in ReportDataCache()
45
if (eventsBuf_.
circularBuf
!= nullptr) {
in ~ReportDataCache()
46
delete[] eventsBuf_.
circularBuf
;
in ~ReportDataCache()
48
eventsBuf_.
circularBuf
= nullptr;
in ~ReportDataCache()
56
if (cache == nullptr || cache->eventsBuf_.
circularBuf
== nullptr || event == nullptr) {
in CacheData()
57
HiLog::Error(LABEL, "%{public}s callback or
circularBuf
or event cannot be null", __func__);
in CacheData()
78
cache->eventsBuf_.
circularBuf
[0] = eventCopy;
in CacheData()
81
cache->eventsBuf_.
circularBuf
[cache->eventsBuf_.writePosition] = eventCopy;
in CacheData()
/base/sensors/sensor/test/unittest/coverage/
H
A
D
report_data_callback_test.cpp
63
if (callback->eventsBuf_.
circularBuf
!= nullptr) {
in HWTEST_F()
64
delete[] callback->eventsBuf_.
circularBuf
;
in HWTEST_F()
65
callback->eventsBuf_.
circularBuf
= nullptr;
in HWTEST_F()
67
callback->eventsBuf_.
circularBuf
= nullptr;
in HWTEST_F()
/base/sensors/medical_sensor/utils/include/
H
A
D
report_data_cache.h
30
struct SensorEvent *
circularBuf
;
member
/base/sensors/sensor/utils/common/include/
H
A
D
report_data_callback.h
28
struct SensorData *
circularBuf
;
member
/base/sensors/medical_sensor/services/medical_sensor/src/
H
A
D
medical_data_processer.cpp
308
uint32_t sensorId = eventsBuf.
circularBuf
[eventsBuf.readPosition].sensorTypeId;
in EventFilter()
313
realSensorId = eventsBuf.
circularBuf
[eventsBuf.readPosition].sensorTypeId;
in EventFilter()
327
SendEvents(channel.flushChannel, eventsBuf.
circularBuf
[eventsBuf.readPosition]);
in EventFilter()
352
SendEvents(channel, eventsBuf.
circularBuf
[eventsBuf.readPosition]);
in EventFilter()
375
delete eventsBuf.
circularBuf
[eventsBuf.readPosition].data;
in ProcessEvents()
376
eventsBuf.
circularBuf
[eventsBuf.readPosition].data = nullptr;
in ProcessEvents()
/base/sensors/sensor/services/src/
H
A
D
sensor_data_processer.cpp
257
int32_t sensorId = eventsBuf.
circularBuf
[eventsBuf.readPos].sensorTypeId;
in EventFilter()
261
SendEvents(channel, eventsBuf.
circularBuf
[eventsBuf.readPos]);
in EventFilter()
Completed in 6 milliseconds