/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/ |
D | LzmaCompress.c | 257 int param; in main2() local 272 for (param = 1; param < numArgs; param++) { in main2() 273 if (strcmp(args[param], "-e") == 0 || strcmp(args[param], "-d") == 0) { in main2() 274 encodeMode = (args[param][1] == 'e'); in main2() 276 } else if (strcmp(args[param], "--f86") == 0) { in main2() 278 } else if (strcmp(args[param], "-o") == 0 || in main2() 279 strcmp(args[param], "--output") == 0) { in main2() 280 if (numArgs < (param + 2)) { in main2() 283 outputFile = args[++param]; in main2() 284 } else if (strcmp(args[param], "--debug") == 0) { in main2() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraChannel.cpp | 312 cam_stream_parm_buffer_t param; in start() local 313 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in start() 314 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start() 315 param.bundleInfo = bundleInfo; in start() 316 rc = pStream->setParameter(param); in start() 524 int32_t QCameraChannel::UpdateStreamBasedParameters(QCameraParameters ¶m) in UpdateStreamBasedParameters() argument 527 if (param.isPreviewFlipChanged()) { in UpdateStreamBasedParameters() 538 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_PREVIEW); in UpdateStreamBasedParameters() 546 if (param.isVideoFlipChanged()) { in UpdateStreamBasedParameters() 557 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_VIDEO); in UpdateStreamBasedParameters() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraChannel.cpp | 313 cam_stream_parm_buffer_t param; in start() local 314 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in start() 315 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start() 316 param.bundleInfo = bundleInfo; in start() 317 rc = pStream->setParameter(param); in start() 525 int32_t QCameraChannel::UpdateStreamBasedParameters(QCameraParameters ¶m) in UpdateStreamBasedParameters() argument 528 if (param.isPreviewFlipChanged()) { in UpdateStreamBasedParameters() 539 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_PREVIEW); in UpdateStreamBasedParameters() 547 if (param.isVideoFlipChanged()) { in UpdateStreamBasedParameters() 558 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_VIDEO); in UpdateStreamBasedParameters() [all …]
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraChannel.cpp | 324 cam_stream_parm_buffer_t param; in start() local 325 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in start() 326 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start() 327 param.bundleInfo = bundleInfo; in start() 328 rc = pStream->setParameter(param); in start() 576 int32_t QCameraChannel::UpdateStreamBasedParameters(QCameraParametersIntf ¶m) in UpdateStreamBasedParameters() argument 579 if (param.isPreviewFlipChanged()) { in UpdateStreamBasedParameters() 590 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_PREVIEW); in UpdateStreamBasedParameters() 598 if (param.isVideoFlipChanged()) { in UpdateStreamBasedParameters() 609 (uint32_t)param.getFlipMode(CAM_STREAM_TYPE_VIDEO); in UpdateStreamBasedParameters() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | bitvec.py | 20 def _compute_len(param): argument 21 mant, l = math.frexp(float(param)) 23 if bitmask <= param: 24 raise RuntimeError('(param, l) = %r' % ((param, l),)) 27 if param & bitmask: 58 param, = params 59 if type(param) == type([]): 62 for item in param: 69 self._len = len(param) 70 elif type(param) == type(0L): [all …]
|
/device/asus/fugu/libaudio/ |
D | AudioHardwareOutput.cpp | 222 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local 238 if (param.getInt(kHDMIAllowedParamKey, intVal) == NO_ERROR) { in setParameters() 240 param.remove(kHDMIAllowedParamKey); in setParameters() 243 if ((param.getFloat(kHDMIDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters() 248 param.remove(kHDMIDelayCompParamKey); in setParameters() 251 if (param.getInt(kFixedHDMIOutputParamKey, intVal) == NO_ERROR) { in setParameters() 253 param.remove(kFixedHDMIOutputParamKey); in setParameters() 256 if ((param.getFloat(kFixedHDMIOutputLevelParamKey, floatVal) == NO_ERROR) in setParameters() 259 param.remove(kFixedHDMIOutputLevelParamKey); in setParameters() 265 if ((param.getFloat(kVideoDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters() [all …]
|
D | AudioStreamOut.cpp | 273 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local 277 if (param.getInt(key, tmpInt) == NO_ERROR) { in setParameters() 293 AudioParameter param = AudioParameter(String8(k)); in getParameters() local 296 if (param.get(keyRouting, value) == NO_ERROR) { in getParameters() 297 param.addInt(keyRouting, (int)mAudioFlingerTgtDevices); in getParameters() 302 if (param.get(keySupSampleRates, value) == NO_ERROR) { in getParameters() 305 param.add(keySupSampleRates, value); in getParameters() 307 param.add(keySupSampleRates, String8("48000")); in getParameters() 311 if (param.get(keySupFormats, value) == NO_ERROR) { in getParameters() 314 param.add(keySupFormats, value); in getParameters() [all …]
|
/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 86 void glFogf(GLenum pname, GLfloat param) in glFogf() argument 88 getDispatch()->glFogf(pname, param); in glFogf() 131 void glLightModelf(GLenum pname, GLfloat param) in glLightModelf() argument 133 getDispatch()->glLightModelf(pname, param); in glLightModelf() 141 void glLightf(GLenum light, GLenum pname, GLfloat param) in glLightf() argument 143 getDispatch()->glLightf(light, pname, param); in glLightf() 161 void glMaterialf(GLenum face, GLenum pname, GLfloat param) in glMaterialf() argument 163 getDispatch()->glMaterialf(face, pname, param); in glMaterialf() 191 void glPointParameterf(GLenum pname, GLfloat param) in glPointParameterf() argument 193 getDispatch()->glPointParameterf(pname, param); in glPointParameterf() [all …]
|
/device/google/dragon/audio/hal/dsp/ |
D | drc.c | 93 float *param = drc->parameters[i]; in set_default_parameters() local 94 param[PARAM_THRESHOLD] = -24; /* dB */ in set_default_parameters() 95 param[PARAM_KNEE] = 30; /* dB */ in set_default_parameters() 96 param[PARAM_RATIO] = 12; /* unit-less */ in set_default_parameters() 97 param[PARAM_ATTACK] = 0.003f; /* seconds */ in set_default_parameters() 98 param[PARAM_RELEASE] = 0.250f; /* seconds */ in set_default_parameters() 99 param[PARAM_PRE_DELAY] = DRC_DEFAULT_PRE_DELAY; /* seconds */ in set_default_parameters() 102 param[PARAM_RELEASE_ZONE1] = 0.09f; in set_default_parameters() 103 param[PARAM_RELEASE_ZONE2] = 0.16f; in set_default_parameters() 104 param[PARAM_RELEASE_ZONE3] = 0.42f; in set_default_parameters() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 71 void GLEncoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument 77 switch (param) { in s_glGetIntegerv() 89 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv() 102 if (!state->getClientStateParameter<GLint>(param,ptr)) { in s_glGetIntegerv() 103 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv() 109 void GLEncoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument 115 switch (param) { in s_glGetFloatv() 128 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv() 141 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { in s_glGetFloatv() 142 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv() [all …]
|
D | gl_entry.cpp | 14 void glFogf(GLenum pname, GLfloat param); 23 void glLightModelf(GLenum pname, GLfloat param); 25 void glLightf(GLenum light, GLenum pname, GLfloat param); 29 void glMaterialf(GLenum face, GLenum pname, GLfloat param); 35 void glPointParameterf(GLenum pname, GLfloat param); 41 void glTexEnvf(GLenum target, GLenum pname, GLfloat param); 43 void glTexParameterf(GLenum target, GLenum pname, GLfloat param); 80 void glFogx(GLenum pname, GLfixed param); 104 void glLightModelx(GLenum pname, GLfixed param); 106 void glLightx(GLenum light, GLenum pname, GLfixed param); [all …]
|
/device/google/dragon/recovery/updater/ |
D | debug_ec.c | 614 struct ec_params_lightbar param; in cmd_ec_lightbar() local 621 r = lb_do_cmd(LIGHTBAR_CMD_DUMP, ¶m, &resp); in cmd_ec_lightbar() 634 return lb_do_cmd(LIGHTBAR_CMD_INIT, ¶m, &resp); in cmd_ec_lightbar() 637 return lb_do_cmd(LIGHTBAR_CMD_OFF, ¶m, &resp); in cmd_ec_lightbar() 640 return lb_do_cmd(LIGHTBAR_CMD_ON, ¶m, &resp); in cmd_ec_lightbar() 643 r = lb_do_cmd(LIGHTBAR_CMD_VERSION, ¶m, &resp); in cmd_ec_lightbar() 654 param.set_brightness.num = 0xff & in cmd_ec_lightbar() 657 ¶m, &resp); in cmd_ec_lightbar() 660 ¶m, &resp); in cmd_ec_lightbar() 671 param.demo.num = 1; in cmd_ec_lightbar() [all …]
|
D | vboot_interface.c | 413 int vbnv_readwrite(struct flash_device *spi, const vbnv_param_t *param, in vbnv_readwrite() argument 423 int off = param->offset; in vbnv_readwrite() 424 uint8_t mask = param->mask << param->shift; in vbnv_readwrite() 460 uint8_t flag_value = (*value & param->mask) << param->shift; in vbnv_readwrite() 495 *value = (block[off] & mask) >> param->shift; in vbnv_readwrite() 502 int vbnv_set_flag(struct flash_device *spi, const char *param, uint8_t value) in vbnv_set_flag() argument 506 if (!strcmp(param, param_table[i].name)) { in vbnv_set_flag() 519 int vbnv_get_flag(struct flash_device *spi, const char *param, uint8_t *value) in vbnv_get_flag() argument 523 if (!strcmp(param, param_table[i].name)) in vbnv_get_flag()
|
/device/google/contexthub/util/nanotool/ |
D | nanotool.cpp | 212 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate() argument 224 if (param == name) { in ParseRate() 230 spec.rate_hz = std::stof(param); in ParseRate() 243 std::string param; in ParseSensorArg() local 248 while (std::getline(full_arg_ss, param, '=')) { in ParseSensorArg() 250 pre_cal_ref = param; in ParseSensorArg() 252 spec.cal_ref = std::stof(param); in ParseSensorArg() 264 while (std::getline(pre_cal_ref_ss, param, ':')) { in ParseSensorArg() 266 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); in ParseSensorArg() 269 name, param.c_str()); in ParseSensorArg() [all …]
|
/device/generic/goldfish/camera/ |
D | QemuClient.cpp | 86 status_t QemuQuery::createQuery(const char* name, const char* param) in createQuery() argument 100 const size_t param_len = (param != NULL) ? strlen(param) : 0; in createQuery() 116 sprintf(mQuery, "%s %s", name, param); in createQuery() 217 status_t QemuClient::connectClient(const char* param) in connectClient() argument 219 ALOGV("%s: '%s'", __FUNCTION__, param ? param : ""); in connectClient() 228 if (param == NULL || *param == '\0') { in connectClient() 238 strlen(param) + 8]; in connectClient() 239 sprintf(connection_str, "qemud:%s:%s", mCameraServiceName, param); in connectClient() 246 __FUNCTION__, param ? param : "Factory", strerror(errno)); in connectClient()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | message.py | 28 def _splitparam(param): argument 33 a, sep, b = param.partition(';') 38 def _formatparam(param, value=None, quote=True): argument 51 param += '*' 56 return '%s="%s"' % (param, utils.quote(value)) 58 return '%s=%s' % (param, value) 60 return param 535 def get_param(self, param, failobj=None, header='content-type', argument 564 if k.lower() == param.lower(): 571 def set_param(self, param, value, header='Content-Type', requote=True, argument [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia16/ |
D | Init16.asm | 20 ; @param[out] DI 'BP' to indicate boot-strap processor 27 ; @param[out] DI 'AP' to indicate application processor 36 ; @param[in] EAX Initial value of the EAX register (BIST: Built-in Self Test) 37 ; @param[out] ESP Initial value of the EAX register (BIST: Built-in Self Test)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | headers.py | 15 def _formatparam(param, value=None, quote=1): argument 23 return '%s="%s"' % (param, value) 25 return '%s=%s' % (param, value) 27 return param
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_reprocess.c | 321 cam_stream_parm_buffer_t param; in mm_app_do_reprocess() local 322 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in mm_app_do_reprocess() 323 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in mm_app_do_reprocess() 324 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess() 325 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess() 327 param.reprocess.meta_present = 1; in mm_app_do_reprocess() 328 param.reprocess.meta_stream_handle = src_meta->s_config.stream_info->stream_svr_id; in mm_app_do_reprocess() 329 param.reprocess.meta_buf_index = meta_idx; in mm_app_do_reprocess() 336 test_obj->reproc_stream->s_config.stream_info->parm_buf = param; in mm_app_do_reprocess()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_reprocess.c | 321 cam_stream_parm_buffer_t param; in mm_app_do_reprocess() local 322 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in mm_app_do_reprocess() 323 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in mm_app_do_reprocess() 324 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess() 325 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess() 327 param.reprocess.meta_present = 1; in mm_app_do_reprocess() 328 param.reprocess.meta_stream_handle = src_meta->s_config.stream_info->stream_svr_id; in mm_app_do_reprocess() 329 param.reprocess.meta_buf_index = meta_idx; in mm_app_do_reprocess() 336 test_obj->reproc_stream->s_config.stream_info->parm_buf = param; in mm_app_do_reprocess()
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_reprocess.c | 311 cam_stream_parm_buffer_t param; in mm_app_do_reprocess() local 312 memset(¶m, 0, sizeof(cam_stream_parm_buffer_t)); in mm_app_do_reprocess() 313 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in mm_app_do_reprocess() 314 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess() 315 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess() 317 param.reprocess.meta_present = 1; in mm_app_do_reprocess() 318 param.reprocess.meta_stream_handle = src_meta->s_config.stream_info->stream_svr_id; in mm_app_do_reprocess() 319 param.reprocess.meta_buf_index = meta_idx; in mm_app_do_reprocess() 324 test_obj->reproc_stream->s_config.stream_info->parm_buf = param; in mm_app_do_reprocess()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/ |
D | GdbRun | 44 # @param $arg0 - Symbol file changes number 45 # @param $arg1 - Symbol file name 46 # @param $arg2 - Image address 58 # @param $arg0 - Symbol file changes number 59 # @param $arg1 - Symbol file name
|
/device/google/contexthub/firmware/os/algos/ |
D | fusion.c | 71 fusion->param.gyro_var = DEFAULT_GYRO_VAR; in initFusion() 72 fusion->param.gyro_bias_var = DEFAULT_GYRO_BIAS_VAR; in initFusion() 73 fusion->param.acc_stdev = DEFAULT_ACC_STDEV; in initFusion() 74 fusion->param.mag_stdev = DEFAULT_MAG_STDEV; in initFusion() 77 fusion->param.gyro_var = GEOMAG_GYRO_VAR; in initFusion() 78 fusion->param.gyro_bias_var = GEOMAG_GYRO_BIAS_VAR; in initFusion() 79 fusion->param.acc_stdev = GEOMAG_ACC_STDEV; in initFusion() 80 fusion->param.mag_stdev = GEOMAG_MAG_STDEV; in initFusion() 123 float q00 = fusion->param.gyro_var * dT + in updateDt() 124 0.33333f * fusion->param.gyro_bias_var * dT3; in updateDt() [all …]
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GLESv2Validation.h | 35 bool bufferParam(GL2Encoder* ctx, GLenum param); 37 bool pixelStoreParam(GL2Encoder* ctx, GLenum param); 38 bool pixelStoreValue(GLenum param, GLint value);
|
/device/generic/goldfish-opengl/system/include/GLES/ |
D | gl.h | 599 GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); 608 GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); 610 GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); 614 GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); 620 GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); 626 GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); 628 GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 668 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); 692 GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); 694 GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); [all …]
|