Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 67) sorted by relevance

123

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
Dc.py139 for var in FileProfile.VariableDeclarationList:
140 DeclText = var.Declarator.strip()
142 var.Modifier += '*'
144 var.Declarator = DeclText
145 if FuncDeclPattern.match(var.Declarator):
146 DeclSplitList = var.Declarator.split('(')
153 var.Modifier += ' ' + FuncNamePartList[Index]
154 var.Declarator = var.Declarator.lstrip().lstrip(FuncNamePartList[Index])
156 …-1, var.Modifier, '', var.Declarator, '', DataClass.MODEL_IDENTIFIER_FUNCTION_DECLARATION, -1, -1,…
160 if var.Declarator.find('{') == -1:
[all …]
DCodeFragmentCollector.py433 for var in FileProfile.VariableDeclarationList:
434 print str(var.StartPos) + var.Modifier + ' '+ var.Declarator
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DShowEnvironment.bat68 @set "var=%PATH%"
69 @set "var=%var:"=""%"
70 @set "var=%var:^=^^%"
71 @set "var=%var:&=^&%"
72 @set "var=%var:|=^|%"
73 @set "var=%var:<=^<%"
74 @set "var=%var:>=^>%"
75 @set "var=%var:;=^;^;%"
76 @set var=%var:""="% variable
77 @set "var=%var:"=""Q%"
[all …]
/device/google/contexthub/firmware/
Dsymcheck.sh31 for var in "$@"
33 look_for=$(echo "$var" | sed 's/\([^=]*\)=\(.*\)/\1/g')
34 if echo "$var" | grep = >/dev/null
36 explanation=$(echo "$var" | sed 's/\([^=]*\)=/ /g')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/
Dsortingtest.py34 var, num = match.groups()
35 return int(num), var
41 for num, var in items:
42 print "%s=%s" % (var, num),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dntpath.py357 var = path[:index]
358 if var in os.environ:
359 res = res + os.environ[var]
361 res = res + '%' + var + '%'
371 var = path[:index]
372 if var in os.environ:
373 res = res + os.environ[var]
375 res = res + '${' + var + '}'
380 var = ''
384 var = var + c
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dntpath.py352 var = path[:index]
353 if var in os.environ:
354 res = res + os.environ[var]
356 res = res + '%' + var + '%'
366 var = path[:index]
367 if var in os.environ:
368 res = res + os.environ[var]
370 res = res + '${' + var + '}'
375 var = ''
379 var = var + c
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dntpath.py355 def getenv(var): argument
356 return os.environ[var.encode(encoding)].decode(encoding)
358 def getenv(var): argument
359 return os.environ[var]
387 var = path[:index]
389 res = res + getenv(var)
391 res = res + '%' + var + '%'
401 var = path[:index]
403 res = res + getenv(var)
405 res = res + '${' + var + '}'
[all …]
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
DPatchFv.py501 var = ''
505 var += char
510 if ':' in var:
511 partList = var.split(':')
513 raise Exception("Unrecognized expression %s" % var)
518 var = self.getModGuid(modName) + ":" + modOff
519 if '-' in var: # GUID:OFFSET
520 value = self.getGuidOff(var)
522 value = self.getSymbols(var)
525 if var[0] in '0123456789':
[all …]
DGenCfgOpt.py180 def getNumber(self, var): argument
181 var = var.strip()
182 if re.match('^0x[a-fA-F0-9]+$', var):
183 value = int(var, 16)
184 elif re.match('^[+-]?\d+$', var):
185 value = int(var, 10)
192 var = ''
196 var += char
200 val = self.getNumber(var)
202 value = var
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_pkgimport.py60 var = 'a'
61 while var in dir(__builtins__):
62 var += random.choose(string.letters)
65 self.rewrite_file(var)
73 self.rewrite_file('%s = 1' % var)
75 self.assertEqual(getattr(module, var), 1)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dcheckextensions.py79 var = str[i:i+1]
81 if var == '(':
85 var = str[i:j]
87 if vars.has_key(var):
88 str = str[:k] + vars[var] + str[i:]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckPcdLib/
DVarCheckPcdLib.uni2 // NULL class library to register var check PCD handler.
4 // NULL class library to register var check PCD handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check P…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check P…
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiLib.uni2 // NULL class library to register var check HII handler.
4 // NULL class library to register var check HII handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check H…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check H…
DVarCheckHiiLib.inf2 # NULL class library to register var check HII handler.
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/
DPlatformVarCleanupLib.uni2 // NULL class library to register var check HII handler.
4 // NULL class library to register var check HII handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check H…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check H…
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckUefiLib/
DVarCheckUefiLib.uni2 // NULL library class to register var check handler and variable property set for UEFI defined vari…
4 // NULL library class to register var check handler and variable property set for UEFI defined vari…
18 #string STR_MODULE_ABSTRACT #language en-US "NULL library class to register var check h…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL library class to register var check h…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dredemo.py85 var = IntVar()
87 variable=var, text=name,
92 self.vars.append(var)
96 for var in self.vars:
97 flags = flags | var.get()
/device/google/contexthub/firmware/build/
Dconfig.mk134 define nano-user-var-load
149 define nano-user-var-reset-final
159 $(foreach _nuvrf_var,$(NANO_VAR_LIST),$(call nano-user-var-reset-final,$(_nuvrf_var)))
164 $(foreach _nuvla_var,$(NANO_VAR_LIST),$(call nano-user-var-load,$(_nuvla_var),$(1)))
/device/google/contexthub/firmware/os/algos/calibration/common/
Ddiversity_checker.c189 float var = (acc_norm_square - (acc_norm * acc_norm) * inv) * inv; in diversityCheckerNormQuality() local
194 diverse_data->diversity_dbg.var_log = var; in diversityCheckerNormQuality()
202 return (var < diverse_data->var_threshold); in diversityCheckerNormQuality()
/device/linaro/bootloader/edk2/EmbeddedPkg/Scripts/LauterbachT32/
DEFI.CMM34 setup.var %hex.on
35 setup.var %decimal.OFF
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/
Dcdefs.h548 #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) argument
552 #define __DEVOLATILE(type, var) ((type)(__uintptr_t)(volatile void *)(var)) argument
556 #define __DEQUALIFY(type, var) ((type)(__uintptr_t)(const volatile void *)(var)) argument
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
Dc.py110 for var in FileProfile.VariableDeclarationList:
111 DeclText = var.Declarator.lstrip()
115 VarNameStartLine = var.NameStartPos[0]
116 VarNameStartColumn = var.NameStartPos[1]
120 var.Modifier += '*'
142 var.Declarator = DeclText
143 if FuncDeclPattern.match(var.Declarator):
144 DeclSplitList = var.Declarator.split('(')
150 var.Declarator = var.Declarator[NameStart:]
152 var.Modifier += ' ' + DeclSplitList[0][0:NameStart]
[all …]
DCodeFragmentCollector.py587 for var in FileProfile.VariableDeclarationList:
588 print str(var.StartPos) + var.Modifier + ' '+ var.Declarator
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlcode.c558 void luaK_storevar (FuncState *fs, expdesc *var, expdesc *ex) { in luaK_storevar() argument
559 switch (var->k) { in luaK_storevar()
562 exp2reg(fs, ex, var->u.info); in luaK_storevar()
567 luaK_codeABC(fs, OP_SETUPVAL, e, var->u.info, 0); in luaK_storevar()
571 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
573 luaK_codeABC(fs, op, var->u.ind.t, var->u.ind.idx, e); in luaK_storevar()

123