Searched defs:pos (Results 101 - 125 of 172) sorted by relevance

1234567

/osnet-11/usr/src/lib/sasl_plugins/cram/
H A Dcram.c253 int pos, len; local
266 pos = clientinlen-1;
267 while ((pos > 0) && (clientin[pos] != ' ')) pos--;
269 if (pos <= 0) {
279 userid = (char *) sparams->utils->malloc(pos+1);
286 memcpy(userid, clientin, pos);
287 userid[pos] = '\0';
379 if (strncmp(digest_str, clientin+pos
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dstreval.c575 const char *pos; local
841 pos = vp->nextchr;
848 if(pos[1]=='\\' && pos[2]=='\'' && pos[3]!='\'')
854 d = chresc(pos+1,(char**)&vp->nextchr);
861 if (vp->nextchr == pos)
864 vp->errstr = pos;
H A Darray.c56 Namval_t *pos; member in struct:assoc_array
1616 ap->pos = 0;
1634 ap->pos = 0;
1645 if(!ap->pos)
1652 if(!(ap->pos=ap->cur))
1653 ap->pos = (Namval_t*)dtfirst(ap->header.table);
1656 ap->pos = ap->nextpos;
1657 for(;ap->cur=ap->pos; ap->pos=ap->nextpos)
1659 ap->nextpos = (Namval_t*)dtnext(ap->header.table,ap->pos);
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_rec.c405 int32_t pos; local
407 pos = lseek((intptr_t)rstrm->tcp_handle, 0, 1);
408 if (pos != -1)
412 pos += rstrm->out_finger - rstrm->out_base;
416 pos -= rstrm->in_boundry - rstrm->in_finger;
420 pos = (uint_t)-1;
423 return ((uint_t)pos);
427 xdrrec_setpos(XDR *xdrs, uint_t pos) argument
432 int delta = currpos - pos;
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddir.c602 * @pos: current position in directory
610 static int ntfs_filldir(ntfs_volume *vol, s64 *pos, INDEX_ENTRY *ie, argument
630 fn->file_name_type, *pos,
703 * @pos: current position in directory
716 int ntfs_readdir(ntfs_inode *dir_ni, s64 *pos, argument
733 if (!dir_ni || !pos || !filldir) {
745 ntfs_log_trace("Entering for inode 0x%llx, *pos 0x%llx.\n",
746 (unsigned long long)dir_ni->mft_no, (long long)*pos);
765 if (*pos >= i_size + vol->mft_record_size)
769 if (!*pos) {
[all...]
H A Dgnome-vfs-method.c357 const s64 pos, const MFT_REF mref, const unsigned dt_type)
364 g_return_val_if_fail(pos >= 0, -1);
453 s64 pos; local
455 pos = 0; /* read from the start; incl. "." and ".." entries */
458 &pos, /* pos */
495 s64 pos; member in struct:libntfs_file
515 libntfs_file->pos = 0;
635 got = ntfs_attr_pread(libntfs_file->attr, libntfs_file->pos, count_s64,
641 libntfs_file->pos
353 libntfs_gnomevfs_read_directory_filldir( struct libntfs_directory *libntfs_directory , const ntfschar *name, const int name_len, const int name_type __attribute__((unused)), const s64 pos, const MFT_REF mref, const unsigned dt_type) argument
[all...]
H A Dvolume.c101 struct list_head *pos, *tmp; local
106 list_for_each_safe(pos, tmp, &v->inode_cache[i]) {
108 list_entry(pos, ntfs_inode, list_entry);
H A Dcrypto.c1401 * @pos: byte position in the attribute to begin reading from
1408 s64 ntfs_crypto_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
1414 if (!na || pos < 0 || count < 0 || !b || !NAttrEncrypted(na)) {
1430 ntfs_attr_map_runlist_range(na, pos >> na->ni->vol->cluster_size_bits,
1431 (pos + count - 1) >> na->ni->vol->cluster_size_bits);
1434 offset = ROUND_DOWN(pos, 9);
1438 if (offset + length > pos + count)
1439 length = pos + count - offset;
1482 if (offset >= pos)
1485 length -= (pos
1511 ntfs_crypto_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/arch/
H A Dsolaris.c1026 off64_t pos = (off64_t)(sector * dev->sector_size); local
1027 return (lseek64(arch_specific->fd, pos, SEEK_SET) == pos);
1029 off_t pos = sector * dev->sector_size; local
1030 return (lseek(arch_specific->fd, pos, SEEK_SET) == pos);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/linux_swap/
H A Dlinux_swap.c410 unsigned int pos; local
412 pos = swap_new_find_bad_page (fs, page);
413 if (!pos)
416 for (; pos < fs_info->header->new.nr_badpages; pos++) {
417 fs_info->header->new.badpages [pos - 1]
418 = fs_info->header->new.badpages [pos];
/osnet-11/usr/src/lib/libcmd/common/
H A Dgrep.c156 regmatch_t* pos; /* match position pointer */ member in struct:State_s
344 if (state->pos)
345 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
398 if (!(result = regnexec(&x->re, s, len, state->posnum, state->pos, 0)))
412 if (state->pos)
413 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
432 if (state->pos)
433 highlight(sfstdout, s, len + 1, state->pos[
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dcache.c359 int pos; local
383 pos = 0;
389 descs[pos++] = descp;
393 descs[pos] = NULL;
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dminix.c244 grub_off_t pos, grub_disk_addr_t len, char *buf)
252 if (len + pos > GRUB_MINIX_INODE_SIZE (data))
253 len = GRUB_MINIX_INODE_SIZE (data) - pos;
255 blockcnt = ((len + pos + (1 << data->log_block_size) - 1)
257 posblock = pos >> data->log_block_size;
258 blockoff = pos & ((1 << data->log_block_size) - 1);
273 blockend = (len + pos) & ((1 << data->log_block_size) - 1);
368 unsigned int pos = 0;
397 if (grub_minix_read_file (data, 0, pos, sizeof (ino),
400 if (grub_minix_read_file (data, 0, pos
240 grub_minix_read_file(struct grub_minix_data *data, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_disk_addr_t len, char *buf) argument
367 unsigned int pos = 0; local
519 unsigned int pos = 0; local
[all...]
H A Dsfs.c256 grub_off_t pos, grub_size_t len, char *buf)
259 pos, len, buf, grub_sfs_read_block,
362 int pos;
413 pos = (char *) &objc->objects[0] - (char *) objc;
416 while (pos + sizeof (struct grub_sfs_obj) < data->blocksize)
419 obj = (struct grub_sfs_obj *) ((char *) objc + pos);
430 pos += sizeof (*obj) + len;
432 pos = ((pos + 1) >> 1) << 1;
251 grub_sfs_read_file(grub_fshelp_node_t node, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
360 int pos; local
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dieee1275.c288 grub_ieee1275_seek (grub_ieee1275_ihandle_t ihandle, grub_disk_addr_t pos,
306 args.pos_lo = pos;
308 args.pos_hi = (grub_ieee1275_cell_t) (pos >> (8 * GRUB_IEEE1275_CELL_SIZEOF));
310 (pos & ((1ULL << (8 * GRUB_IEEE1275_CELL_SIZEOF)) - 1));
287 grub_ieee1275_seek(grub_ieee1275_ihandle_t ihandle, grub_disk_addr_t pos, grub_ssize_t *result) argument
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzFind.c74 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; }
79 p->pos -= subValue;
89 Byte *dest = p->buffer + (p->streamPos - p->pos);
102 if (p->streamPos - p->pos > p->keepSizeAfter)
111 (size_t)(p->streamPos - p->pos + p->keepSizeBefore));
125 if (p->keepSizeAfter >= p->streamPos - p->pos)
203 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */
264 UInt32 limit = kMaxValForNormalize - p->pos;
268 limit2 = p->streamPos - p->pos;
279 UInt32 lenLimit = p->streamPos - p->pos;
338 Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
369 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
424 SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/
H A Dlinux.c497 grub_uint16_t pos = grub_term_getxy (term); local
498 params->video_cursor_x = pos >> 8;
499 params->video_cursor_y = pos & 0xff;
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dmenu_entry.c1059 grub_uint16_t pos; local
1062 pos = grub_term_getxy (screen->terms[i].term);
1115 grub_term_gotoxy (screen->terms[i].term, pos >> 8, pos & 0xFF);
1136 grub_uint16_t pos; local
1139 pos = grub_term_getxy (term_screen->term);
1150 grub_term_gotoxy (term_screen->term, pos >> 8, pos & 0xFF);
H A Dterm.c62 grub_uint16_t *pos; local
67 pos = grub_term_save_pos ();
92 grub_term_restore_pos (pos);
95 grub_term_restore_pos (pos);
96 grub_free (pos);
271 grub_term_restore_pos (grub_uint16_t *pos) argument
274 grub_uint16_t *ptr = pos;
276 if (!pos)
/osnet-11/usr/src/lib/madv/common/
H A Dmadv.c724 mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos) argument
741 result = mmapfunc(addr, len, prot, flags, fd, pos);
776 mmap64(void *addr, size_t len, int prot, int flags, int fd, off64_t pos) argument
793 result = mmap64func(addr, len, prot, flags, fd, pos);
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.c718 avl_index_t pos = { 0 }; local
730 res = (_nss_ldap_list_entry_t *)avl_find(*list, &find, &pos);
757 avl_insert(*list, ep, pos);
/osnet-11/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c172 int pos = 0; local
204 while (PyDict_Next(beNameProperties, &pos, &pkey, &pvalue)) {
/osnet-11/usr/src/lib/udapl/libdat/common/
H A Dudat_sr_parser.c1128 DAT_OS_FILE_POS pos; local
1184 pos = cur_pos;
1214 if (DAT_SUCCESS != dat_os_fsetpos(file, &pos)) {
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c242 char *pos; local
272 pos = out->data;
275 memcpy(pos, vec[i].iov_base, vec[i].iov_len);
276 pos += vec[i].iov_len;
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_util.c2597 int pos = 0; local
2602 pos = strlen(fmt_buf);
2606 pos = strlen(fmt_buf);
2610 pos = strlen(fmt_buf);
2614 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "at line %d: ",
2616 pos += strlen(fmt_buf + pos);
2620 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos,
[all...]

Completed in 94 milliseconds

1234567