Home
last modified time | relevance | path

Searched refs:unit_p (Results 1 – 12 of 12) sorted by relevance

/dports/emulators/nemu/nemu-3.0.0/src/
H A Dnm_usb_devices.c150 void nm_usb_vect_ins_cb(void *unit_p, const void *ctx) in nm_usb_vect_ins_cb() argument
152 nm_str_copy(nm_usb_name(unit_p), nm_usb_name(ctx)); in nm_usb_vect_ins_cb()
155 *nm_usb_bus_num(unit_p) = *nm_usb_bus_num(ctx); in nm_usb_vect_ins_cb()
156 *nm_usb_dev_addr(unit_p) = *nm_usb_dev_addr(ctx); in nm_usb_vect_ins_cb()
159 void nm_usb_vect_free_cb(void *unit_p) in nm_usb_vect_free_cb() argument
161 nm_str_free(nm_usb_name(unit_p)); in nm_usb_vect_free_cb()
162 nm_str_free(nm_usb_vendor_id(unit_p)); in nm_usb_vect_free_cb()
163 nm_str_free(nm_usb_product_id(unit_p)); in nm_usb_vect_free_cb()
169 *nm_usb_data_dev(unit_p) = *nm_usb_data_dev(ctx); in nm_usb_data_vect_ins_cb()
172 void nm_usb_data_vect_free_cb(void *unit_p) in nm_usb_data_vect_free_cb() argument
[all …]
H A Dnm_machine.c194 void nm_mach_vect_ins_mlist_cb(void *unit_p, const void *ctx) in nm_mach_vect_ins_mlist_cb() argument
196 nm_str_copy(nm_mach_arch(unit_p), nm_mach_arch(ctx)); in nm_mach_vect_ins_mlist_cb()
197 nm_str_copy(nm_mach_def(unit_p), nm_mach_def(ctx)); in nm_mach_vect_ins_mlist_cb()
198 memcpy(nm_mach_list(unit_p), nm_mach_list(ctx), sizeof(nm_vect_t *)); in nm_mach_vect_ins_mlist_cb()
201 void nm_mach_vect_free_mlist_cb(void *unit_p) in nm_mach_vect_free_mlist_cb() argument
203 nm_str_free(nm_mach_arch(unit_p)); in nm_mach_vect_free_mlist_cb()
204 nm_str_free(nm_mach_def(unit_p)); in nm_mach_vect_free_mlist_cb()
205 free(*nm_mach_list(unit_p)); in nm_mach_vect_free_mlist_cb()
H A Dnm_usb_devices.h25 void nm_usb_vect_ins_cb(void *unit_p, const void *ctx);
26 void nm_usb_vect_free_cb(void *unit_p);
27 void nm_usb_data_vect_ins_cb(void *unit_p, const void *ctx);
28 void nm_usb_data_vect_free_cb(void *unit_p);
H A Dnm_machine.h16 void nm_mach_vect_ins_mlist_cb(void *unit_p, const void *ctx);
17 void nm_mach_vect_free_mlist_cb(void *unit_p);
H A Dnm_vector.h15 typedef void (*nm_vect_ins_cb_pt)(void *unit_p, const void *ctx);
16 typedef void (*nm_vect_free_cb_pt)(void *unit_p);
H A Dnm_ovf_import.c100 void nm_drive_vect_ins_cb(void *unit_p, const void *ctx);
101 void nm_drive_vect_free_cb(void *unit_p);
669 void nm_drive_vect_ins_cb(void *unit_p, const void *ctx) in nm_drive_vect_ins_cb() argument
671 nm_str_copy(nm_drive_file(unit_p), nm_drive_file(ctx)); in nm_drive_vect_ins_cb()
672 nm_str_copy(nm_drive_size(unit_p), nm_drive_size(ctx)); in nm_drive_vect_ins_cb()
675 void nm_drive_vect_free_cb(void *unit_p) in nm_drive_vect_free_cb() argument
677 nm_str_free(nm_drive_file(unit_p)); in nm_drive_vect_free_cb()
678 nm_str_free(nm_drive_size(unit_p)); in nm_drive_vect_free_cb()
H A Dnm_string.h47 void nm_str_vect_ins_cb(void *unit_p, const void *ctx);
48 void nm_str_vect_free_cb(void *unit_p);
H A Dnm_string.c361 void nm_str_vect_ins_cb(void *unit_p, const void *ctx) in nm_str_vect_ins_cb() argument
363 nm_str_copy((nm_str_t *) unit_p, (const nm_str_t *) ctx); in nm_str_vect_ins_cb()
366 void nm_str_vect_free_cb(void *unit_p) in nm_str_vect_free_cb() argument
368 nm_str_free((nm_str_t *) unit_p); in nm_str_vect_free_cb()
/dports/science/cp2k-data/cp2k-7.1.0/src/
H A Dqs_linres_polar_utils.F292 INTEGER :: iounit, unit_p local
329 unit_p = cp_print_key_unit_nr(logger, polar_section, "PRINT%POLAR_MATRIX", &
331 IF (unit_p > 0) THEN
332 IF (unit_p /= iounit) THEN
333 WRITE (unit_p, *)
334 WRITE (unit_p, '(T10,A)') 'POLARIZABILITY TENSOR (atomic units):'
338 WRITE (unit_p, '(T10,A)') 'POLARIZABILITY TENSOR (Angstrom^3):'
339 WRITE (unit_p, '(T10,A,3F15.5)') "xx,yy,zz", polar(1, 1)*angstrom**3, &
341 WRITE (unit_p, '(T10,A,3F15.5)') "xy,xz,yz", polar(1, 2)*angstrom**3, &
343 WRITE (unit_p, '(T10,A,3F15.5)') "yx,zx,zy", polar(2, 1)*angstrom**3, &
[all …]
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/
H A Dqs_linres_polar_utils.F292 INTEGER :: iounit, unit_p local
329 unit_p = cp_print_key_unit_nr(logger, polar_section, "PRINT%POLAR_MATRIX", &
331 IF (unit_p > 0) THEN
332 IF (unit_p /= iounit) THEN
333 WRITE (unit_p, *)
334 WRITE (unit_p, '(T10,A)') 'POLARIZABILITY TENSOR (atomic units):'
338 WRITE (unit_p, '(T10,A)') 'POLARIZABILITY TENSOR (Angstrom^3):'
339 WRITE (unit_p, '(T10,A,3F15.5)') "xx,yy,zz", polar(1, 1)*angstrom**3, &
341 WRITE (unit_p, '(T10,A,3F15.5)') "xy,xz,yz", polar(1, 2)*angstrom**3, &
343 WRITE (unit_p, '(T10,A,3F15.5)') "yx,zx,zy", polar(2, 1)*angstrom**3, &
[all …]
/dports/astro/kstars/kstars-3.5.6/kstars/dialogs/
H A Dcatalogcsvimport.h38 template <coord_unit unit_p>
/dports/print/fontforge/fontforge-20201107/fontforge/
H A Dstemdb.c1006 double unit_p, unit_n; in CornerCorrectSide() local
1008 unit_p = (&pd->prevunit.x)[!x_dir]; in CornerCorrectSide()
1011 ( corner == 1 && unit_p > 0 && unit_n > 0 ) || in CornerCorrectSide()
1012 ( corner == 2 && unit_p < 0 && unit_n < 0 ))) || in CornerCorrectSide()
1014 ( corner == 1 && unit_p < 0 && unit_n < 0 ) || in CornerCorrectSide()
1015 ( corner == 2 && unit_p > 0 && unit_n > 0 )))); in CornerCorrectSide()
2669 double base, next, prev, nextctl, prevctl, unit_p, unit_n; in IsSplinePeak() local
2723 unit_p = (&pd->prevunit.x)[!is_x]; in IsSplinePeak()
2725 if ( unit_p < unit_n && ( in IsSplinePeak()
2728 else if ( unit_p > unit_n && ( in IsSplinePeak()