Searched refs:calloc (Results 51 - 75 of 95) sorted by path

1234

/haiku/src/add-ons/kernel/drivers/power/acpi_lid/
H A Dacpi_lid.cpp254 device = (acpi_lid_device_info *)calloc(1, sizeof(*device));
/haiku/src/add-ons/kernel/drivers/power/acpi_thermal/
H A Dacpi_thermal.c306 device = (acpi_thermal_device_info*)calloc(1, sizeof(*device));
/haiku/src/add-ons/kernel/drivers/power/pch_thermal/
H A Dpch_thermal.cpp277 device = (pch_thermal_device_info *)calloc(1, sizeof(*device));
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dacpi_cpuidle.cpp551 device = (acpi_cpuidle_driver_info *)calloc(1, sizeof(*device));
/haiku/src/add-ons/kernel/drivers/sensor/acpi_als/
H A Dacpi_als.cpp114 device = (als_device_cookie*)calloc(1, sizeof(als_device_cookie));
237 device = (als_driver_cookie *)calloc(1, sizeof(als_driver_cookie));
/haiku/src/add-ons/kernel/drivers/wmi/
H A DWMIACPI.cpp70 fWMIInfos = (wmi_info *)calloc(fWMIInfoCount, sizeof(wmi_info));
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp3026 fBitmap = (uint8*)calloc(fSize, 1);
/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddir.cpp981 if ((entry = (vnode *)calloc(sizeof(struct vnode), 1)) == NULL) {
H A Ddosfs.cpp181 nspace* vol = (nspace *)calloc(sizeof(nspace), 1);
H A Dfile.cpp347 filecookie *cookie = (filecookie*)calloc(sizeof(filecookie), 1);
550 cookie = (filecookie *)calloc(sizeof(filecookie), 1);
H A Dvcache.cpp100 vol->vcache.by_vnid = (vcache_entry**)calloc(sizeof(struct vache_entry *),
107 vol->vcache.by_loc = (vcache_entry**)calloc(sizeof(struct vache_entry *),
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp618 volume = (iso9660_volume *)calloc(sizeof(iso9660_volume), 1);
H A Dkernel_interface.cpp354 iso9660_inode* newNode = (iso9660_inode*)calloc(sizeof(iso9660_inode), 1);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dmisc.c47 p = calloc(1, size);
49 ntfs_log_perror("Failed to calloc %lld bytes", (long long)size);
H A Drunlist.c2074 bob = calloc(3, sizeof(runlist_element));
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c985 ctx = (struct mft_search_ctx*)calloc(1, sizeof *ctx);
1110 ctx->inode = (ntfs_inode*)calloc(1, sizeof(*ctx->inode));
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c179 ht->table = (hash_ent **)calloc(ht->max, sizeof(hash_ent *));
269 new_table = (hash_ent **)calloc(newsize, sizeof(hash_ent *));
1610 ce = (cache_ent *)calloc(1, sizeof(cache_ent));
/haiku/src/add-ons/screen_savers/ifs/
H A DIFS.cpp175 fRoot = (FRACTAL*)calloc(1, sizeof(FRACTAL));
220 if ((Fractal->buffer1 = (Point *)calloc(Fractal->MaxPoint,
225 if ((Fractal->buffer2 = (Point *)calloc(Fractal->MaxPoint,
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp155 fHistogram = (int32 (*)[4])calloc(sizeof(int32) * 0x2000 * 4, 1);
1095 fimg = (float *)calloc((1UL << dim*2) + (1UL << dim) + 2, sizeof *fimg);
1244 uint16 (*data)[4] = (uint16 (*)[4])calloc(fInputHeight
1981 fOutputProfile = (uint32 *)calloc(phead[0], 1);
2275 jh->row = (ushort *)calloc(jh->wide*jh->clrs, 2);
2340 uint16* pixel = (uint16*)calloc(rawWidth, sizeof(uint16));
2483 uint16* pixel = (uint16 *)calloc(rawWidth * 8, sizeof(*pixel));
3583 fImageData = (uint16 (*)[4])calloc(fOutputWidth * fOutputHeight
/haiku/src/add-ons/translators/sgi/
H A DSGIImage.cpp118 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*));
119 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32));
127 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*));
128 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32));
208 fARLERow = (uint16*)calloc(fWidth, sizeof(uint16));
222 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*));
223 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32));
229 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*));
230 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32));
/haiku/src/apps/people/
H A DPersonView.cpp363 value = (char*)calloc(info.size, 1);
/haiku/src/bin/network/ftpd/
H A Dftpcmd.y932 $$ = (char *)calloc(1, sizeof(char));
H A Dftpd.c1243 reply = calloc(num_msg, sizeof *reply);
H A Dpopen.c88 if ((pids = calloc(fds, sizeof(int))) == NULL)
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c1949 hi = calloc(1, sizeof(*hi));
1951 Fprintf(stderr, "%s: calloc %s\n", prog, strerror(errno));
1958 hi->addrs = calloc(1, sizeof(hi->addrs[0]));
1960 Fprintf(stderr, "%s: calloc %s\n",
1986 hi->addrs = calloc(n, sizeof(hi->addrs[0]));
1988 Fprintf(stderr, "%s: calloc %s\n", prog, strerror(errno));

Completed in 262 milliseconds

1234