Searched refs:module (Results 26 - 50 of 991) sorted by relevance

1234567891011>>

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
H A D__init__.py7 This module provides components for modifying and querying Python code. They can
16 from py_utils.refactor.module import Module
20 module = Module(file_path)
21 result = transform(module)
22 module.Write()
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
H A Dcompiler.cpp35 read_header(const std::string &header, module &m) {
42 module::size_t offset;
43 compat::vector<module::argument> args;
53 args.push_back({ module::argument::scalar, 4 });
55 args.push_back({ module::argument::global, 4 });
57 args.push_back({ module::argument::local, 4 });
59 args.push_back({ module::argument::constant, 4 });
61 args.push_back({ module::argument::image2d_rd, 4 });
63 args.push_back({ module::argument::image2d_wr, 4 });
65 args.push_back({ module
[all...]
/external/syslinux/com32/lib/sys/module/
H A Dexec.c8 #include <sys/module.h>
23 int get_module_type(struct elf_module *module) argument
25 if(module->main_func) return EXEC_MODULE;
41 struct elf_module *module = module_alloc(name);
43 if (module == NULL)
46 res = module_load(module);
48 module_unload(module);
52 if (module->main_func == NULL) {
54 module_unload(module);
57 /*if (module
161 struct elf_module *module = module_alloc(name); local
[all...]
H A Dcommon.h2 * common.h - Common internal operations performed by the module subsystem
13 #include <sys/module.h>
29 static inline Elf_Sym *symbol_get_entry(struct elf_module *module, int entry) argument
31 char *sym_table = (char *)module->sym_table;
32 int index = entry * module->syment_size;
48 extern void print_elf_symbols(struct elf_module *module);
56 extern int image_load(struct elf_module *module);
57 extern int image_unload(struct elf_module *module);
58 extern int image_read(void *buff, size_t size, struct elf_module *module);
59 extern int image_skip(size_t size, struct elf_module *module);
[all...]
H A Dcommon.c14 #include <sys/module.h>
46 void print_elf_symbols(struct elf_module *module) { argument
50 for (i = 1; i < module->symtable_size/module->syment_size; i++)
52 crt_sym = (Elf_Sym*)(module->sym_table + i*module->syment_size);
54 fprintf(stderr,"%s %d\n", module->str_table + crt_sym->st_name, crt_sym->st_value);
93 int image_load(struct elf_module *module) argument
95 module->u.l._file = findpath(module
116 image_unload(struct elf_module *module) argument
127 image_read(void *buff, size_t size, struct elf_module *module) argument
137 image_skip(size_t size, struct elf_module *module) argument
155 image_seek(Elf_Off offset, struct elf_module *module) argument
193 module_dep_alloc(struct elf_module *module) argument
314 check_symbols(struct elf_module *module) argument
384 module_unloadable(struct elf_module *module) argument
393 _module_unload(struct elf_module *module) argument
424 module_unload(struct elf_module *module) argument
457 module_find_symbol_sysv(const char *name, struct elf_module *module) argument
483 module_find_symbol_gnu(const char *name, struct elf_module *module) argument
540 module_find_symbol_iterate(const char *name,struct elf_module *module) argument
558 module_find_symbol(const char *name, struct elf_module *module) argument
581 global_find_symbol(const char *name, struct elf_module **module) argument
[all...]
/external/webrtc/webrtc/modules/utility/source/
H A Dprocess_thread_impl.h34 void WakeUp(Module* module) override;
37 void RegisterModule(Module* module) override;
38 void DeRegisterModule(Module* module) override;
46 ModuleCallback() : module(nullptr), next_callback(0) {}
48 : module(cb.module), next_callback(cb.next_callback) {}
49 ModuleCallback(Module* module) : module(module), next_callback(0) {} argument
51 return cb.module
54 Module* const module; member in struct:webrtc::ProcessThreadImpl::ModuleCallback
[all...]
H A Dprocess_thread_impl_unittest.cc15 #include "webrtc/modules/include/module.h"
77 MockModule module; local
78 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0));
79 EXPECT_CALL(module, Process())
82 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1);
84 thread.RegisterModule(&module);
87 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1);
91 // Same as ProcessCall except the module is registered before the
97 MockModule module; local
98 EXPECT_CALL(module, TimeUntilNextProces
120 MockModule module; local
156 MockModule module; local
221 MockModule module; local
255 MockModule module; local
[all...]
/external/google-breakpad/src/processor/
H A Dbasic_code_modules.cc63 // Make a copy of the module and insert it into the map. Use
67 linked_ptr<const CodeModule> module(
69 if (!map_->StoreRange(module->base_address(), module->size(), module)) {
70 BPLOG(ERROR) << "Module " << module->code_file() <<
91 linked_ptr<const CodeModule> module; local
92 if (!map_->RetrieveRange(address, &module, NULL, NULL)) {
93 BPLOG(INFO) << "No module at " << HexString(address);
97 return module
106 linked_ptr<const CodeModule> module; local
[all...]
H A Dstack_frame_symbolizer.cc63 const CodeModule* module = modules->GetModuleForAddress(frame->instruction); local
64 if (!module) return kError;
65 frame->module = module;
68 // If module is known to have missing symbol file, return.
69 if (no_symbol_modules_.find(module->code_file()) !=
74 // If module is already loaded, go ahead to fill source line info and return.
75 if (resolver_->HasModule(frame->module)) {
77 return resolver_->IsModuleCorrupt(frame->module) ?
91 module, system_inf
[all...]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/generate/
H A Ddata_unittest.py25 from mojom.generate import module as mojom
32 module = mojom.Module('test_module', 'test_namespace')
42 struct = data.StructFromData(module, struct_data)
44 data.StructFieldFromData(module, field, struct), struct.fields_data)
49 module = mojom.Module('test_module', 'test_namespace')
56 union = data.UnionFromData(module, union_data)
58 data.UnionFieldFromData(module, field, union), union.fields_data)
63 module = mojom.Module('test_module', 'test_namespace')
65 #TODO(azani): Init values in module.py.
68 imported_data = {'module'
[all...]
/external/pdfium/xfa/fxbarcode/datamatrix/
H A DBC_DefaultPlacement.cpp99 void CBC_DefaultPlacement::module(int32_t row, function in class:CBC_DefaultPlacement
116 module(row - 2, col - 2, pos, 1);
117 module(row - 2, col - 1, pos, 2);
118 module(row - 1, col - 2, pos, 3);
119 module(row - 1, col - 1, pos, 4);
120 module(row - 1, col, pos, 5);
121 module(row, col - 2, pos, 6);
122 module(row, col - 1, pos, 7);
123 module(row, col, pos, 8);
126 module(m_numrow
[all...]
/external/llvm/test/MC/Mips/
H A Dmips-abi-bad.s3 # Error checking for malformed .module directives (and .set fp=...).
5 .module fp=3
7 # CHECK-NEXT: .module fp=3
16 .module
17 # CHECK: :[[@LINE-1]]:12: error: expected .module option identifier
18 # CHECK-NEXT: .module
21 .module 34
22 # CHECK: :[[@LINE-1]]:13: error: expected .module option identifier
23 # CHECK-NEXT: .module 34
/external/autotest/client/site_tests/graphics_Gralloc/src/
H A Dgralloctest.c156 static int register_buffer(struct gralloc_module_t* module, argument
160 ret = module->registerBuffer(module, test->handle);
164 static int unregister_buffer(struct gralloc_module_t* module, argument
168 ret = module->unregisterBuffer(module, test->handle);
172 static int lock(struct gralloc_module_t* module, struct gralloctest* test) argument
176 ret = module->lock(module, test->handle, test->usage, 0, 0, (test->w)/2,
182 static int unlock(struct gralloc_module_t* module, struc argument
189 lock_ycbcr(struct gralloc_module_t* module, struct gralloctest* test) argument
199 lock_async(struct gralloc_module_t* module, struct gralloctest* test) argument
209 unlock_async(struct gralloc_module_t* module, struct gralloctest* test) argument
219 lock_async_ycbcr(struct gralloc_module_t* module, struct gralloctest* test) argument
235 test_init_gralloc(gralloc_module_t** module, alloc_device_t** device) argument
323 test_api(struct gralloc_module_t* module) argument
361 test_gralloc_order(struct gralloc_module_t* module, struct alloc_device_t* device) argument
411 test_uninitialized_handle(struct gralloc_module_t* module) argument
430 test_freed_handle(struct gralloc_module_t* module, struct alloc_device_t* device) argument
448 test_mapping(struct gralloc_module_t* module, struct alloc_device_t* device) argument
481 test_perform(struct gralloc_module_t* module, struct alloc_device_t* device) argument
512 test_ycbcr(struct gralloc_module_t* module, struct alloc_device_t* device) argument
544 test_async(struct gralloc_module_t* module, struct alloc_device_t* device) argument
617 gralloc_module_t* module = NULL; local
[all...]
/external/syslinux/com32/lib/sys/module/x86_64/
H A Delf_module.c17 #include <sys/module.h>
29 int load_segments(struct elf_module *module, Elf_Ehdr *elf_hdr) { argument
45 image_seek(elf_hdr->e_phoff, module);
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module);
54 // Compute the memory needings of the module
98 if (elf_malloc(&module->module_addr,
106 module->base_addr = (Elf64_Addr)(module->module_addr) - min_alloc;
107 module->module_size = max_alloc - min_alloc;
110 memset(module
191 perform_relocation(struct elf_module *module, Elf_Rel *rel) argument
267 resolve_symbols(struct elf_module *module) argument
[all...]
/external/clang/test/Modules/
H A Dexplicit-build-flags.cpp3 // RUN: echo 'module tmp { header "tmp.h" }' > %t/map
5 // RUN: %clang_cc1 -fmodules -DFOO=1 -x c++ -fmodule-name=tmp %t/map -emit-module -o %t/tmp.pcm
7 // Can use the module.
10 // Can use the module if an input file is newer. (This happens on remote file systems.)
15 // Can use the module if -D flags change.
19 // Can use the module if -W flags change.
22 // Can use the module if -I flags change.
25 // Can use the module if -fPIC/-fPIE flags change.
29 // Can use the module if -static flag changes.
32 // Can use the module i
[all...]
/external/google-breakpad/src/google_breakpad/processor/
H A Dsource_line_resolver_interface.h55 // Adds a module to this resolver, returning true on success.
57 // module should have at least the code_file, debug_file,
60 // map_file should contain line/address mappings for this module.
61 virtual bool LoadModule(const CodeModule *module,
64 virtual bool LoadModuleUsingMapBuffer(const CodeModule *module,
73 virtual bool LoadModuleUsingMemoryBuffer(const CodeModule *module,
82 // Request that the specified module be unloaded from this resolver.
84 virtual void UnloadModule(const CodeModule *module) = 0;
86 // Returns true if the module has been loaded.
87 virtual bool HasModule(const CodeModule *module)
[all...]
H A Dsymbol_supplier.h31 // to provide symbols for a given module.
66 virtual SymbolResult GetSymbolFile(const CodeModule *module,
74 virtual SymbolResult GetSymbolFile(const CodeModule *module,
83 // Module *module) once the data buffer is no longer needed.
87 virtual SymbolResult GetCStringSymbolData(const CodeModule *module,
93 // Frees the data buffer allocated for the module in GetCStringSymbolData.
94 virtual void FreeSymbolData(const CodeModule *module) = 0;
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
H A Ddata.py9 import module as mojom
11 # This module provides a mechanism to turn mojom Modules to dictionaries and
102 def FixupExpression(module, value, scope, kind):
107 result = LookupValue(module.values, value[1], scope, kind)
161 """Used with 'import module' - clones the kind imported from the given
162 module's namespace. Only used with Structs, Unions, Interfaces and Enums."""
165 # |AddSharedProperty()| in module.py), including |imported_from|. We don't
172 def ImportFromData(module, data):
173 import_module = data['module']
178 import_item['module']
[all...]
/external/parameter-framework/upstream/utility/windows/
H A DDynamicLibrary.cpp44 HMODULE module = LoadLibrary(_path.c_str()); local
46 _handle = reinterpret_cast<void *>(module);
56 HMODULE module = reinterpret_cast<HMODULE>(_handle); local
58 FreeLibrary(module);
63 HMODULE module = reinterpret_cast<HMODULE>(_handle); local
65 void *sym = reinterpret_cast<void *>(GetProcAddress(module, symbol.c_str()));
/external/pdfium/third_party/libtiff/
H A Dtif_error.c51 TIFFError(const char* module, const char* fmt, ...) argument
56 (*_TIFFerrorHandler)(module, fmt, ap);
58 (*_TIFFerrorHandlerExt)(0, module, fmt, ap);
63 TIFFErrorExt(thandle_t fd, const char* module, const char* fmt, ...) argument
68 (*_TIFFerrorHandler)(module, fmt, ap);
70 (*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
H A Dtif_warning.c51 TIFFWarning(const char* module, const char* fmt, ...) argument
56 (*_TIFFwarningHandler)(module, fmt, ap);
58 (*_TIFFwarningHandlerExt)(0, module, fmt, ap);
63 TIFFWarningExt(thandle_t fd, const char* module, const char* fmt, ...) argument
68 (*_TIFFwarningHandler)(module, fmt, ap);
70 (*_TIFFwarningHandlerExt)(fd, module, fmt, ap);
/external/protobuf/python/google/protobuf/internal/
H A Dapi_implementation.cc72 "_api_implementation is a module that exposes compile-time constants that\n"
101 PyObject *module = PyModule_Create(&_module); local
103 PyObject *module = Py_InitModule3(
108 if (module == NULL) {
112 // Adds the module variable "api_version".
114 module,
120 { Py_DECREF(module); return NULL; }
122 return module;
/external/libxml2/include/libxml/
H A Dxmlmodule.h2 * Summary: dynamic module loading
3 * Description: basic API for dynamic module loading, used by
25 * A handle to a dynamically loaded module
43 XMLPUBFUN int XMLCALL xmlModuleSymbol (xmlModulePtr module,
47 XMLPUBFUN int XMLCALL xmlModuleClose (xmlModulePtr module);
49 XMLPUBFUN int XMLCALL xmlModuleFree (xmlModulePtr module);
/external/selinux/python/sepolgen/tests/
H A Dtest_module.py21 import sepolgen.module as module namespace
27 mc = module.ModuleCompiler()
/external/webrtc/webrtc/modules/utility/include/mock/
H A Dmock_process_thread.h24 MOCK_METHOD1(WakeUp, void(Module* module));
26 MOCK_METHOD1(RegisterModule, void(Module* module));
27 MOCK_METHOD1(DeRegisterModule, void(Module* module));

Completed in 403 milliseconds

1234567891011>>