/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | neighbor_db.c | 23 struct hostapd_neighbor_entry *nr; in hostapd_neighbor_get() local 25 dl_list_for_each(nr, &hapd->nr_db, struct hostapd_neighbor_entry, in hostapd_neighbor_get() 27 if (os_memcmp(bssid, nr->bssid, ETH_ALEN) == 0 && in hostapd_neighbor_get() 29 (ssid->ssid_len == nr->ssid.ssid_len && in hostapd_neighbor_get() 30 os_memcmp(ssid->ssid, nr->ssid.ssid, in hostapd_neighbor_get() 32 return nr; in hostapd_neighbor_get() 40 struct hostapd_neighbor_entry *nr; in hostapd_neighbor_show() local 46 dl_list_for_each(nr, &hapd->nr_db, struct hostapd_neighbor_entry, in hostapd_neighbor_show() 55 wpa_snprintf_hex(ssid, sizeof(ssid), nr->ssid.ssid, in hostapd_neighbor_show() 56 nr in hostapd_neighbor_show() 92 hostapd_neighbor_clear_entry(struct hostapd_neighbor_entry *nr) hostapd_neighbor_clear_entry() argument 109 struct hostapd_neighbor_entry *nr; hostapd_neighbor_add() local 121 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary, u8 bss_parameters) hostapd_neighbor_set() argument 171 struct hostapd_neighbor_entry *nr; hostapd_neighbor_remove() local 187 struct hostapd_neighbor_entry *nr, *prev; hostapd_free_neighbor_db() local 233 struct wpabuf *nr; hostapd_neighbor_set_own_report() local [all...] |
H A D | rrm.c | 156 static int hostapd_check_lci_age(struct hostapd_neighbor_entry *nr, u16 max_age) in hostapd_check_lci_age() argument 161 if (nr->stationary || max_age == 0xffff) in hostapd_check_lci_age() 170 os_time_sub(&curr, &nr->lci_date, &diff); in hostapd_check_lci_age() 184 struct hostapd_neighbor_entry *nr, in hostapd_neighbor_report_len() 187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len() 189 if (send_lci && nr->lci) in hostapd_neighbor_report_len() 190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len() 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr in hostapd_neighbor_report_len() 183 hostapd_neighbor_report_len(struct wpabuf *buf, struct hostapd_neighbor_entry *nr, int send_lci, int send_civic) hostapd_neighbor_report_len() argument 204 struct hostapd_neighbor_entry *nr; hostapd_send_nei_report_resp() local 519 struct hostapd_neighbor_entry *nr; hostapd_send_range_req() local [all...] |
H A D | ap_rrm.c | 156 static int hostapd_check_lci_age(struct hostapd_neighbor_entry *nr, u16 max_age) in hostapd_check_lci_age() argument 161 if (nr->stationary || max_age == 0xffff) in hostapd_check_lci_age() 170 os_time_sub(&curr, &nr->lci_date, &diff); in hostapd_check_lci_age() 184 struct hostapd_neighbor_entry *nr, in hostapd_neighbor_report_len() 187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len() 189 if (send_lci && nr->lci) in hostapd_neighbor_report_len() 190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len() 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr in hostapd_neighbor_report_len() 183 hostapd_neighbor_report_len(struct wpabuf *buf, struct hostapd_neighbor_entry *nr, int send_lci, int send_civic) hostapd_neighbor_report_len() argument 204 struct hostapd_neighbor_entry *nr; hostapd_send_nei_report_resp() local 519 struct hostapd_neighbor_entry *nr; hostapd_send_range_req() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | neighbor_db.c | 22 struct hostapd_neighbor_entry *nr; in hostapd_neighbor_get() local 24 dl_list_for_each(nr, &hapd->nr_db, struct hostapd_neighbor_entry, in hostapd_neighbor_get() 26 if (os_memcmp(bssid, nr->bssid, ETH_ALEN) == 0 && in hostapd_neighbor_get() 28 (ssid->ssid_len == nr->ssid.ssid_len && in hostapd_neighbor_get() 29 os_memcmp(ssid->ssid, nr->ssid.ssid, in hostapd_neighbor_get() 31 return nr; in hostapd_neighbor_get() 37 static void hostapd_neighbor_clear_entry(struct hostapd_neighbor_entry *nr) in hostapd_neighbor_clear_entry() argument 39 wpabuf_free(nr->nr); in hostapd_neighbor_clear_entry() 40 nr in hostapd_neighbor_clear_entry() 54 struct hostapd_neighbor_entry *nr; hostapd_neighbor_add() local 66 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary) hostapd_neighbor_set() argument 113 struct hostapd_neighbor_entry *nr; hostapd_neighbor_remove() local 129 struct hostapd_neighbor_entry *nr, *prev; hostapd_free_neighbor_db() local 175 struct wpabuf *nr; hostapd_neighbor_set_own_report() local [all...] |
H A D | ap_rrm.c | 156 static int hostapd_check_lci_age(struct hostapd_neighbor_entry *nr, u16 max_age) in hostapd_check_lci_age() argument 161 if (nr->stationary || max_age == 0xffff) in hostapd_check_lci_age() 170 os_time_sub(&curr, &nr->lci_date, &diff); in hostapd_check_lci_age() 184 struct hostapd_neighbor_entry *nr, in hostapd_neighbor_report_len() 187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len() 189 if (send_lci && nr->lci) in hostapd_neighbor_report_len() 190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len() 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr in hostapd_neighbor_report_len() 183 hostapd_neighbor_report_len(struct wpabuf *buf, struct hostapd_neighbor_entry *nr, int send_lci, int send_civic) hostapd_neighbor_report_len() argument 204 struct hostapd_neighbor_entry *nr; hostapd_send_nei_report_resp() local 519 struct hostapd_neighbor_entry *nr; hostapd_send_range_req() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ptrlist.c | 40 int nr = 0; in ptr_list_size() local 45 nr += list->nr - list->rm; in ptr_list_size() 48 return nr; in ptr_list_size() 63 if (list->nr - list->rm) in ptr_list_empty() 77 int nr = 0; in ptr_list_multiple() local 83 nr += list->nr - list->rm; in ptr_list_multiple() 84 if (nr > 1) in ptr_list_multiple() 102 while (list->nr in first_ptr_list() 141 unsigned int nr = list->nr; ptr_list_nth_entry() local 167 int nr = 0; linearize_ptr_list() local 237 int old = head->nr, nr = old / 2; split_ptr_list_head() local 265 int nr; __add_ptr_list() local 321 int nr = list->nr; lookup_ptr_list_entry() local 392 int nr = --last->nr; undo_ptr_list_last() local 460 int nr = cur->nr; copy_ptr_list() local [all...] |
H A D | bitmap.h | 10 static inline int test_bit(unsigned int nr, unsigned long *bitmap) in test_bit() argument 12 unsigned long offset = nr / BITS_IN_LONG; in test_bit() 13 unsigned long bit = nr & (BITS_IN_LONG-1); in test_bit() 17 static inline void set_bit(unsigned int nr, unsigned long *bitmap) in set_bit() argument 19 unsigned long offset = nr / BITS_IN_LONG; in set_bit() 20 unsigned long bit = nr & (BITS_IN_LONG-1); in set_bit() 24 static inline void clear_bit(unsigned int nr, unsigned long *bitmap) in clear_bit() argument 26 unsigned long offset = nr / BITS_IN_LONG; in clear_bit() 27 unsigned long bit = nr & (BITS_IN_LONG-1); in clear_bit() 31 static inline int test_and_set_bit(unsigned int nr, unsigne argument 41 test_and_clear_bit(unsigned int nr, unsigned long *bitmap) test_and_clear_bit() argument [all...] |
H A D | sort.c | 46 static void array_sort(void **ptr, int nr, int (*cmp)(const void *, const void *)) in array_sort() argument 49 for (i = 1; i < nr; i++) { in array_sort() 71 while (l->nr == 0) { in verify_seq_sorted() 81 if (++i >= l->nr) { in verify_seq_sorted() 98 int nr = (b)->nr; \ 99 assert (nbuf >= nr); \ 100 memcpy ((b)->list, buffer, nr * sizeof (void *)); \ 101 nbuf -= nr; \ 102 memmove (buffer, buffer + nr, nbu [all...] |
H A D | ptrmap.c | 38 int nr; member 51 int nr; in __ptrmap_add() local 57 if ((nr = map->nr) < MAP_NR) in __ptrmap_add() 70 nr = 0; in __ptrmap_add() 73 pair = &map->pairs[nr]; in __ptrmap_add() 76 map->nr = ++nr; in __ptrmap_add() 82 int i, n = map->nr; in __ptrmap_lookup() 97 int i, n = map->nr; in __ptrmap_update() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/ |
H A D | mod.rs | 54 // - Calling `nr` on the syscall number to convert it into `SyscallNumber`. 59 ($nr:ident) => { 60 $crate::backend::arch::choose::syscall0($crate::backend::reg::nr( 61 linux_raw_sys::general::$nr, 65 ($nr:ident, $a0:expr) => { 67 $crate::backend::reg::nr(linux_raw_sys::general::$nr), 72 ($nr:ident, $a0:expr, $a1:expr) => { 74 $crate::backend::reg::nr(linux_raw_sys::general::$nr), [all...] |
/third_party/mesa3d/src/util/indices/ |
H A D | u_indices.c | 112 * \param nr number of incoming vertices 125 unsigned nr, in u_index_translator() 159 *out_nr = nr; in u_index_translator() 165 *out_nr = u_index_count_converted_indices(hw_mask, in_pv == out_pv, prim, nr); in u_index_translator() 171 u_index_count_converted_indices(unsigned hw_mask, bool pv_matches, enum pipe_prim_type prim, unsigned nr) in u_index_count_converted_indices() argument 174 return nr; in u_index_count_converted_indices() 179 return nr; in u_index_count_converted_indices() 181 return nr; in u_index_count_converted_indices() 183 return (nr - 1) * 2; in u_index_count_converted_indices() 185 return nr * in u_index_count_converted_indices() 122 u_index_translator(unsigned hw_mask, enum pipe_prim_type prim, unsigned in_index_size, unsigned nr, unsigned in_pv, unsigned out_pv, unsigned prim_restart, enum pipe_prim_type *out_prim, unsigned *out_index_size, unsigned *out_nr, u_translate_func *out_translate) u_index_translator() argument 237 u_index_generator(unsigned hw_mask, enum pipe_prim_type prim, unsigned start, unsigned nr, unsigned in_pv, unsigned out_pv, enum pipe_prim_type *out_prim, unsigned *out_index_size, unsigned *out_nr, u_generate_func *out_generate) u_index_generator() argument [all...] |
H A D | u_unfilled_indices.c | 72 unsigned nr, in generate_linear_ushort() 77 for (i = 0; i < nr; i++) in generate_linear_ushort() 82 unsigned nr, in generate_linear_uint() 87 for (i = 0; i < nr; i++) in generate_linear_uint() 98 nr_lines(enum pipe_prim_type prim, unsigned nr) in nr_lines() argument 102 return (nr / 3) * 6; in nr_lines() 104 return (nr - 2) * 6; in nr_lines() 106 return (nr - 2) * 6; in nr_lines() 108 return (nr / 4) * 8; in nr_lines() 110 return (nr in nr_lines() 71 generate_linear_ushort( unsigned start, unsigned nr, void *out ) generate_linear_ushort() argument 81 generate_linear_uint( unsigned start, unsigned nr, void *out ) generate_linear_uint() argument 129 u_unfilled_translator(enum pipe_prim_type prim, unsigned in_index_size, unsigned nr, unsigned unfilled_mode, enum pipe_prim_type *out_prim, unsigned *out_index_size, unsigned *out_nr, u_translate_func *out_translate) u_unfilled_translator() argument 189 u_unfilled_generator(enum pipe_prim_type prim, unsigned start, unsigned nr, unsigned unfilled_mode, enum pipe_prim_type *out_prim, unsigned *out_index_size, unsigned *out_nr, u_generate_func *out_generate) u_unfilled_generator() argument [all...] |
/third_party/node/lib/internal/process/ |
H A D | report.js | 11 const nr = internalBinding('report'); 30 return nr.writeReport('JavaScript API', 'API', file, err); 38 return JSONParse(nr.getReport(err)); 41 return nr.getDirectory(); 45 nr.setDirectory(dir); 48 return nr.getFilename(); 52 nr.setFilename(name); 55 return nr.getCompact(); 59 nr.setCompact(b); 62 return nr [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_fetch.c | 62 unsigned i, nr = 0, ei = 0; in draw_pt_fetch_prepare() local 84 key.element[nr].type = TRANSLATE_ELEMENT_INSTANCE_ID; in draw_pt_fetch_prepare() 85 key.element[nr].input_format = PIPE_FORMAT_R32_USCALED; in draw_pt_fetch_prepare() 86 key.element[nr].output_format = PIPE_FORMAT_R32_USCALED; in draw_pt_fetch_prepare() 87 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare() 91 key.element[nr].type = TRANSLATE_ELEMENT_NORMAL; in draw_pt_fetch_prepare() 92 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 93 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare() 94 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare() 95 key.element[nr] in draw_pt_fetch_prepare() [all...] |
/third_party/rust/crates/nix/src/sys/ioctl/ |
H A D | mod.rs | 304 ($(#[$attr:meta])* $name:ident, $ioty:expr, $nr:expr) => ( 308 convert_ioctl_res!($crate::libc::ioctl(fd, request_code_none!($ioty, $nr) as $crate::sys::ioctl::ioctl_num_type)) 344 ($(#[$attr:meta])* $name:ident, $nr:expr) => ( 348 convert_ioctl_res!($crate::libc::ioctl(fd, $nr as $crate::sys::ioctl::ioctl_num_type)) 381 ($(#[$attr:meta])* $name:ident, $ioty:expr, $nr:expr, $ty:ty) => ( 386 convert_ioctl_res!($crate::libc::ioctl(fd, request_code_read!($ioty, $nr, ::std::mem::size_of::<$ty>()) as $crate::sys::ioctl::ioctl_num_type, data)) 417 ($(#[$attr:meta])* $name:ident, $nr:expr, $ty:ty) => ( 422 convert_ioctl_res!($crate::libc::ioctl(fd, $nr as $crate::sys::ioctl::ioctl_num_type, data)) 454 ($(#[$attr:meta])* $name:ident, $ioty:expr, $nr:expr, $ty:ty) => ( 459 convert_ioctl_res!($crate::libc::ioctl(fd, request_code_write!($ioty, $nr, [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/outline/ |
H A D | x86.rs | 28 fn rustix_syscall0_nr_last_fastcall(nr: SyscallNumber<'_>) -> RetReg<R0>; in rustix_syscall0_nr_last_fastcall() 29 fn rustix_syscall1_nr_last_fastcall(a0: ArgReg<'_, A0>, nr: SyscallNumber<'_>) -> RetReg<R0>; in rustix_syscall0_nr_last_fastcall() 30 fn rustix_syscall1_noreturn_nr_last_fastcall(a0: ArgReg<'_, A0>, nr: SyscallNumber<'_>) -> !; in rustix_syscall1_noreturn_nr_last_fastcall() 34 nr: SyscallNumber<'_>, in rustix_syscall2_nr_last_fastcall() 40 nr: SyscallNumber<'_>, in rustix_syscall3_nr_last_fastcall() 47 nr: SyscallNumber<'_>, in rustix_syscall4_nr_last_fastcall() 55 nr: SyscallNumber<'_>, in rustix_syscall5_nr_last_fastcall() 64 nr: SyscallNumber<'_>, in rustix_syscall6_nr_last_fastcall() 71 pub(in crate::backend) unsafe fn syscall0(nr: SyscallNumber<'_>) -> RetReg<R0> { 72 rustix_syscall0_nr_last_fastcall(nr) [all...] |
H A D | nr_last.rs | 27 fn rustix_syscall0_nr_last(nr: SyscallNumber<'_>) -> RetReg<R0>; in rustix_syscall0_nr_last() 28 fn rustix_syscall1_nr_last(a0: ArgReg<'_, A0>, nr: SyscallNumber<'_>) -> RetReg<R0>; in rustix_syscall0_nr_last() 29 fn rustix_syscall1_noreturn_nr_last(a0: ArgReg<'_, A0>, nr: SyscallNumber<'_>) -> !; in rustix_syscall1_noreturn_nr_last() 33 nr: SyscallNumber<'_>, in rustix_syscall2_nr_last() 39 nr: SyscallNumber<'_>, in rustix_syscall3_nr_last() 46 nr: SyscallNumber<'_>, in rustix_syscall4_nr_last() 54 nr: SyscallNumber<'_>, in rustix_syscall5_nr_last() 63 nr: SyscallNumber<'_>, in rustix_syscall6_nr_last() 74 nr: SyscallNumber<'_>, in rustix_syscall7_nr_last() 81 pub(in crate::backend) unsafe fn syscall0(nr [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_reg.h | 232 unsigned nr; member 383 * \param nr register number/index 396 unsigned nr, in brw_reg() 409 assert(nr < BRW_MAX_GRF); in brw_reg() 411 assert(nr <= BRW_ARF_TIMESTAMP); in brw_reg() 424 reg.nr = nr; in brw_reg() 444 brw_vec16_reg(enum brw_reg_file file, unsigned nr, unsigned subnr) 447 nr, 461 brw_vec8_reg(enum brw_reg_file file, unsigned nr, unsigne 395 brw_reg(enum brw_reg_file file, unsigned nr, unsigned subnr, unsigned negate, unsigned abs, enum brw_reg_type type, unsigned vstride, unsigned width, unsigned hstride, unsigned swizzle, unsigned writemask) brw_reg() argument [all...] |
H A D | brw_vec4_reg_allocate.cpp | 36 reg->nr = reg_hw_locations[reg->nr] + reg->offset / REG_SIZE; in assign() 57 virtual_grf_used[inst->dst.nr] = true; in reg_allocate_trivial() 61 virtual_grf_used[inst->src[i].nr] = true; in reg_allocate_trivial() 196 ra_add_node_interference(g, inst->dst.nr, inst->src[i].nr); in reg_allocate() 274 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source() 287 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source() 307 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source() 364 if (inst->src[i].file == VGRF && !no_spill[inst->src[i].nr]) { in evaluate_spill_costs() [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_prim_vbuf.c | 160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in sp_vbuf_draw_elements() argument 172 for (i = 0; i < nr; i++) { in sp_vbuf_draw_elements() 179 for (i = 1; i < nr; i += 2) { in sp_vbuf_draw_elements() 187 for (i = 1; i < nr; i ++) { in sp_vbuf_draw_elements() 195 for (i = 1; i < nr; i ++) { in sp_vbuf_draw_elements() 200 if (nr) { in sp_vbuf_draw_elements() 202 get_vert(vertex_buffer, indices[nr-1], stride), in sp_vbuf_draw_elements() 208 for (i = 2; i < nr; i += 3) { in sp_vbuf_draw_elements() 218 for (i = 2; i < nr; i += 1) { in sp_vbuf_draw_elements() 228 for (i = 2; i < nr; in sp_vbuf_draw_elements() 356 sp_vbuf_draw_arrays(struct vbuf_render *vbr, uint start, uint nr) sp_vbuf_draw_arrays() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_push.c | 92 unsigned size, nr; in emit_vertices_i08() local 94 nr = push; in emit_vertices_i08() 96 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08() 98 size = ctx->vertex_words * nr; in emit_vertices_i08() 102 ctx->translate->run_elts8(ctx->translate, elts, nr, 0, 0, ctx->push->cur); in emit_vertices_i08() 105 count -= nr; in emit_vertices_i08() 106 elts += nr; in emit_vertices_i08() 108 if (nr != push) { in emit_vertices_i08() 124 unsigned size, nr; in emit_vertices_i16() local 126 nr in emit_vertices_i16() 156 unsigned size, nr; emit_vertices_i32() local [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_vbuf.c | 165 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in lp_setup_draw_elements() argument 183 for (i = 0; i < nr; i++) { in lp_setup_draw_elements() 190 for (i = 1; i < nr; i += 2) { in lp_setup_draw_elements() 198 for (i = 1; i < nr; i ++) { in lp_setup_draw_elements() 206 for (i = 1; i < nr; i ++) { in lp_setup_draw_elements() 211 if (nr) { in lp_setup_draw_elements() 213 get_vert(vertex_buffer, indices[nr-1], stride), in lp_setup_draw_elements() 219 if (nr % 6 == 0 && !uses_constant_interp) { in lp_setup_draw_elements() 220 for (i = 5; i < nr; i += 6) { in lp_setup_draw_elements() 231 for (i = 2; i < nr; in lp_setup_draw_elements() 380 lp_setup_draw_arrays(struct vbuf_render *vbr, uint start, uint nr) lp_setup_draw_arrays() argument [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_loopback.c | 100 const struct loopback_attr *la, GLuint nr) in loopback_prim() 124 for (GLuint k = 0; k < nr; k++) in loopback_prim() 137 append_attr(GLuint *nr, struct loopback_attr la[], int i, int shift, in append_attr() argument 140 la[*nr].index = shift + i; in append_attr() 141 la[*nr].offset = vao->VertexAttrib[i].RelativeOffset; in append_attr() 142 la[*nr].func = vert_attrfunc[vao->VertexAttrib[i].Format.Size - 1]; in append_attr() 143 (*nr)++; in append_attr() 153 GLuint nr = 0; in _vbo_loopback_vertex_list() local 162 append_attr(&nr, la, i, VBO_MATERIAL_SHIFT, vao); in _vbo_loopback_vertex_list() 169 append_attr(&nr, l in _vbo_loopback_vertex_list() 95 loopback_prim(struct gl_context *ctx, const GLubyte *buffer, const struct _mesa_prim *prim, GLuint wrap_count, GLuint stride, const struct loopback_attr *la, GLuint nr) loopback_prim() argument 188 &prims[i], wrap_count, stride, la, nr); _vbo_loopback_vertex_list() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_push.c | 74 unsigned size, nr; in emit_vertices_i08() local 76 nr = push; in emit_vertices_i08() 78 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08() 80 size = ctx->vertex_words * nr; in emit_vertices_i08() 89 ctx->translate->run_elts8(ctx->translate, elts, nr, in emit_vertices_i08() 94 count -= nr; in emit_vertices_i08() 95 elts += nr; in emit_vertices_i08() 97 if (nr != push) { in emit_vertices_i08() 113 unsigned size, nr; in emit_vertices_i16() local 115 nr in emit_vertices_i16() 152 unsigned size, nr; emit_vertices_i32() local [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_inlines.h | 211 i915_validate_vertices(unsigned hw_prim, unsigned nr) in i915_validate_vertices() argument 217 ok = (nr >= 1); in i915_validate_vertices() 221 ok = (nr >= 2) && (nr % 2) == 0; in i915_validate_vertices() 225 ok = (nr >= 2); in i915_validate_vertices() 229 ok = (nr >= 3) && (nr % 3) == 0; in i915_validate_vertices() 233 ok = (nr >= 3); in i915_validate_vertices() 237 ok = (nr >= 3); in i915_validate_vertices() 241 ok = (nr > in i915_validate_vertices() [all...] |