Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 138) sorted by relevance

123456

/hardware/nxp/nfc/halimpl/log/
DphNxpLog.cc57 unsigned long num = 0; in phNxpLog_SetGlobalLogLevel() local
63 sscanf(valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel()
64 level = (unsigned char)num; in phNxpLog_SetGlobalLogLevel()
80 unsigned long num = 0; in phNxpLog_SetHALLogLevel() local
84 if (GetNxpNumValue(NAME_NXPLOG_HAL_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetHALLogLevel()
86 (level > (unsigned char)num) ? level : (unsigned char)num; in phNxpLog_SetHALLogLevel()
93 sscanf(valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel()
94 gLog_level.hal_log_level = (unsigned char)num; in phNxpLog_SetHALLogLevel()
108 unsigned long num = 0; in phNxpLog_SetExtnsLogLevel() local
111 if (GetNxpNumValue(NAME_NXPLOG_EXTNS_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetExtnsLogLevel()
[all …]
/hardware/google/av/media/sfplugin/
DSkipCutBuffer.cpp137 void SkipCutBuffer::write(const char *src, size_t num) { in write() argument
145 if (available < num) { in write()
146 int32_t newcapacity = mCapacity + (num - available); in write()
156 if (copyfirst > num) copyfirst = num; in write()
159 num -= copyfirst; in write()
164 if (num) { in write()
165 memcpy(mCutBuffer, src, num); in write()
166 mWriteHead += num; in write()
171 size_t SkipCutBuffer::read(char *dst, size_t num) { in read() argument
179 if (available < int32_t(num)) { in read()
[all …]
DSkipCutBuffer.h51 void write(const char *src, size_t num);
52 size_t read(char *dst, size_t num);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c44 int num; /**< Number of differnt save entities */ member
75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store()
81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
86 ds.hd[ds.num].size = size; in inv_register_load_store()
87 ds.load[ds.num] = load_func; in inv_register_load_store()
88 ds.save[ds.num] = save_func; in inv_register_load_store()
90 ds.num++; in inv_register_load_store()
112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry()
186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c44 int num; /**< Number of differnt save entities */ member
75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store()
81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
86 ds.hd[ds.num].size = size; in inv_register_load_store()
87 ds.load[ds.num] = load_func; in inv_register_load_store()
88 ds.save[ds.num] = save_func; in inv_register_load_store()
90 ds.num++; in inv_register_load_store()
112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry()
186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
/hardware/google/av/codec2/tests/
DC2_test.cpp29 inline constexpr static int num() { return N; } in num() function
39 static_assert(c2_const_checker<min_i32_i32>::num() == 1, "should be 1");
40 static_assert(c2_const_checker<min_i32_i64>::num() == 2, "should be 2");
41 static_assert(c2_const_checker<min_i8_i32>::num() == 0xffffffff, "should be 0xffffffff");
50 static_assert(c2_const_checker<min_u32_u32>::num() == 1, "should be 1");
51 static_assert(c2_const_checker<min_u32_u64>::num() == 2, "should be 2");
52 static_assert(c2_const_checker<min_u32_u8>::num() == 0xff, "should be 0xff");
61 static_assert(c2_const_checker<max_i32_i32>::num() == 2, "should be 2");
62 static_assert(c2_const_checker<max_i32_i64>::num() == 3, "should be 3");
63 static_assert(c2_const_checker<max_i8_i32>::num() == 0xffffffff, "should be 0xffffffff");
[all …]
/hardware/interfaces/media/omx/1.0/
DIOmxStore.hal38 * num: 0 | [1-9][0-9]*
40 * size: <num>x<num>
41 * ratio: <num>:<num>
54 * key: 'max-video-encoder-input-buffers', value-type: num
79 * key: 'bitrate-range', value-type: range<num>
80 * key: 'max-concurrent-instances', value-type: num
81 * key: 'max-supported-instances', value-type: num
84 * key: 'max-channel-count', value-type: num
85 * key: 'sample-rate-ranges', value-type: list<range<num>>
90 * key: 'block-count-range', value-type: range<num>
[all …]
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc135 unsigned long num = 0; in phNxpNciHal_initialize_debug_enabled_flag() local
137 if(GetNxpNumValue(NAME_NFC_DEBUG_ENABLED, &num, sizeof(num))) { in phNxpNciHal_initialize_debug_enabled_flag()
138 nfc_debug_enabled = (num == 0) ? false : true; in phNxpNciHal_initialize_debug_enabled_flag()
418 unsigned long num = 0; in phNxpNciHal_CheckValidFwVersion() local
445 GetNxpNumValue(NAME_NXP_FW_PROTECION_OVERRIDE, &num, sizeof(num)); in phNxpNciHal_CheckValidFwVersion()
447 if (num == 0x01) { in phNxpNciHal_CheckValidFwVersion()
477 unsigned long num = 0; in phNxpNciHal_get_clk_freq() local
484 isfound = GetNxpNumValue(NAME_NXP_SYS_CLK_SRC_SEL, &num, sizeof(num)); in phNxpNciHal_get_clk_freq()
486 nxpprofile_ctrl.bClkSrcVal = num; in phNxpNciHal_get_clk_freq()
489 num = 0; in phNxpNciHal_get_clk_freq()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp331 static int parseScanResults(wifi_scan_result *results, int num, nlattr *attr) in parseScanResults() argument
333 memset(results, 0, sizeof(wifi_scan_result) * num); in parseScanResults()
336 for (nl_iterator it(attr); it.has_next() && i < num; it.next(), i++) { in parseScanResults()
365 if (i >= num) { in parseScanResults()
845 wifi_cached_scan_results *results, int max, int *num) in GetScanResultsCommand() argument
846 : WifiCommand("GetScanResultsCommand", iface, -1), mScans(results), mMax(max), mNum(num), in GetScanResultsCommand()
850 int createRequest(WifiRequest& request, int num, byte flush) { in createRequest() argument
857 result = request.put_u32(GSCAN_ATTRIBUTE_NUM_OF_RESULTS, num); in createRequest()
939 int scan_id = 0, flags = 0, num = 0, scan_ch_bucket_mask = 0; in handleResponse() local
948 num = it2.get_u32(); in handleResponse()
[all …]
/hardware/nxp/secure_element/libese-spi/p73/lib/
DphNxpEse_Api.cpp93 unsigned long int num; in phNxpEse_init() local
101 num = EseConfig::getUnsigned(NAME_NXP_WTX_COUNT_VALUE); in phNxpEse_init()
102 protoInitParam.wtx_counter_limit = num; in phNxpEse_init()
195 unsigned long int num = 0; in phNxpEse_open() local
197 num = EseConfig::getUnsigned(NAME_NXP_POWER_SCHEME); in phNxpEse_open()
198 nxpese_ctxt.pwr_scheme = num; in phNxpEse_open()
199 ALOGE("Power scheme read from config file - %lu", num); in phNxpEse_open()
202 ALOGE("Power scheme not defined in config file - %lu", num); in phNxpEse_open()
347 unsigned long int num = 0, tpm_enable = 0; in phNxpEse_openPrioSession() local
364 num = EseConfig::getUnsigned(NAME_NXP_POWER_SCHEME); in phNxpEse_openPrioSession()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp228 size_t num = this->configs.size(); in get_display_configs() local
229 if (num > *numConfigs) in get_display_configs()
230 num = *numConfigs; in get_display_configs()
232 for (size_t i = 0; i < num; i++) in get_display_configs()
235 *numConfigs = num; in get_display_configs()
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h47 constexpr auto operator""_KiB(unsigned long long const num) {
48 return num * 1024;
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_exif.c316 val_rat.num = (uint32_t)(apex_value * 100); in process_sensor_data()
323 val_rat.num = (uint32_t)(p_sensor_params->aperture_value * 100); in process_sensor_data()
415 val_rat.num = 0; in process_3a_data()
418 val_rat.num = 1; in process_3a_data()
421 val_rat.num = ROUND(p_3a_params->exp_time); in process_3a_data()
424 LOGD("numer %d denom %d %zd", val_rat.num, val_rat.denom, in process_3a_data()
436 val_srat.num = (int32_t)(shutter_speed_value * 1000); in process_3a_data()
439 val_srat.num = 0; in process_3a_data()
505 val_srat.num = (int32_t) (p_3a_params->brightness * 100.0f); in process_3a_data()
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.cpp450 for(int num = 1; num < MAX_FB_DEVICES; num++) { in initOverlay() local
452 "/sys/class/graphics/fb%d/msm_fb_type", num); in initOverlay()
460 sDpyFbMap[DPY_EXTERNAL] = num; in initOverlay()
462 sDpyFbMap[DPY_WRITEBACK] = num; in initOverlay()
539 int num = 0; in validateAndSet() local
543 pipeArray[num++] = mPipeBook[i].mPipe; in validateAndSet()
548 return num ? GenericPipe::validateAndSet(pipeArray, num, fbFd) : true; in validateAndSet()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.cpp453 for(int num = 1; num < MAX_FB_DEVICES; num++) { in initOverlay() local
455 "/sys/class/graphics/fb%d/msm_fb_type", num); in initOverlay()
463 sDpyFbMap[DPY_EXTERNAL] = num; in initOverlay()
465 sDpyFbMap[DPY_WRITEBACK] = num; in initOverlay()
537 int num = 0; in validateAndSet() local
541 pipeArray[num++] = mPipeBook[i].mPipe; in validateAndSet()
546 return num ? GenericPipe::validateAndSet(pipeArray, num, fbFd) : true; in validateAndSet()
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceUtils.h179 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) {
180 return C2SupportedRange(min, max, 0, num, denom);
195 C2SupportedRange<T> InMacSeries(T min, T max, T step, T num, T denom) {
196 return C2SupportedRange(min, max, step, num, denom);
264 inline C2_HIDE constexpr T num() const { return _mNum; }
327 constexpr C2_HIDE C2SupportedRange(T min, T max, T step, T num, T den)
328 : _mMin(min), _mMax(max), _mStep(step), _mNum(num), _mDenom(den) { }
735 C2ParamFieldValuesBuilder<T> &inSeries(T min, T max, T num, T denom) {
736 return limitTo(C2SupportedRange<T>::InSeries(min, max, num, denom));
743 C2ParamFieldValuesBuilder<T> &inMacSeries(T min, T max, T step, T num, T denom) {
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dattestation_record.cpp175 uint64_t BignumToUint64(BIGNUM* num) { in BignumToUint64() argument
182 BN_div(hi.get(), lo.get(), num, uint_max.get(), ctx.get()); in BignumToUint64()
185 return BN_get_word(num); in BignumToUint64()
195 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag() local
196 auth_list->push_back(ttag, BignumToUint64(num.get())); in copyAuthTag()
203 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag() local
204 auth_list->push_back(ttag, BignumToUint64(num.get())); in copyAuthTag()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp142 for(int num = 0; num < MAX_FB_DEVICES; num++) { in cec_get_fb_node_number() local
144 SYSFS_BASE,num); in cec_get_fb_node_number()
145 ALOGD_IF(DEBUG, "%s: num: %d fb_type_path: %s", __FUNCTION__, num, fb_type_path); in cec_get_fb_node_number()
149 ALOGD_IF(DEBUG, "%s: Found DTV panel at fb%d", __FUNCTION__, num); in cec_get_fb_node_number()
150 ctx->fb_num = num; in cec_get_fb_node_number()
152 "%s%d", SYSFS_BASE, num); in cec_get_fb_node_number()
/hardware/qcom/sdm845/display/hdmi_cec/
Dqhdmi_cec.cpp142 for(int num = 0; num < MAX_FB_DEVICES; num++) { in cec_get_fb_node_number() local
144 SYSFS_BASE,num); in cec_get_fb_node_number()
145 ALOGD_IF(DEBUG, "%s: num: %d fb_type_path: %s", __FUNCTION__, num, fb_type_path); in cec_get_fb_node_number()
149 ALOGD_IF(DEBUG, "%s: Found DTV panel at fb%d", __FUNCTION__, num); in cec_get_fb_node_number()
150 ctx->fb_num = num; in cec_get_fb_node_number()
152 "%s%d", SYSFS_BASE, num); in cec_get_fb_node_number()
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp146 for(int num = 0; num < MAX_FB_DEVICES; num++) { in cec_get_fb_node_number() local
148 SYSFS_BASE,num); in cec_get_fb_node_number()
149 ALOGD_IF(DEBUG, "%s: num: %d fb_type_path: %s", __FUNCTION__, num, fb_type_path); in cec_get_fb_node_number()
153 ALOGD_IF(DEBUG, "%s: Found DTV panel at fb%d", __FUNCTION__, num); in cec_get_fb_node_number()
154 ctx->fb_num = num; in cec_get_fb_node_number()
156 "%s%d", SYSFS_BASE, num); in cec_get_fb_node_number()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp458 for(int num = 1; num < MAX_FB_DEVICES; num++) { in initOverlay() local
460 "/sys/class/graphics/fb%d/msm_fb_type", num); in initOverlay()
468 sDpyFbMap[DPY_EXTERNAL] = num; in initOverlay()
470 sDpyFbMap[DPY_WRITEBACK] = num; in initOverlay()
547 int num = 0; in validateAndSet() local
551 pipeArray[num++] = mPipeBook[i].mPipe; in validateAndSet()
556 return num ? GenericPipe::validateAndSet(pipeArray, num, fbFd) : true; in validateAndSet()
/hardware/interfaces/keymaster/4.0/support/
Dattestation_record.cpp190 uint64_t BignumToUint64(BIGNUM* num) { in BignumToUint64() argument
197 BN_div(hi.get(), lo.get(), num, uint_max.get(), ctx.get()); in BignumToUint64()
200 return BN_get_word(num); in BignumToUint64()
210 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag() local
211 auth_list->push_back(ttag, BignumToUint64(num.get())); in copyAuthTag()
218 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag() local
219 auth_list->push_back(ttag, BignumToUint64(num.get())); in copyAuthTag()
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsmb_ispif.h106 uint32_t num; member
112 uint32_t num; member

123456