Lines Matching refs:name
101 if os.name == 'nt':
121 if os.name == "nt":
195 # unable to retrieve the real program name
205 if os.name == 'nt':
266 if os.name == 'nt':
273 if os.name in ('posix', 'nt'):
280 if os.name == 'nt':
318 A dictionary containing name/value pairs is returned. If an
363 # if the expansion uses the name without a prefix.
367 for name in tuple(variables):
368 value = notdone[name]
388 if (name.startswith('PY_') and
389 name[3:] in renamed_variables):
405 notdone[name] = value
408 if name in _ALWAYS_STR:
412 done[name] = value.strip()
414 done[name] = value
415 variables.remove(name)
417 if name.startswith('PY_') \
418 and name[3:] in renamed_variables:
420 name = name[3:]
421 if name not in done:
422 done[name] = value
428 done[name] = value
431 variables.remove(name)
504 name = _get_sysconfigdata_name()
507 module = types.ModuleType(name)
509 sys.modules[name] = module
515 destfile = os.path.join(pybuilddir, name + '.py')
530 name = _get_sysconfigdata_name()
531 _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
556 A dictionary containing name/value pairs is returned. If an
590 if os.name == "nt":
612 ``scheme`` is the install scheme name. If not provided, it will
621 def get_path(name, scheme=get_default_scheme(), vars=None, expand=True):
624 ``scheme`` is the install scheme name.
626 return get_paths(scheme, vars, expand)[name]
666 if os.name == 'nt':
669 if os.name == 'posix':
679 if os.name == 'posix':
702 for name in args:
703 vals.append(_CONFIG_VARS.get(name))
709 def get_config_var(name):
713 Equivalent to get_config_vars().get(name)
715 return get_config_vars().get(name)
722 platform-specific built distributions. Typically includes the OS name and
739 if os.name == 'nt':
748 if os.name != "posix" or not hasattr(os, 'uname'):
759 # Convert the OS name to lowercase, remove '/' characters, and translate