Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 18 of 18) sorted by relevance

/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.h76 #define MALLOC(_pStruct_, _sName_) \ macro
DJPEGTestEnc.c1153 MALLOC(pPortParamType, OMX_PORT_PARAM_TYPE); in _tmain()
1154 MALLOC(pQfactorType, OMX_IMAGE_PARAM_QFACTORTYPE); in _tmain()
1155 MALLOC(pQuantizationTable,OMX_IMAGE_PARAM_QUANTIZATIONTABLETYPE); in _tmain()
1156 MALLOC(pHuffmanTable, JPEGENC_CUSTOM_HUFFMANTTABLETYPE); in _tmain()
1157 MALLOC(pInPortDef, OMX_PARAM_PORTDEFINITIONTYPE); in _tmain()
1158 MALLOC(pOutPortDef, OMX_PARAM_PORTDEFINITIONTYPE); in _tmain()
1159 MALLOC(imageinfo, IMAGE_INFO); in _tmain()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.h135 #define MALLOC(_ptr,_castType,_type,_eError) \ macro
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdh_linux.c199 if (!(sdhc = MALLOC(osh, sizeof(bcmsdh_hc_t)))) { in bcmsdh_probe()
392 if (!(sdhc = MALLOC(osh, sizeof(bcmsdh_hc_t)))) { in bcmsdh_pci_probe()
Dbcmsdh_sdmmc_linux.c153 sdos = (struct sdos_info*)MALLOC(sd->osh, sizeof(struct sdos_info)); in sdioh_sdmmc_osinit()
Dbcmsdspi_linux.c128 sdos = (struct sdos_info*)MALLOC(sd->osh, sizeof(struct sdos_info)); in spi_osinit()
Dbcmsdstd_linux.c118 sdos = (struct sdos_info*)MALLOC(sd->osh, sizeof(struct sdos_info)); in sdstd_osinit()
Dbcmsdh.c76 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach()
314 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
Dbcmpcispi.c77 if ((si = (spih_info_t *)MALLOC(osh, sizeof(spih_info_t))) == NULL) { in spi_hw_attach()
Dbcmsdh_sdmmc.c135 if ((sd = (sdioh_info_t *)MALLOC(osh, sizeof(sdioh_info_t))) == NULL) { in sdioh_attach()
Dbcmsdstd.c179 if ((sd = (sdioh_info_t *)MALLOC(osh, sizeof(sdioh_info_t))) == NULL) { in sdioh_attach()
854 if ((localbuf = (uint8 *)MALLOC(sd->osh, len)) == NULL) { in sdioh_request_buffer()
Dbcmsdspi.c95 if ((sd = (sdioh_info_t *)MALLOC(osh, sizeof(sdioh_info_t))) == NULL) { in sdioh_attach()
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_linux.c601 if (!(bufp = buf = MALLOC(dhd->pub.osh, buflen))) { in _dhd_set_multicast_list()
640 if (!(buf = MALLOC(dhd->pub.osh, buflen))) { in _dhd_set_multicast_list()
1511 if (!(buf = (char*)MALLOC(dhd->pub.osh, buflen))) { in dhd_ioctl_entry()
1668 if (!ifp && !(ifp = MALLOC(dhd->pub.osh, sizeof(dhd_if_t)))) { in dhd_add_if()
1732 if (!(dhd = MALLOC(osh, sizeof(dhd_info_t)))) { in dhd_attach()
2450 return MALLOC(0, size); in dhd_os_prealloc()
Ddhd_sdio.c1673 bus->vars = MALLOC(bus->dhd->osh, len); in dhdsdio_downloadvars()
2103 vbuffer = (uint8 *)MALLOC(bus->dhd->osh, varsize); in dhdsdio_write_vars()
2115 nvram_ularray = (char*)MALLOC(bus->dhd->osh, varsize); in dhdsdio_write_vars()
4492 if (!(bus = MALLOC(osh, sizeof(dhd_bus_t)))) { in dhdsdio_probe()
4618 if (!(cis[fn] = MALLOC(osh, SBSDIO_CIS_SIZE_LIMIT))) { in dhdsdio_probe_attach()
4718 if (!(bus->rxbuf = MALLOC(osh, bus->rxblen))) { in dhdsdio_probe_malloc()
4726 if (!(bus->databuf = MALLOC(osh, MAX_DATA_BUF))) { in dhdsdio_probe_malloc()
5024 ularray = MALLOC(bus->dhd->osh, bus->ramsize); in dhdsdio_download_code_array()
5080 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdsdio_download_code_file()
5202 memblock = MALLOC(bus->dhd->osh, MEMBLOCK); in dhdsdio_download_nvram()
Ddhd_cdc.c458 if (!(cdc = (dhd_prot_t *)MALLOC(dhd->osh, sizeof(dhd_prot_t)))) { in dhd_prot_attach()
/hardware/broadcom/wlan/bcm4329/src/shared/
Dsiutils.c79 if ((sii = MALLOC(osh, sizeof (si_info_t))) == NULL) { in si_attach()
307 if (NULL == (common_info_alloced = (void *)MALLOC(osh, sizeof(si_common_info_t)))) { in si_doattach()
1331 if ((gi = MALLOC(sii->osh, sizeof(gpioh_item_t))) == NULL) in si_gpio_handler_register()
Dbcmutils.c1327 ASSERT((buf = MALLOC(CBUFSIZ*CNBUFS)) != NULL); in testcrc32()
/hardware/broadcom/wlan/bcm4329/src/include/
Dlinux_osl.h97 #define MALLOC(osh, size) osl_malloc((osh), (size)) macro