Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 5683) sorted by relevance

12345678910>>...228

/external/libppp/src/
Dphysical.c166 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor() argument
168 p->desc.type = PHYSICAL_DESCRIPTOR; in physical_SetDescriptor()
169 p->desc.UpdateSet = physical_UpdateSet; in physical_SetDescriptor()
170 p->desc.IsSet = physical_IsSet; in physical_SetDescriptor()
171 p->desc.Read = physical_DescriptorRead; in physical_SetDescriptor()
172 p->desc.Write = physical_DescriptorWrite; in physical_SetDescriptor()
178 struct physical *p; in physical_Create() local
180 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create()
181 if (!p) in physical_Create()
184 p->link.type = PHYSICAL_LINK; in physical_Create()
[all …]
Dprompt.c83 prompt_Display(struct prompt *p) in prompt_Display() argument
89 if (p->TermMode || !p->needprompt) in prompt_Display()
92 p->needprompt = 0; in prompt_Display()
94 if (p->nonewline) in prompt_Display()
95 p->nonewline = 0; in prompt_Display()
97 fprintf(p->Term, "\n"); in prompt_Display()
99 if (p->auth == LOCAL_AUTH) in prompt_Display()
104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED) in prompt_Display()
107 else if (!Enabled(p->bundle, OPT_IPCP) && in prompt_Display()
108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED) in prompt_Display()
[all …]
/external/quake/quake/src/WinQuake/
Dnet_comx.cpp169 static int Modem_Command(ComPort *p, char *commandString);
170 static char *Modem_Response(ComPort *p);
171 static void Modem_Hangup(ComPort *p);
187 static void ISR_8250 (ComPort *p) in ISR_8250() argument
194 while((source = inportb (p->uart + INTERRUPT_ID_REGISTER) & 0x07) != 1) in ISR_8250()
199 b = inportb (p->uart + RECEIVE_BUFFER_REGISTER); in ISR_8250()
200 if (! FULL(p->inputQueue)) in ISR_8250()
202 ENQUEUE (p->inputQueue, b); in ISR_8250()
206 p->lineStatus |= LSR_OVERRUN_ERROR; in ISR_8250()
207 p->statusUpdated = true; in ISR_8250()
[all …]
Dnet_ser.cpp106 static void Serial_SendACK (SerialLine *p, byte sequence);
109 static void ResetSerialLineProtocol (SerialLine *p) in ResetSerialLineProtocol() argument
111 p->connected = false; in ResetSerialLineProtocol()
112 p->connecting = false; in ResetSerialLineProtocol()
113 p->currState = STATE_READY; in ResetSerialLineProtocol()
114 p->prevState = STATE_READY; in ResetSerialLineProtocol()
115 p->lengthFound = 0; in ResetSerialLineProtocol()
119 static int ProcessInQueue(SerialLine *p) in ProcessInQueue() argument
125 b = TTY_ReadByte(p->tty); in ProcessInQueue()
131 p->currState = STATE_ABORT; in ProcessInQueue()
[all …]
Dr_part.cpp71 particle_t *p; in R_DarkFieldParticles() local
85 p = free_particles; in R_DarkFieldParticles()
86 free_particles = p->next; in R_DarkFieldParticles()
87 p->next = active_particles; in R_DarkFieldParticles()
88 active_particles = p; in R_DarkFieldParticles()
90 p->die = cl.time + 0.2 + (rand()&7) * 0.02; in R_DarkFieldParticles()
91 p->color = 150 + rand()%6; in R_DarkFieldParticles()
92 p->type = pt_slowgrav; in R_DarkFieldParticles()
98 p->org[0] = org[0] + i + (rand()&3); in R_DarkFieldParticles()
99 p->org[1] = org[1] + j + (rand()&3); in R_DarkFieldParticles()
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
D11.2.1-1.js75 var p = 0; variable
79 PROPERTY[p++] = new Property( "this", "NaN", "number" );
80 PROPERTY[p++] = new Property( "this", "Infinity", "number" );
81 PROPERTY[p++] = new Property( "this", "eval", "function" );
82 PROPERTY[p++] = new Property( "this", "parseInt", "function" );
83 PROPERTY[p++] = new Property( "this", "parseFloat", "function" );
84 PROPERTY[p++] = new Property( "this", "escape", "function" );
85 PROPERTY[p++] = new Property( "this", "unescape", "function" );
86 PROPERTY[p++] = new Property( "this", "isNaN", "function" );
87 PROPERTY[p++] = new Property( "this", "isFinite", "function" );
[all …]
/external/srec/config/en.us/dictionary/
Dcmu2nuance.cpp55 const char* p = line; in main() local
58 while (!isspace(*p)) { in main()
59 if (*p == 0) { in main()
63 if (p[0] == '(' && isdigit(p[1]) && p[2] == ')' && isspace(p[3])) { in main()
64 p += 3; in main()
67 fputc(tolower(*p), stdout); in main()
68 p++; in main()
75 while (isspace(*p)) p++; in main()
76 if (*p == 0) break; in main()
80 (next=xlate(p, "AA1 R", ")r")) || // odd AA D in main()
[all …]
/external/libnfc-nci/src/hal/include/
Dnfc_types.h53 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument
54 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument
55 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
56 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
57 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument
58 #define ARRAY32_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++… argument
59 #define ARRAY16_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 16; ijk++) *(p)++… argument
60 #define ARRAY8_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 8; ijk++) *(p)++… argument
61 #define BDADDR_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++… argument
62 #define LAP_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < LAP_LEN; ijk++) *(p)++… argument
[all …]
/external/libnfc-nci/halimpl/bcm2079x/hal/include/
Dnfc_types.h53 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument
54 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument
55 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
56 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
57 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument
58 #define ARRAY32_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++… argument
59 #define ARRAY16_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 16; ijk++) *(p)++… argument
60 #define ARRAY8_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 8; ijk++) *(p)++… argument
61 #define BDADDR_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++… argument
62 #define LAP_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < LAP_LEN; ijk++) *(p)++… argument
[all …]
/external/tinyxml/
Dtinyxmlparser.cpp200 const char* p = stamp; in Stamp() local
201 assert( p ); in Stamp()
203 while ( p < now ) in Stamp()
206 const unsigned char* pU = (const unsigned char*)p; in Stamp()
220 ++p; in Stamp()
223 if (*p == '\n') { in Stamp()
224 ++p; in Stamp()
234 ++p; in Stamp()
239 if (*p == '\r') { in Stamp()
240 ++p; in Stamp()
[all …]
/external/kernel-headers/original/asm-arm/
Dbitops.h33 static inline void ____atomic_set_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_set_bit() argument
38 p += bit >> 5; in ____atomic_set_bit()
41 *p |= mask; in ____atomic_set_bit()
45 static inline void ____atomic_clear_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_clear_bit() argument
50 p += bit >> 5; in ____atomic_clear_bit()
53 *p &= ~mask; in ____atomic_clear_bit()
57 static inline void ____atomic_change_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_change_bit() argument
62 p += bit >> 5; in ____atomic_change_bit()
65 *p ^= mask; in ____atomic_change_bit()
70 ____atomic_test_and_set_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_test_and_set_bit() argument
[all …]
/external/bluetooth/bluedroid/stack/hcic/
Dhcicmds.c45 BT_HDR *p; in btsnd_hcic_inquiry() local
48 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_INQUIRY)) == NULL) in btsnd_hcic_inquiry()
51 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry()
53 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQUIRY; in btsnd_hcic_inquiry()
54 p->offset = 0; in btsnd_hcic_inquiry()
63 btu_hcif_send_cmd (LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inquiry()
69 BT_HDR *p; in btsnd_hcic_inq_cancel() local
72 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_INQ_CANCEL)) == NULL) in btsnd_hcic_inq_cancel()
75 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel()
77 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQ_CANCEL; in btsnd_hcic_inq_cancel()
[all …]
/external/valgrind/main/drd/
Ddrd_mutex.c42 static void mutex_cleanup(struct mutex_info* p);
43 static Bool mutex_is_locked(struct mutex_info* const p);
44 static void mutex_delete_thread(struct mutex_info* p, const DrdThreadId tid);
69 void DRD_(mutex_initialize)(struct mutex_info* const p, in DRD_()
73 tl_assert(p->a1 == mutex); in DRD_()
75 p->cleanup = (void(*)(DrdClientobj*))mutex_cleanup; in DRD_()
76 p->delete_thread in DRD_()
78 p->mutex_type = mutex_type; in DRD_()
79 p->recursion_count = 0; in DRD_()
80 p->owner = DRD_INVALID_THREADID; in DRD_()
[all …]
Ddrd_bitmap2_node.c72 struct block_allocator_chunk* p; in allocate_new_chunk() local
77 p = VG_(malloc)("drd.bitmap.bac", in allocate_new_chunk()
78 sizeof(*p) + NODES_PER_CHUNCK * s_bm2_node_size); in allocate_new_chunk()
79 tl_assert(p); in allocate_new_chunk()
80 p->next = s_first; in allocate_new_chunk()
82 p->next->prev = p; in allocate_new_chunk()
83 s_first = p; in allocate_new_chunk()
84 p->prev = 0; in allocate_new_chunk()
85 p->nallocated = 0; in allocate_new_chunk()
86 p->data = (char*)p + sizeof(*p); in allocate_new_chunk()
[all …]
/external/quake/quake/src/QW/dxsdk/sdk/inc/
Dd3d.h101 #define IDirect3D_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b) argument
102 #define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p) argument
103 #define IDirect3D_Release(p) (p)->lpVtbl->Release(p) argument
104 #define IDirect3D_Initialize(p, a) (p)->lpVtbl->Initialize(p, a) argument
105 #define IDirect3D_EnumDevices(p, a, b) (p)->lpVtbl->EnumDevices(p, a, b) argument
106 #define IDirect3D_CreateLight(p, a, b) (p)->lpVtbl->CreateLight(p, a, b) argument
107 #define IDirect3D_CreateMaterial(p, a, b) (p)->lpVtbl->CreateMaterial(p, a, b) argument
108 #define IDirect3D_CreateViewport(p, a, b) (p)->lpVtbl->CreateViewport(p, a, b) argument
109 #define IDirect3D_FindDevice(p, a, b) (p)->lpVtbl->FindDevice(p, a, b) argument
146 #define IDirect3DDevice_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b) argument
[all …]
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
DD3D.H101 #define IDirect3D_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b) argument
102 #define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p) argument
103 #define IDirect3D_Release(p) (p)->lpVtbl->Release(p) argument
104 #define IDirect3D_Initialize(p, a) (p)->lpVtbl->Initialize(p, a) argument
105 #define IDirect3D_EnumDevices(p, a, b) (p)->lpVtbl->EnumDevices(p, a, b) argument
106 #define IDirect3D_CreateLight(p, a, b) (p)->lpVtbl->CreateLight(p, a, b) argument
107 #define IDirect3D_CreateMaterial(p, a, b) (p)->lpVtbl->CreateMaterial(p, a, b) argument
108 #define IDirect3D_CreateViewport(p, a, b) (p)->lpVtbl->CreateViewport(p, a, b) argument
109 #define IDirect3D_FindDevice(p, a, b) (p)->lpVtbl->FindDevice(p, a, b) argument
146 #define IDirect3DDevice_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b) argument
[all …]
/external/clang/test/Analysis/
Dnull-deref-ps.c13 void f1(int *p) { in f1() argument
14 if (p) *p = 1; in f1()
15 else *p = 0; // expected-warning{{ereference}} in f1()
22 int f2(struct foo_struct* p) { in f2() argument
24 if (p) in f2()
25 p->x = 1; in f2()
27 …return p->x++; // expected-warning{{Access to field 'x' results in a dereference of a null pointer… in f2()
50 int f4(int *p) { in f4() argument
52 uintptr_t x = (uintptr_t) p; in f4()
64 short *p = x; // expected-warning{{incompatible integer to pointer conversion}} in f4_b() local
[all …]
Dmalloc.c16 void myfoo(int *p);
17 void myfooint(int p);
21 int *p = malloc(12); in f1() local
26 int *p = malloc(12); in f2() local
27 free(p); in f2()
28 free(p); // expected-warning{{Attempt to free released memory}} in f2()
32 int *p = malloc(12); in f2_realloc_0() local
33 realloc(p,0); in f2_realloc_0()
34 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0()
38 int *p = malloc(12); in f2_realloc_1() local
[all …]
/external/libpcap/
Dpcap-win32.c92 pcap_stats_win32(pcap_t *p, struct pcap_stat *ps) in pcap_stats_win32() argument
95 if(PacketGetStats(p->adapter, (struct bpf_stat*)ps) != TRUE){ in pcap_stats_win32()
96 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "PacketGetStats error: %s", pcap_win32strerror()); in pcap_stats_win32()
104 pcap_read_win32_npf(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_win32_npf() argument
110 cc = p->cc; in pcap_read_win32_npf()
111 if (p->cc == 0) { in pcap_read_win32_npf()
115 if (p->break_loop) { in pcap_read_win32_npf()
121 p->break_loop = 0; in pcap_read_win32_npf()
126 if(PacketReceivePacket(p->adapter,p->Packet,TRUE)==FALSE){ in pcap_read_win32_npf()
127 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_npf()
[all …]
/external/quake/quake/src/QW/client/
Dr_part.c92 particle_t *p; in R_ReadPointFile_f() local
118 p = free_particles; in R_ReadPointFile_f()
119 free_particles = p->next; in R_ReadPointFile_f()
120 p->next = active_particles; in R_ReadPointFile_f()
121 active_particles = p; in R_ReadPointFile_f()
123 p->die = 99999; in R_ReadPointFile_f()
124 p->color = (-c)&15; in R_ReadPointFile_f()
125 p->type = pt_static; in R_ReadPointFile_f()
126 VectorCopy (vec3_origin, p->vel); in R_ReadPointFile_f()
127 VectorCopy (org, p->org); in R_ReadPointFile_f()
[all …]
/external/expat/amiga/
Dexpat_68k_handler_stubs.c58 M68kXML_Parser p = userdata; in _68k_startelementhandler() local
59 call_68k_code(p->IExec, p->startelementhandler, 3, p->handlerarg, name, attrs); in _68k_startelementhandler()
63 M68kXML_Parser p = userdata; in _68k_endelementhandler() local
64 call_68k_code(p->IExec, p->endelementhandler, 2, p->handlerarg, name); in _68k_endelementhandler()
68 M68kXML_Parser p = userdata; in _68k_chardatahandler() local
69 call_68k_code(p->IExec, p->chardatahandler, 3, p->handlerarg, s, len); in _68k_chardatahandler()
73 M68kXML_Parser p = userdata; in _68k_procinsthandler() local
74 call_68k_code(p->IExec, p->procinsthandler, 3, p->handlerarg, target, data); in _68k_procinsthandler()
78 M68kXML_Parser p = userdata; in _68k_commenthandler() local
79 call_68k_code(p->IExec, p->commenthandler, 2, p->handlerarg, data); in _68k_commenthandler()
[all …]
/external/freetype/src/psaux/
Dpsconv.c77 FT_Byte* p = *cursor; in PS_Conv_Strtol() local
82 if ( p >= limit || base < 2 || base > 36 ) in PS_Conv_Strtol()
85 if ( *p == '-' || *p == '+' ) in PS_Conv_Strtol()
87 sign = FT_BOOL( *p == '-' ); in PS_Conv_Strtol()
89 p++; in PS_Conv_Strtol()
90 if ( p == limit ) in PS_Conv_Strtol()
94 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
99 if ( IS_PS_SPACE( *p ) || *p OP 0x80 ) in PS_Conv_Strtol()
102 c = ft_char_table[*p & 0x7f]; in PS_Conv_Strtol()
113 *cursor = p; in PS_Conv_Strtol()
[all …]
/external/tcpdump/
Dextract.h54 #define EXTRACT_16BITS(p) \ argument
55 ((u_int16_t)ntohs(((const unaligned_u_int16_t *)(p))->val))
56 #define EXTRACT_32BITS(p) \ argument
57 ((u_int32_t)ntohl(((const unaligned_u_int32_t *)(p))->val))
58 #define EXTRACT_64BITS(p) \ argument
59 ((u_int64_t)(((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 0)->val)) << 32 | \
60 ((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 1)->val)) << 0))
68 #define EXTRACT_16BITS(p) \ argument
69 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 0) << 8 | \
70 (u_int16_t)*((const u_int8_t *)(p) + 1)))
[all …]
/external/valgrind/main/memcheck/tests/
Dmemalign2.c28 int* p; in main()
42 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
52 free (p); in main()
55 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
57 free (p); in main()
60 p = memalign(0, 100); assert(0 == (long)p % 8); in main()
61 p = memalign(1, 100); assert(0 == (long)p % 8); in main()
62 p = memalign(2, 100); assert(0 == (long)p % 8); in main()
63 p = memalign(3, 100); assert(0 == (long)p % 8); in main()
64 p = memalign(4, 100); assert(0 == (long)p % 8); in main()
[all …]
/external/webkit/Source/WebCore/loader/
DFTPDirectoryParser.cpp106 const char* p = line; in parseOneFTPLine() local
107 while (*p && *p != '\n') in parseOneFTPLine()
108 p++; in parseOneFTPLine()
109 linelen = p - line; in parseOneFTPLine()
111 if (linelen > 0 && *p == '\n' && *(p-1) == '\r') in parseOneFTPLine()
177 p = &line[pos++]; in parseOneFTPLine()
178 if (*p == '/') in parseOneFTPLine()
180 else if (*p == 'r') in parseOneFTPLine()
182 else if (*p == 'm') in parseOneFTPLine()
192 sscanf(p + 1, "%I64u", &seconds); in parseOneFTPLine()
[all …]

12345678910>>...228