Home
last modified time | relevance | path

Searched refs:import_mod (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/lib2to3/fixes/
Dfix_imports.py123 import_mod = results.get("module_name")
124 if import_mod:
125 mod_name = import_mod.value
127 import_mod.replace(Name(new_name, prefix=import_mod.prefix))
Dfix_urllib.py81 import_mod = results.get("module")
82 pref = import_mod.prefix
87 for name in MAPPING[import_mod.value][:-1]:
89 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref))
90 import_mod.replace(names)
/third_party/weston/libweston/backend-drm/
Dfb.c242 struct gbm_import_fd_modifier_data import_mod = { in drm_fb_get_from_dmabuf() local
273 static_assert(ARRAY_LENGTH(import_mod.fds) == in drm_fb_get_from_dmabuf()
276 static_assert(sizeof(import_mod.fds) == sizeof(dmabuf->attributes.fd), in drm_fb_get_from_dmabuf()
278 memcpy(import_mod.fds, dmabuf->attributes.fd, sizeof(import_mod.fds)); in drm_fb_get_from_dmabuf()
280 static_assert(ARRAY_LENGTH(import_mod.strides) == in drm_fb_get_from_dmabuf()
283 static_assert(sizeof(import_mod.strides) == in drm_fb_get_from_dmabuf()
286 memcpy(import_mod.strides, dmabuf->attributes.stride, in drm_fb_get_from_dmabuf()
287 sizeof(import_mod.strides)); in drm_fb_get_from_dmabuf()
289 static_assert(ARRAY_LENGTH(import_mod.offsets) == in drm_fb_get_from_dmabuf()
292 static_assert(sizeof(import_mod.offsets) == in drm_fb_get_from_dmabuf()
[all …]