Home
last modified time | relevance | path

Searched refs:pnum (Results 1 – 17 of 17) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsyuv.c85 int pnum; in GS_CreateYUVOverlay() local
210 pnum = 0; in GS_CreateYUVOverlay()
224 packet[pnum].ptr = &tags[0]; in GS_CreateYUVOverlay()
225 packet[pnum].len = 10 * sizeof(*tags); in GS_CreateYUVOverlay()
226 ++pnum; in GS_CreateYUVOverlay()
242 packet[pnum].ptr = &tags[10]; in GS_CreateYUVOverlay()
243 packet[pnum].len = 2 * sizeof(*tags); in GS_CreateYUVOverlay()
244 ++pnum; in GS_CreateYUVOverlay()
247 packet[pnum].ptr = (void *)base; in GS_CreateYUVOverlay()
248 packet[pnum].len = 16 * 16 * bpp; in GS_CreateYUVOverlay()
[all …]
DSDL_gsvideo.c188 int pnum, it, eop; in loadimage_nonblock() local
193 pnum = it = eop = 0; in loadimage_nonblock()
197 packet[pnum].ptr = hm; in loadimage_nonblock()
198 packet[pnum].len = sizeof(head_tags); in loadimage_nonblock()
199 pnum++; in loadimage_nonblock()
214 packet[pnum].ptr = &im[it]; in loadimage_nonblock()
215 packet[pnum].len = sizeof(unsigned long long) * 2; in loadimage_nonblock()
216 pnum++; in loadimage_nonblock()
220 packet[pnum].ptr = (void *)data; in loadimage_nonblock()
221 packet[pnum].len = isize; in loadimage_nonblock()
[all …]
/external/libmtp/examples/
Dsendtr.c235 char *pnum; in sendtrack_function() local
236 if ( (pnum = prompt("Track number", num, 80, 0)) == NULL ) in sendtrack_function()
238 if ( strlen(pnum) ) { in sendtrack_function()
239 tracknum = strtoul(pnum, 0, 10); in sendtrack_function()
246 char *pnum; in sendtrack_function() local
247 if ( (pnum = prompt("Year", num, 80, 0)) == NULL ) in sendtrack_function()
249 if ( strlen(pnum) ) { in sendtrack_function()
250 year = strtoul(pnum, 0, 10); in sendtrack_function()
257 char *pnum; in sendtrack_function() local
258 if ( (pnum = prompt("Length", num, 80, 0)) == NULL ) in sendtrack_function()
[all …]
/external/iptables/extensions/
Dlibxt_multiport.c145 check_proto(uint16_t pnum, uint8_t invflags) in check_proto() argument
153 if ((proto = proto_to_name(pnum)) != NULL) in check_proto()
155 else if (!pnum) in check_proto()
164 static void __multiport_parse(struct xt_option_call *cb, uint16_t pnum, in __multiport_parse() argument
173 proto = check_proto(pnum, invflags); in __multiport_parse()
179 proto = check_proto(pnum, invflags); in __multiport_parse()
185 proto = check_proto(pnum, invflags); in __multiport_parse()
210 static void __multiport_parse_v1(struct xt_option_call *cb, uint16_t pnum, in __multiport_parse_v1() argument
219 proto = check_proto(pnum, invflags); in __multiport_parse_v1()
224 proto = check_proto(pnum, invflags); in __multiport_parse_v1()
[all …]
/external/quake/quake/src/QW/client/
Dvid_x.c366 int pnum, i; in VID_Init() local
415 if ((pnum=COM_CheckParm("-winsize"))) in VID_Init()
417 if (pnum >= com_argc-2) in VID_Init()
419 vid.width = Q_atoi(com_argv[pnum+1]); in VID_Init()
420 vid.height = Q_atoi(com_argv[pnum+2]); in VID_Init()
424 if ((pnum=COM_CheckParm("-width"))) { in VID_Init()
425 if (pnum >= com_argc-1) in VID_Init()
427 vid.width = Q_atoi(com_argv[pnum+1]); in VID_Init()
431 if ((pnum=COM_CheckParm("-height"))) { in VID_Init()
432 if (pnum >= com_argc-1) in VID_Init()
[all …]
Dcl_ents.c418 int pnum; in CL_LinkPacketEntities() local
427 for (pnum=0 ; pnum<pack->num_entities ; pnum++) in CL_LinkPacketEntities()
429 s1 = &pack->entities[pnum]; in CL_LinkPacketEntities()
/external/quake/quake/src/WinQuake/
Dvid_x.cpp445 int pnum, i; in VID_Init() local
492 if ((pnum=COM_CheckParm("-winsize"))) in VID_Init()
494 if (pnum >= com_argc-2) in VID_Init()
496 vid.width = Q_atoi(com_argv[pnum+1]); in VID_Init()
497 vid.height = Q_atoi(com_argv[pnum+2]); in VID_Init()
501 if ((pnum=COM_CheckParm("-width"))) { in VID_Init()
502 if (pnum >= com_argc-1) in VID_Init()
504 vid.width = Q_atoi(com_argv[pnum+1]); in VID_Init()
508 if ((pnum=COM_CheckParm("-height"))) { in VID_Init()
509 if (pnum >= com_argc-1) in VID_Init()
[all …]
Dvid_sunxil.cpp386 int pnum, i; in VID_Init() local
452 if ((pnum=COM_CheckParm("-winsize"))) { in VID_Init()
453 if (pnum >= com_argc-2) in VID_Init()
455 desired_width = Q_atoi(com_argv[pnum+1]); in VID_Init()
456 desired_height = Q_atoi(com_argv[pnum+2]); in VID_Init()
466 if ((pnum=COM_CheckParm("-visualid"))) { in VID_Init()
467 if (pnum >= com_argc-1) in VID_Init()
469 template.visualid = Q_atoi(com_argv[pnum+1]); in VID_Init()
Dvid_sunx.cpp572 int pnum, i; in VID_Init() local
634 if ((pnum=COM_CheckParm("-winsize"))) in VID_Init()
636 if (pnum >= com_argc-2) in VID_Init()
638 vid.width = Q_atoi(com_argv[pnum+1]); in VID_Init()
639 vid.height = Q_atoi(com_argv[pnum+2]); in VID_Init()
647 if ((pnum=COM_CheckParm("-visualid"))) in VID_Init()
649 if (pnum >= com_argc-1) in VID_Init()
651 template.visualid = Q_atoi(com_argv[pnum+1]); in VID_Init()
/external/libpcap/
Dgrammar.y158 %type <i> byteop pname pnum relop irelop
229 | pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
289 qid: pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
384 | VLAN pnum { $$ = gen_vlan($2); }
386 | MPLS pnum { $$ = gen_mpls($2); }
416 arth: pnum { $$ = gen_loadi($1); }
439 pnum: NUM
440 | paren pnum ')' { $$ = $2; }
/external/qemu/
Dblock_int.h64 int nb_sectors, int *pnum);
Dblock.h151 int *pnum);
Dblock.c1499 int *pnum) in bdrv_is_allocated() argument
1504 *pnum = 0; in bdrv_is_allocated()
1508 *pnum = (n < nb_sectors) ? (n) : (nb_sectors); in bdrv_is_allocated()
1511 return bs->drv->bdrv_is_allocated(bs, sector_num, nb_sectors, pnum); in bdrv_is_allocated()
/external/qemu/block/
Dqcow2.c297 int nb_sectors, int *pnum) in qcow_is_allocated() argument
302 *pnum = nb_sectors; in qcow_is_allocated()
305 ret = qcow2_get_cluster_offset(bs, sector_num << 9, pnum, &cluster_offset); in qcow_is_allocated()
307 *pnum = 0; in qcow_is_allocated()
Dvmdk.c571 int nb_sectors, int *pnum) in vmdk_is_allocated() argument
582 *pnum = n; in vmdk_is_allocated()
Dqcow.c380 int nb_sectors, int *pnum) in qcow_is_allocated() argument
391 *pnum = n; in qcow_is_allocated()
/external/srec/seti/sltsEngine/src/
Drun_seq_lts.c72 static SWIsltsResult load_outputs(char ***poutputs, char ***pinputs, int *pnum, PORT_FILE *fp);
403 static SWIsltsResult load_outputs(char ***poutputs, char ***pinputs, int *pnum, PORT_FILE *fp) in load_outputs() argument
458 *pnum = num; in load_outputs()
466 *pnum = 0; in load_outputs()