Searched defs:module (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/compile/libbcc/lib/AndroidBitcode/
H A DABCCompiler.cpp35 llvm::Module &module = pScript.getSource().getModule(); local
46 pm.run(module);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompiler.cpp98 llvm::Module &module = script.getSource().getModule(); local
102 "%s!", module.getModuleIdentifier().c_str());
111 rs_passes.run(module);
H A DRSInfoExtractor.cpp131 const llvm::Module &module = pSource.getModule(); local
132 const char *module_name = module.getModuleIdentifier().c_str();
135 module.getNamedMetadata(pragma_metadata_name);
137 module.getNamedMetadata(export_var_metadata_name);
139 module.getNamedMetadata(export_func_metadata_name);
141 module.getNamedMetadata(export_foreach_name_metadata_name);
143 module.getNamedMetadata(export_foreach_metadata_name);
145 module.getNamedMetadata(object_slot_metadata_name);
348 module.getModuleIdentifier().c_str());
353 module
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp41 hw_module_t const* module; local
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
45 mAllocMod = (gralloc_module_t const *)module;
H A DGraphicBufferAllocator.cpp41 hw_module_t const* module; local
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
45 gralloc_open(module, &mAllocDev);
H A DFramebufferNativeWindow.cpp78 hw_module_t const* module; local
79 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) == 0) {
83 err = framebuffer_open(module, &fbDev);
86 err = gralloc_open(module, &grDev);
149 ALOGE("Couldn't get gralloc module");
/frameworks/base/data/fonts/
H A DAndroid.mk107 # It also serves as the module name and the dest file name.
108 define build-one-font-module
166 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f)))
168 build-one-font-module :=
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp124 llvm::Module *module = NULL; local
127 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error);
129 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error);
135 if (!module) {
144 llvm::WriteBitcodeToFile(module, OS);
H A DMetadataExtractor.cpp76 MetadataExtractor::MetadataExtractor(const llvm::Module *module) argument
77 : mModule(module), mBitcode(NULL), mBitcodeSize(0), mExportVarCount(0),
404 ALOGE("Invalid/empty bitcode/module");
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp55 "Failed to materialize the module.",
331 llvm::Module &module = pScript.getSource().getModule(); local
338 // Materialize the bitcode module.
339 if (module.getMaterializer() != NULL) {
341 // A module with non-null materializer means that it is a lazy-load module.
344 if (module.MaterializeAllPermanently(&error)) {
345 ALOGE("Failed to materialize the module `%s'! (%s)",
346 module.getModuleIdentifier().c_str(), error.c_str());
H A DSource.cpp36 // reduce the startup time. On success, return the LLVM module object created
42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); local
44 if (module == NULL) {
49 return module;
69 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local
71 if (module == NULL) {
76 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
78 delete module;
95 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local
97 if (module
123 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local
184 llvm::Module *module = local
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp51 static light_device_t* get_device(hw_module_t* module, char const* name) argument
55 err = module->methods->open(module, name, &device);
66 hw_module_t* module; local
71 err = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
74 = get_device(module, LIGHT_ID_BACKLIGHT);
76 = get_device(module, LIGHT_ID_KEYBOARD);
78 = get_device(module, LIGHT_ID_BUTTONS);
80 = get_device(module, LIGHT_ID_BATTERY);
82 = get_device(module, LIGHT_ID_NOTIFICATION
[all...]
H A Dcom_android_server_location_GpsLocationProvider.cpp238 hw_module_t* module; local
253 err = hw_get_module(GPS_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dec_defs.h54 ; Define module specific macros here
56 #define module(x, POW2) ((x)&(POW2-1)) macro
98 ; Declare variables used in this module but defined elsewhere
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp321 llvm::OwningPtr<llvm::Module> module; local
323 module.reset(llvm::ParseBitcodeFile(mem.get(), ctx, &errmsg));
324 if (module.get() != 0 && module->MaterializeAllPermanently(&errmsg)) {
325 module.reset();
328 if (module.get() == 0) {
341 module->print(tof->os(), ann.get());
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c187 downmix_module_t *module; local
227 module = malloc(sizeof(downmix_module_t));
229 module->itfe = &gDownmixInterface;
231 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
233 ret = Downmix_Init(module);
236 free(module);
240 *pHandle = (effect_handle_t) module;
242 ALOGV("DownmixLib_Create() %p , size %d", module, sizeof(downmix_module_t));
556 * pDwmModule pointer to downmix effect module
580 ALOGV("Downmix_Init module
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp63 status_t CameraClient::initialize(camera_module_t *module) { argument
72 res = mHardware->initialize(&module->common);
H A DCamera2Client.cpp75 status_t Camera2Client::initialize(camera_module_t *module) argument
81 res = mDevice->initialize(module);
H A DCameraHardwareInterface.h97 status_t initialize(hw_module_t *module) argument
100 int rc = module->methods->open(module, mName.string(),
H A DCamera2Device.cpp50 status_t Camera2Device::initialize(camera_module_t *module) argument
65 res = module->common.methods->open(&module->common, name,
84 res = module->get_camera_info(mId, &info);
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c120 reverb_module_t *module; local
143 module = malloc(sizeof(reverb_module_t));
145 module->itfe = &gReverbInterface;
147 module->context.mState = REVERB_STATE_UNINITIALIZED;
155 ret = Reverb_Init(module, aux, preset);
158 free(module);
162 *pHandle = (effect_handle_t) module;
164 module->context.mState = REVERB_STATE_INITIALIZED;
166 ALOGV("EffectLibCreateEffect %p ,size %d", module, sizeof(reverb_module_t));
459 * pRvbModule - pointer to reverb effect module
[all...]
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp368 virtual audio_io_handle_t openOutput(audio_module_handle_t module, argument
384 data.writeInt32(module);
445 virtual audio_io_handle_t openInput(audio_module_handle_t module, argument
458 data.writeInt32(module);
882 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local
889 audio_io_handle_t output = openOutput(module,
929 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local
935 audio_io_handle_t input = openInput(module,
/frameworks/native/opengl/libagl/
H A Dtexture.cpp135 gralloc_module_t const* module = local
139 int err = module->lock(module, native_buffer->handle,
163 gralloc_module_t const* module = local
166 module->unlock(module, native_buffer->handle);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp219 // Load and prepare the hardware composer module. Sets mHwc.
222 hw_module_t const* module; local
224 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) {
225 ALOGE("%s module not found", HWC_HARDWARE_MODULE_ID);
229 int err = hwc_open_1(module, &mHwc);
247 // Load and prepare the FB HAL, which uses the gralloc module. Sets mFbDev.
250 hw_module_t const* module; local
252 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) != 0) {
253 ALOGE("%s module not found", GRALLOC_HARDWARE_MODULE_ID);
257 int err = framebuffer_open(module,
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp62 const struct hw_module_t *module; local
74 rc = hw_get_module(AUDIO_POLICY_HARDWARE_MODULE_ID, &module);
78 rc = audio_policy_dev_open(module, &mpAudioPolicyDev);
94 ALOGI("Loaded audio policy from %s (%s)", module->name, module->id);
1372 audio_module_handle_t module,
1385 return af->openOutput(module, pDevices, pSamplingRate, pFormat, pChannelMask,
1450 audio_module_handle_t module,
1462 return af->openInput(module, pDevices, pSamplingRate, pFormat, pChannelMask);
1371 aps_open_output_on_module(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags) argument
1449 aps_open_input_on_module(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask) argument

Completed in 343 milliseconds

12