/hardware/google/gfxstream/scripts/ |
D | build-nested-vulkan-loader.sh | 51 for var in ${VK_LOADER_ENV_VARS[@]}; do 52 echo "- Replacing occurrences of \"$var\" with \"GFXSTREAM_$var\"." 53 sed -i -e "s/\\\"$var\\\"/\\\"GFXSTREAM_$var\\\"/g" loader/*.c 54 sed -i -e "s/\\\"$var\\\"/\\\"GFXSTREAM_$var\\\"/g" loader/*.h
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | os_time.c | 111 os_wait_until_zero(volatile int *var, uint64_t timeout) in os_wait_until_zero() argument 113 if (!p_atomic_read(var)) in os_wait_until_zero() 120 while (p_atomic_read(var)) { in os_wait_until_zero() 131 while (p_atomic_read(var)) { in os_wait_until_zero() 145 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout) in os_wait_until_zero_abs_timeout() argument 147 if (!p_atomic_read(var)) in os_wait_until_zero_abs_timeout() 151 return os_wait_until_zero(var, OS_TIMEOUT_INFINITE); in os_wait_until_zero_abs_timeout() 153 while (p_atomic_read(var)) { in os_wait_until_zero_abs_timeout()
|
D | os_time.h | 122 os_wait_until_zero(volatile int *var, uint64_t timeout); 137 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout);
|
D | mesa_cache_db.c | 80 #define mesa_db_read(file, var) mesa_db_read_data(file, var, sizeof(*(var))) argument 86 #define mesa_db_write(file, var) mesa_db_write_data(file, var, sizeof(*(var))) argument
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | display_pluggable.cpp | 262 AttrVal var = {}; in InitializeColorModes() local 270 var.push_back(std::make_pair(kColorGamutAttribute, kSrgb)); in InitializeColorModes() 271 var.push_back(std::make_pair(kDynamicRangeAttribute, kSdr)); in InitializeColorModes() 272 var.push_back(std::make_pair(kPictureQualityAttribute, kStandard)); in InitializeColorModes() 273 var.push_back(std::make_pair(kRenderIntentAttribute, "0")); in InitializeColorModes() 274 color_mode_attr_map_.insert(std::make_pair(kSrgb, var)); in InitializeColorModes() 278 var.clear(); in InitializeColorModes() 279 color_mode_attr_map_.insert(std::make_pair("hal_native", var)); in InitializeColorModes() 282 var.clear(); in InitializeColorModes() 283 var.push_back(std::make_pair(kColorGamutAttribute, kBt2020)); in InitializeColorModes() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_nir.c | 69 nir_vk_is_not_xfb_output(nir_variable *var, void *data) in nir_vk_is_not_xfb_output() argument 71 if (var->data.mode != nir_var_shader_out) in nir_vk_is_not_xfb_output() 90 if (!var->data.explicit_xfb_buffer) in nir_vk_is_not_xfb_output() 93 bool is_array_block = var->interface_type != NULL && in nir_vk_is_not_xfb_output() 94 glsl_type_is_array(var->type) && in nir_vk_is_not_xfb_output() 95 glsl_without_array(var->type) == var->interface_type; in nir_vk_is_not_xfb_output() 98 return !var->data.explicit_offset; in nir_vk_is_not_xfb_output() 101 unsigned aoa_size = glsl_get_aoa_size(var->type); in nir_vk_is_not_xfb_output() 102 const struct glsl_type *itype = var->interface_type; in nir_vk_is_not_xfb_output()
|
D | vk_nir.h | 40 nir_vk_is_not_xfb_output(nir_variable *var, void *data);
|
D | vk_nir_convert_ycbcr.c | 325 nir_variable *var = nir_deref_instr_get_variable(deref); in lower_ycbcr_tex_instr() local 326 uint32_t set = var->data.descriptor_set; in lower_ycbcr_tex_instr() 327 uint32_t binding = var->data.binding; in lower_ycbcr_tex_instr()
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/ |
D | ANGLEShaderParser.cpp | 150 for (const auto& var: other.uniforms) { uniforms.push_back(dispatch->copyVariable(&var)); } in copyFromOther() local 151 for (const auto& var: other.varyings) { varyings.push_back(dispatch->copyVariable(&var)); } in copyFromOther() local 152 … for (const auto& var: other.attributes) { attributes.push_back(dispatch->copyVariable(&var)); } in copyFromOther() local 153 … for (const auto& var: other.outputVars) { outputVars.push_back(dispatch->copyVariable(&var)); } in copyFromOther() local 154 …for (const auto& var: other.interfaceBlocks) { interfaceBlocks.push_back(dispatch->copyInterfaceBl… in copyFromOther() local 165 for (auto& var: uniforms) { dispatch->destroyVariable(&var); } in clear() local 166 for (auto& var: varyings) { dispatch->destroyVariable(&var); } in clear() local 167 for (auto& var: attributes) { dispatch->destroyVariable(&var); } in clear() local 168 for (auto& var: outputVars) { dispatch->destroyVariable(&var); } in clear() local 169 for (auto& var: interfaceBlocks) { dispatch->destroyInterfaceBlock(&var); } in clear() local
|
D | ProgramData.cpp | 728 void ProgramData::bindAttribLocation(const std::string& var, GLuint loc) { in bindAttribLocation() argument 729 boundAttribLocs[var] = loc; in bindAttribLocation() 732 void ProgramData::linkedAttribLocation(const std::string& var, GLuint loc) { in linkedAttribLocation() argument 733 linkedAttribLocs[var] = loc; in linkedAttribLocation() 800 for (const auto& var: s.linkInfo.uniforms) { in setLinkStatus() local 801 allUniforms.push_back(var); in setLinkStatus() 942 static bool sIsBuiltInShaderVariable(const ST_ShaderVariable& var) { in sIsBuiltInShaderVariable() argument 943 if (!var.name || strlen(var.name) < 4) return false; in sIsBuiltInShaderVariable() 945 const char* name = var.name; in sIsBuiltInShaderVariable() 1039 …cursiveLocInitalize(ProgramData* pData, const std::string& keyBase, const ST_ShaderVariable& var) { in sRecursiveLocInitalize() argument [all …]
|
D | ProgramData.h | 84 void bindAttribLocation(const std::string& var, GLuint loc); 85 void linkedAttribLocation(const std::string& var, GLuint loc);
|
/hardware/google/gfxstream/guest/mesa/src/util/perf/ |
D | u_trace.py | 94 def __init__(self, type, var): argument 101 assert isinstance(var, str) 104 self.var = var 109 …def __init__(self, type, var, c_format, name=None, to_prim_type=None, length_arg=None, copy_func=N… argument 122 assert isinstance(var, str) 126 self.var = var 129 name = var
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_pluggable.cpp | 330 AttrVal var; in InitializeColorModes() local 335 var.push_back(std::make_pair(kColorGamutAttribute, kSrgb)); in InitializeColorModes() 336 var.push_back(std::make_pair(kDynamicRangeAttribute, kSdr)); in InitializeColorModes() 337 var.push_back(std::make_pair(kPictureQualityAttribute, kStandard)); in InitializeColorModes() 338 color_mode_attr_map_.insert(std::make_pair(kSrgb, var)); in InitializeColorModes() 342 var.clear(); in InitializeColorModes() 343 color_mode_attr_map_.insert(std::make_pair("hal_native", var)); in InitializeColorModes() 348 var.clear(); in InitializeColorModes() 349 var.push_back(std::make_pair(kColorGamutAttribute, kBt2020)); in InitializeColorModes() 350 var.push_back(std::make_pair(kGammaTransferAttribute, kGamma2_2)); in InitializeColorModes() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/ |
D | mhchem.mjs | 71 var chemParse = function chemParse(tokens, stateMachine) { 73 var str = ""; 74 var expectedLoc = tokens[tokens.length - 1].loc.start; 76 for (var i = tokens.length - 1; i >= 0; i--) { 87 var tex = texify.go(mhchemParser.go(str, stateMachine)); 96 var mhchemParser = { 112 var state = '0'; // 148 var buffer = {}; 157 var lastInput; 158 var watchdog = 10; [all …]
|
/hardware/google/gfxstream/codegen/generic-apigen/ |
D | EntryPoint.cpp | 150 Var * EntryPoint::var(const std::string & name) in var() function in EntryPoint 162 const Var * EntryPoint::var(const std::string & name) const in var() function in EntryPoint 194 const Var * v = var(varname); in validateVarAttr() 218 v = var(varname); in setAttribute() 227 v = var(varname); in setAttribute() 237 v = var(varname); in setAttribute() 262 v = var(varname); in setAttribute() 302 v = var(varname); in setAttribute() 312 v = var(varname); in setAttribute() 321 v = var(varname); in setAttribute() [all …]
|
D | ApiGen.cpp | 399 Var& var, EntryPoint* e, char* buff, size_t bufflen, in getVarEncodingSizeExpression() argument 402 if (!var.isPointer()) { in getVarEncodingSizeExpression() 403 snprintf(buff, bufflen, "%u", (unsigned int) var.type()->bytes()); in getVarEncodingSizeExpression() 410 !(var.pointerDir() & Var::POINTER_IN)) { in getVarEncodingSizeExpression() 413 snprintf(buff, bufflen, "__size_%s", var.name().c_str()); in getVarEncodingSizeExpression() 415 const char* lenExpr = var.lenExpression().c_str(); in getVarEncodingSizeExpression() 416 const char* varname = var.name().c_str(); in getVarEncodingSizeExpression() 421 if (var.nullAllowed()) { in getVarEncodingSizeExpression() 430 static int writeVarEncodingSize(Var& var, bool excludeOutVars, FILE* fp) in writeVarEncodingSize() argument 433 if (!var.isPointer()) { in writeVarEncodingSize() [all …]
|
D | EntryPoint.h | 47 Var * var(const std::string & name); 48 const Var * var(const std::string & name) const;
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSupport.cpp | 146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument 153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int() 161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument 168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64() 189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument 196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int() 204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument 211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.cpp | 146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument 153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int() 161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument 168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64() 189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument 196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int() 204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument 211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/chunkindex/ |
D | addscript.jsmarker | 2 <script>var searchindexurl = 'search.index.js?4' + (document.title.replace(/[^0-9.]/g, ''));</scrip…
|
D | custom.patch | 10 +<script>var searchindexurl = 'search.index.js?4' + (document.title.replace(/[^0-9.]/g, ''));</scri…
|
/hardware/google/gfxstream/host/vulkan/ |
D | VulkanDispatch.cpp | 205 for (const std::string& var : nestedVulkanLoaderVars) { in getPossibleLoaderPathBasenames() 206 if (android::base::getEnvironmentVariable(var) != "") { in getPossibleLoaderPathBasenames()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAStreamOps.cpp | 44 #define ENUM_TO_STRING(var, enumVal) {var = #enumVal; enumVal;} argument
|
/hardware/google/gfxstream/host/apigen-codec-common/GL/ |
D | dri_interface.h | 1123 int (*configQueryb)(__DRIscreen *screen, const char *var, GLboolean *val); 1124 int (*configQueryi)(__DRIscreen *screen, const char *var, GLint *val); 1125 int (*configQueryf)(__DRIscreen *screen, const char *var, GLfloat *val);
|
/hardware/google/gfxstream/host/apigen-codec-common/GL/internal/ |
D | dri_interface.h | 1123 int (*configQueryb)(__DRIscreen *screen, const char *var, GLboolean *val); 1124 int (*configQueryi)(__DRIscreen *screen, const char *var, GLint *val); 1125 int (*configQueryf)(__DRIscreen *screen, const char *var, GLfloat *val);
|