Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/common/smbsrv/
H A Dsmb_door_legacy.c54 ctx->end_ptr = ptr + size; in smb_dr_decode_start()
64 if (status == 0 && ctx->ptr != ctx->end_ptr) in smb_dr_decode_finish()
77 ctx->end_ptr = ptr + size; in smb_dr_encode_start()
88 if (ctx->ptr < ctx->end_ptr) { in smb_dr_encode_finish()
105 if (ctx->ptr + sizeof (DWORD) <= ctx->end_ptr) { in smb_dr_get_dword()
120 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) { in smb_dr_get_int32()
146 if (ctx->ptr + len <= ctx->end_ptr) { in smb_dr_get_string()
174 if (ctx->ptr + sizeof (DWORD) <= ctx->end_ptr) { in smb_dr_put_dword()
187 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) { in smb_dr_put_int32()
217 if (ctx->ptr + len <= ctx->end_ptr) { in smb_dr_put_string()
[all …]
/titanic_44/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c55 ctx->end_ptr = ptr + size; in ndmp_door_decode_start()
65 if ((status == 0) && (ctx->ptr != ctx->end_ptr)) { in ndmp_door_decode_finish()
78 ctx->end_ptr = ptr + size; in ndmp_door_encode_start()
89 if (ctx->ptr < ctx->end_ptr) { in ndmp_door_encode_finish()
105 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) { in ndmp_door_get_int32()
131 if (ctx->ptr + len <= ctx->end_ptr) { in ndmp_door_get_string()
155 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) { in ndmp_door_put_int32()
185 if (ctx->ptr + len <= ctx->end_ptr) { in ndmp_door_put_string()
205 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in ndmp_door_get_int64()
226 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in ndmp_door_put_int64()
[all …]
H A Dlibndmp.h337 char *end_ptr; member
/titanic_44/usr/src/cmd/renice/
H A Drenice.c105 char *end_ptr; in main() local
144 incr = strtol(optarg, &end_ptr, 10); in main()
146 if (*end_ptr != '\0') in main()
180 who = strtol(*argv, &end_ptr, 10); in main()
183 if (who >= 0 && end_ptr != *argv && in main()
184 *end_ptr == '\0' && (which != PRIO_ZONE || in main()
259 char *end_ptr; in parse_obsolete_options() local
268 prio = strtol(*argv, &end_ptr, 10); in parse_obsolete_options()
269 if (*end_ptr != '\0') { in parse_obsolete_options()
306 who = strtol(*argv, &end_ptr, 10); in parse_obsolete_options()
[all …]
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c71 (u64)(ulong_t)queue->end_ptr, in __queue_consume()
84 (u64)(ulong_t)queue->end_ptr, in __queue_consume()
96 (u64)(ulong_t)queue->end_ptr, in __queue_consume()
102 queue->tail_ptr <= queue->end_ptr); in __queue_consume()
104 queue->head_ptr < queue->end_ptr); in __queue_consume()
165 if ((char *)queue->tail_ptr + real_size <= (char *)queue->end_ptr) { in xge_queue_produce()
176 (u64)(ulong_t)queue->end_ptr, in xge_queue_produce()
191 (u64)(ulong_t)queue->end_ptr, in xge_queue_produce()
217 queue->tail_ptr <= queue->end_ptr); in xge_queue_produce()
219 queue->head_ptr < queue->end_ptr); in xge_queue_produce()
[all …]
/titanic_44/usr/src/lib/libast/common/uwin/
H A Drandom.c200 static long int *end_ptr = &randtbl[sizeof(randtbl) / sizeof(randtbl[0])]; variable
282 end_ptr = &state[rand_deg]; in initstate()
336 end_ptr = &state[rand_deg]; in setstate()
366 if (fptr >= end_ptr) in random()
374 if (rptr >= end_ptr) in random()
/titanic_44/usr/src/cmd/nice/
H A Dnice.c71 char *end_ptr; in main() local
92 nicarg = strtol(nicarg_str, &end_ptr, 10); in main()
93 if (*end_ptr) { in main()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c141 long *end_ptr; member
287 rp->end_ptr = &rp->state[rp->rand_deg]; /* set end_ptr before srandom */ in initstate()
344 rp->end_ptr = &rp->state[rp->rand_deg]; /* set end_ptr too */ in setstate()
377 if (++rp->fptr >= rp->end_ptr) { in random()
380 } else if (++rp->rptr >= rp->end_ptr) in random()
/titanic_44/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c406 char *end_ptr; in get_passwd_list() local
447 end_ptr = it->name + strlen(it->name) - in get_passwd_list()
449 if (',' != *(end_ptr - 1)) in get_passwd_list()
451 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_passwd_list()
468 res[res_count] = am(myself, end_ptr - it->name + 1); in get_passwd_list()
476 end_ptr-it->name - 1); in get_passwd_list()
974 char *end_ptr; in get_mapping_map_list() local
1003 end_ptr = it->name + strlen(it->name) - in get_mapping_map_list()
1005 if (',' != *(end_ptr - 1)) in get_mapping_map_list()
1007 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_mapping_map_list()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Drandom.c158 unsigned int *end_ptr; member
276 rp->end_ptr = &rp->state[rp->rand_deg]; in initstate()
338 rp->end_ptr = &rp->state[ rp->rand_deg ]; /* set end_ptr too */ in setstate()
372 if (++rp->fptr >= rp->end_ptr) { in random()
376 if (++rp->rptr >= rp->end_ptr) rp->rptr = rp->state; in random()
/titanic_44/usr/src/cmd/eeprom/i386/
H A Dbenv.c324 char *ptr, *ret_str, *end_ptr, *orig_ptr; in get_bootadm_value() local
378 end_ptr = orig_ptr + len + 1; in get_bootadm_value()
381 while ((*end_ptr == ' ') || (*end_ptr == '\t')) in get_bootadm_value()
382 end_ptr++; in get_bootadm_value()
388 if (*end_ptr == '\0') in get_bootadm_value()
391 while (*end_ptr != '\0') { in get_bootadm_value()
392 *ptr = *end_ptr; in get_bootadm_value()
394 end_ptr++; in get_bootadm_value()
/titanic_44/usr/src/cmd/dtrace/demo/ip/
H A Dtcprst.d105 end_ptr[self->conn_id] = 0;
127 end_ptr[self->conn_id] = self->pcount;
161 self->i = (end_ptr[self->conn_id] + MAX_RECORDS - num[self->conn_id]
261 end_ptr[self->reset] = 0;
274 end_ptr[this->conn_id] = 0;
/titanic_44/usr/src/uts/common/io/idm/
H A Didm_text.c1376 char *start_ptr, *end_ptr, *ptr; in idm_pdu_init_text_data() local
1399 end_ptr = &itb->itb_mem[max_xfer_len - 1]; in idm_pdu_init_text_data()
1418 end_ptr = &bufptr[max_xfer_len - 1]; in idm_pdu_init_text_data()
1421 ptr = end_ptr; in idm_pdu_init_text_data()
1422 if (end_ptr + 1 <= &itb->itb_mem[itb->itb_offset]) { in idm_pdu_init_text_data()
1424 if (*(end_ptr + 1) == '=' || *(end_ptr + 1) == '\0') { in idm_pdu_init_text_data()
/titanic_44/usr/src/uts/common/io/xge/hal/include/
H A Dxge-queue.h126 void *end_ptr; member
/titanic_44/usr/src/uts/common/io/1394/
H A Dh1394.c889 uchar_t *end_ptr; in h1394_read_request() local
1001 end_ptr = begin_ptr + cmd_length; in h1394_read_request()
1003 if (end_ptr <= tmp_ptr) { in h1394_read_request()
1007 req->cmd_u.b.data_block->b_wptr = end_ptr; in h1394_read_request()
1107 uchar_t *end_ptr; in h1394_write_request() local
1233 end_ptr = begin_ptr + cmd_length; in h1394_write_request()
1235 if (end_ptr <= tmp_ptr) { in h1394_write_request()
/titanic_44/usr/src/uts/common/smbsrv/
H A Dsmb_door.h140 char *end_ptr; member