Searched refs:fm (Results 1 - 11 of 11) sorted by relevance
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | css-url.c | 251 struct file_memory *fm; local 255 fm = read_file (file); 256 if (!fm) 261 DEBUGP (("Loaded %s (size %s).\n", file, number_to_static_string (fm->length))); 263 ctx.text = fm->content; 270 get_urls_css (&ctx, 0, fm->length); 271 read_file_free (fm);
|
H A D | convert.c | 205 struct file_memory *fm; local 231 fm = read_file (file); 232 if (!fm) 251 read_file_free (fm); 260 read_file_free (fm); 266 p = fm->content; 269 char *url_start = fm->content + link->pos; 271 if (link->pos >= fm->length) 342 if (p - fm->content < fm [all...] |
H A D | html-url.c | 659 struct file_memory *fm; 664 fm = read_file (file); 665 if (!fm) 670 DEBUGP (("Loaded %s (size %s).\n", file, number_to_static_string (fm->length))); 672 ctx.text = fm->content; 694 map_html_tags (fm->content, fm->length, collect_tags_mapper, &ctx, flags, 706 read_file_free (fm); 716 struct file_memory *fm; 721 fm 657 struct file_memory *fm; local 714 struct file_memory *fm; local [all...] |
H A D | utils.c | 1172 struct file_memory *fm; 1189 fm = xnew (struct file_memory); 1196 fm->length = buf.st_size; 1201 fm->content = mmap (NULL, fm->length, PROT_READ | PROT_WRITE, 1203 if (fm->content == (char *)MAP_FAILED) 1208 fm->mmap_p = 1; 1209 return fm; 1219 fm->length = 0; 1220 size = 512; /* number of bytes fm 1165 struct file_memory *fm; local 1272 read_file_free(struct file_memory *fm) argument [all...] |
H A D | res.c | 389 struct file_memory *fm = read_file (filename); 390 if (!fm) 396 specs = res_parse (fm->content, fm->length); 397 read_file_free (fm); 388 struct file_memory *fm = read_file (filename); local
|
/haiku-fatelf/src/add-ons/accelerants/radeon/ |
H A D | overlay_management.c | 181 radeon_free_mem fm; local 192 fm.magic = RADEON_PRIVATE_DATA_MAGIC; 193 fm.handle = node->mem_handle; 194 fm.memory_type = mt_local; 195 fm.global = false; 197 result = ioctl( ai->fd, RADEON_FREE_MEM, &fm );
|
H A D | SetDisplayMode.c | 391 radeon_free_mem fm; local 393 fm.magic = RADEON_PRIVATE_DATA_MAGIC; 394 fm.memory_type = mt_local; 395 fm.global = true; 398 fm.handle = vc->cursor.mem_handle; 399 ioctl( ai->fd, RADEON_FREE_MEM, &fm ); 403 fm.handle = vc->fb_mem_handle; 404 ioctl( ai->fd, RADEON_FREE_MEM, &fm );
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | driver.c | 350 radeon_free_mem *fm = (radeon_free_mem *)buf; local 353 if( fm->magic != RADEON_PRIVATE_DATA_MAGIC ) 356 if( fm->memory_type > mt_last ) 359 memory_type = fm->memory_type == mt_nonlocal ? di->si->nonlocal_type : fm->memory_type; 361 result = mem_free( di->memmgr[memory_type], fm->handle, fm->global ? 0 : dev );
|
H A D | CP_setup.c | 66 radeon_free_mem fm; \ 68 fm.magic = RADEON_PRIVATE_DATA_MAGIC; \ 69 fm.memory_type = mem_type; \ 70 fm.handle = offset; \ 72 ioctl( ai->fd, RADEON_FREE_MEM, &fm ); \
|
/haiku-fatelf/src/bin/less/ |
H A D | line.c | 1220 char *fm; local 1234 for (fm = linebuf + old_size_linebuf - 1, 1236 fm >= linebuf; fm--, to--) 1237 *to = *fm;
|
/haiku-fatelf/src/add-ons/media/media-add-ons/radeon/ |
H A D | Radeon.cpp | 557 radeon_free_mem fm; local 559 fm.magic = RADEON_PRIVATE_DATA_MAGIC; 560 fm.memory_type = memory_type; 561 fm.global = false; 562 fm.handle = handle; 564 ioctl( fHandle, RADEON_FREE_MEM, &fm );
|
Completed in 200 milliseconds