Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 52) sorted by relevance

123

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_uri.c148 uint32_t off = *offset; in EncodeComp() local
156 buf[off] = sepChar; in EncodeComp()
157 off++; in EncodeComp()
160 if (memcpy_s(buf + off, avail, key, keyLen) != EOK) { in EncodeComp()
163 off += keyLen; in EncodeComp()
171 buf[off] = value[i]; in EncodeComp()
172 off++; in EncodeComp()
179 buf[off] = '%'; in EncodeComp()
180 off++; in EncodeComp()
181 buf[off] = (char) HexEncode(value[i] >> 4); // higher 4 bits of the char byte in EncodeComp()
[all …]
Drbtree.c48 uint32_t off; member
448 if (sz > (UINT32_MAX - ctx->off)) { in Encoder()
455 if (ctx->off + sz > ctx->len) { in Encoder()
459 uint8_t *buf = ctx->buf + ctx->off; in Encoder()
460 if (memcpy_s(buf, ctx->len - ctx->off, &key, keySize) != EOK) { in Encoder()
465 if (memcpy_s(buf, ctx->len - ctx->off - keySize, &valueSize, sizeof(uint32_t)) != EOK) { in Encoder()
478 ctx->off += sz; in Encoder()
490 .off = 0, in RbTreeEncode()
500 *size = ctx.off; in RbTreeEncode()
512 uint32_t off = 0; in RbTreeDecode() local
[all …]
/base/telephony/state_registry/interfaces/kits/js/
D@ohos.telephony.observer.d.ts72 function off(type: 'networkStateChange', callback?: Callback<NetworkState>): void; function
102 function off(type: 'signalInfoChange', callback?: Callback<Array<SignalInformation>>): void; function
138 function off(type: 'cellInfoChange', callback?: Callback<Array<CellInformation>>): void; function
173 function off(type: 'cellularDataConnectionStateChange', function
206 function off(type: 'cellularDataFlowChange', callback?: Callback<DataFlowType>): void; function
238 …function off(type: 'callStateChange', callback?: Callback<{ state: CallState, number: string }>): … function
271 function off(type: 'simStateChange', callback?: Callback<SimStateData>): void; function
/base/sensors/sensor/interfaces/plugin/test/
DExampleJsunit.test_ambientlight.js68 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT);
84 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT);
155 sensor.off(string, "");
176 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, onSensorCallback);
196 sensor.off(1000000, onSensorCallback);
215 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT);
232 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback);
237 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2);
255 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT);
273 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback);
[all …]
DExampleJsunit.test_rotatingvector.js74 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR);
90 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR);
161 sensor.off(string, "");
182 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, onSensorCallback);
202 sensor.off(1000000, onSensorCallback);
221 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR);
238 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback);
243 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2);
261 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR);
279 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback);
[all …]
DExampleJsunit.test_orientating.js72 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION);
88 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION);
159 sensor.off(string, "");
180 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, onSensorCallback);
200 sensor.off(1000000, onSensorCallback);
219 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION);
236 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback);
241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2);
259 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION);
277 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback);
[all …]
DExampleJsunit.test_gravity.js72 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY);
88 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY);
159 sensor.off(string, "");
180 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, onSensorCallback);
200 sensor.off(1000000, onSensorCallback);
219 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY);
236 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback);
241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2);
259 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY);
277 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback);
[all …]
DExampleJsunit.test_acc.js71 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER);
87 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER);
158 sensor.off(string, "");
179 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, onSensorCallback);
199 sensor.off(1000000, onSensorCallback);
218 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER);
235 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback);
240 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2);
258 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER);
276 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback);
[all …]
DExampleJsunit.test_magnetic.js72 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD);
88 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD);
159 sensor.off(string, "");
180 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, onSensorCallback);
200 sensor.off(1000000, onSensorCallback);
219 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD);
236 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback);
241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2);
259 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD);
277 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback);
[all …]
/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_format_impl.cpp26 int off = 0; in ConvertSignAndNum() local
30 off = ReplaceAndCountOff(strContent, i + off, data->decimal, off); in ConvertSignAndNum()
33 off = ReplaceAndCountOff(strContent, i + off, data->group, off); in ConvertSignAndNum()
36 off = ReplaceAndCountOff(strContent, i + off, data->percent, off); in ConvertSignAndNum()
42 off = ConvertNum(strContent, content[i], data, i, off); in ConvertSignAndNum()
49 const NumberData *data, int index, int off) const in ConvertNum()
54 ReplaceAndCountOff(strContent, index + off, data->nativeNums[charPos].c_str(), off) : off; in ConvertNum()
Dstr_util.cpp25 int ReplaceAndCountOff(std::string &content, const int index, const char *sign, const int off) in ReplaceAndCountOff() argument
28 return off; in ReplaceAndCountOff()
32 return off + signLen - 1; in ReplaceAndCountOff()
/base/inputmethod/imf/unitest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
DKeyboardController.ts54 globalThis.inputEngine.off('inputStart');
55 globalThis.inputEngine.off('inputStop');
/base/telephony/state_registry/
DREADME_zh.md58 | function off(type: String, callback?: AsyncCallback\<T\>): void; | 关闭订阅 |
86 3. 可以通过off方法取消订阅。取消订阅之后,不会再收到任何回调。
104 observer.off('callStateChange', (err, value) => {
111 console.log(`success off`);
DREADME.md47 | function off(type: String, callback?: AsyncCallback\<T\>): void; | Deregisters an observer. |
74 3. Call the **off** method to deregister the observer. After the observer is deregistered, no ca…
92 observer.off('callStateChange', (err, value) => {
99 console.log(`success off`);
/base/sensors/medical_sensor/
DREADME_ZH.md58 | `off(type: SensorType, callback?: Callback<Response>)` | 取消订阅传感器数据。参数与`on`前两个参数一样。 |
77 medical.off(medical.MedicalSensorType.TYPE_ID_PHOTOPLETHYSMOGRAPH, (data) => {
96 medical.off(medical.MedicalSensorType.TYPE_ID_PHOTOPLETHYSMOGRAPH, (data) => {
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dscreen_state_collection.cpp74 bool off = receiver->Start(CommonEventSupport::COMMON_EVENT_SCREEN_OFF, handlerOff); in RegisterEvent() local
75 if (!off) { in RegisterEvent()
/base/sensors/medical_sensor/interfaces/jsapi/
D@ohos.medical.d.ts41 …function off(type: MedicalSensorType.TYPE_ID_PHOTOPLETHYSMOGRAPH, callback?: Callback<PpgResponse>…
/base/startup/syspara_lite/interfaces/kits/js/
D@ohos.systemparameter.d.ts153 off(eventType: 'valueChange', callback?: ParameterChangeCallback): void; method
/base/global/i18n_lite/frameworks/i18n/include/
Dstr_util.h25 int ReplaceAndCountOff(std::string &content, const int index, const char *sign, const int off);
/base/startup/init/interfaces/kits/jskits/
D@ohos.systemparameter.d.ts153 off(eventType: 'valueChange', callback?: ParameterChangeCallback): void; method
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Ddmesg-ramoops-036 …] [pid:2679,cpu1,kworker/u12:4,1][loadmonitor&freqdump]:media0_monitor_read:is power off,is allowed
38 …:2679,cpu1,kworker/u12:4,3][loadmonitor&freqdump]:media1_monitor_read:is power off,is allowed,ret:0
47 …] [pid:3157,cpu0,kworker/u12:1,2][loadmonitor&freqdump]:media0_monitor_read:is power off,is allowed
49 …:3157,cpu0,kworker/u12:1,4][loadmonitor&freqdump]:media1_monitor_read:is power off,is allowed,ret:0
69 …] [pid:2964,cpu0,kworker/u12:5,4][loadmonitor&freqdump]:media0_monitor_read:is power off,is allowed
71 …:2964,cpu0,kworker/u12:5,6][loadmonitor&freqdump]:media1_monitor_read:is power off,is allowed,ret:0
90 …] [pid:2964,cpu1,kworker/u12:5,5][loadmonitor&freqdump]:media0_monitor_read:is power off,is allowed
92 …:2964,cpu1,kworker/u12:5,7][loadmonitor&freqdump]:media1_monitor_read:is power off,is allowed,ret:0
104 …] [pid:2961,cpu2,kworker/u12:2,9][loadmonitor&freqdump]:media0_monitor_read:is power off,is allowed
106 …:2961,cpu2,kworker/u12:2,1][loadmonitor&freqdump]:media1_monitor_read:is power off,is allowed,ret:0
[all …]
/base/request/request/test/unittest/common/napi/requestTest/
DRequestUploadTest.js230 uploadTask.off('progress', function (data1, data2) {
271 uploadTask.off('headerReceive', (header) => {
349 uploadTask.off('complete', () => {
354 uploadTask.off('fail', () => {
/base/sensors/miscdevice_lite/
DREADME.md8 …can call APIs to control the vibration of vibrators and lighting-on and lighting-off of LED lights.
/base/telephony/call_manager/interfaces/kits/js/
D@ohos.telephony.call.d.ts554 function off(type: 'callDetailsChange', callback?: Callback<CallAttributeOptions>): void;
586 function off(type: 'callEventChange', callback?: Callback<CallEventOptions>): void;
618 function off(type: 'callDisconnectedCause', callback?: Callback<DisconnectedDetails>): void;
652 function off(type: 'mmiCodeResult', callback?: Callback<MmiCodeResults>): void;
/base/hiviewdfx/hilog/
DREADME_zh.md117 … | --privacy | <on/off> …
119 … | | off
120 … | | <on/off> …
122 … | | off

123