/barrelfish-2018-10-04/usr/eclipseclp/CPViz/viztool/src/components/ |
H A D | JToolbarSeparator.java | 45 int pos = size.width / 2; 47 g.drawLine(pos, 3, pos, size.height - 5); 48 g.drawLine(pos, 2, pos + 1, 2); 50 g.drawLine(pos + 1, 3, pos + 1, size.height - 5); 51 g.drawLine(pos, size.height - 4, pos + 1, size.height - 4);
|
/barrelfish-2018-10-04/lib/libc/stdio/ |
H A D | fgetpos.c | 42 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) argument 47 if ((*pos = ftello(fp)) == (fpos_t)-1)
|
H A D | ftell.c | 88 fpos_t pos; local 103 pos = _sseek(fp, (fpos_t)0, SEEK_END); 104 if (pos == -1) 107 pos = fp->_offset; 109 pos = _sseek(fp, (fpos_t)0, SEEK_CUR); 110 if (pos == -1) 119 if ((pos -= (HASUB(fp) ? fp->_ur : fp->_r)) < 0) { 125 pos -= fp->_r; /* Can be negative at this point. */ 133 if (pos > OFF_MAX - n) { 137 pos [all...] |
H A D | fsetpos.c | 46 fsetpos(FILE *iop, const fpos_t *pos) argument 48 return (fseeko(iop, (off_t)*pos, SEEK_SET));
|
H A D | open_memstream.c | 111 memstream_seek(void *cookie, fpos_t pos, int whence) argument 125 assert(pos >= 0); 126 ms->offset = pos; 130 assert(pos == 0); 133 if (pos < 0) { 134 if (pos + ms->len < 0) { 137 "MS: bad SEEK_END: pos %jd, len %zd\n", 138 (intmax_t)pos, ms->len); 144 if (FPOS_MAX - ms->len < pos) { 147 "MS: bad SEEK_END: pos [all...] |
/barrelfish-2018-10-04/lib/spawndomain/ |
H A D | getopt.c | 23 const char *pos = *optstring; local 26 if (pos == NULL) { 31 while (*pos == ' ' || *pos == '\t') { 32 pos++; 36 for (char c = *pos; c != '\0' && bufpos < buflen; c = *++pos) { 62 *optstring = pos;
|
/barrelfish-2018-10-04/include/flounder/ |
H A D | flounder_support_lmp.h | 28 size_t *pos, size_t *len); 30 size_t *pos, size_t *len, size_t maxsize); 34 size_t len, size_t *pos); 36 size_t *len, size_t *pos, size_t maxsize);
|
/barrelfish-2018-10-04/lib/barrelfish/ |
H A D | flounder_support.c | 174 static uintptr_t getword(const uint8_t *buf, size_t *pos, size_t len) argument 178 for (int i = 0; *pos < len && i < sizeof(uintptr_t); i++) { 181 word |= buf[(*pos)++]; 187 static void putword(uintptr_t word, uint8_t *buf, size_t *pos, size_t len) argument 192 if (len - *pos < sizeof(uintptr_t)) { 193 word <<= NBBY * (sizeof(uintptr_t) - (len - *pos)); 196 for (int i = 0; *pos < len && i < sizeof(uintptr_t); i++) { 197 buf[(*pos)++] = word >> shift_bits; 208 size_t len, size_t *pos) 215 size_t msg_words = DIVIDE_ROUND_UP(len - *pos, sizeo 206 flounder_stub_lmp_send_buf(struct lmp_chan *chan, lmp_send_flags_t flags, const void *bufp, size_t len, size_t *pos) argument 317 flounder_stub_lmp_recv_buf(struct lmp_recv_msg *msg, void *buf, size_t *len, size_t *pos, size_t maxsize) argument 353 flounder_stub_lmp_send_string(struct lmp_chan *chan, lmp_send_flags_t flags, const char *str, size_t *pos, size_t *len) argument 371 flounder_stub_lmp_recv_string(struct lmp_recv_msg *msg, char *str, size_t *pos, size_t *len, size_t maxsize) argument 395 flounder_stub_ump_send_buf(struct flounder_ump_state *s, int msgnum, const void *bufp, size_t len, size_t *pos) argument 436 flounder_stub_ump_recv_buf(volatile struct ump_message *msg, void *buf, size_t *len, size_t *pos, size_t maxsize) argument 470 flounder_stub_ump_send_string(struct flounder_ump_state *s, int msgnum, const char *str, size_t *pos, size_t *len) argument 487 flounder_stub_ump_recv_string(volatile struct ump_message *msg, char *str, size_t *pos, size_t *len, size_t maxsize) argument [all...] |
/barrelfish-2018-10-04/lib/libc/iconv/ |
H A D | citrus_region.h | 71 _citrus_region_offset(const struct _citrus_region *r, size_t pos) argument 74 return ((void *)((uint8_t *)r->r_head + pos)); 78 _citrus_region_peek8(const struct _citrus_region *r, size_t pos) argument 81 return (*(uint8_t *)_citrus_region_offset(r, pos)); 85 _citrus_region_peek16(const struct _citrus_region *r, size_t pos) argument 89 memcpy(&val, _citrus_region_offset(r, pos), (size_t)2); 94 _citrus_region_peek32(const struct _citrus_region *r, size_t pos) argument 98 memcpy(&val, _citrus_region_offset(r, pos), (size_t)4);
|
H A D | citrus_memstream.h | 103 _citrus_memory_stream_seek(struct _citrus_memory_stream *ms, size_t pos, int w) argument 111 if (pos >= sz) 113 ms->ms_pos = pos; 116 pos += (ssize_t)ms->ms_pos; 117 if (pos >= sz) 119 ms->ms_pos = pos; 122 if (sz < pos) 124 ms->ms_pos = sz - pos;
|
/barrelfish-2018-10-04/usr/kaluga/ |
H A D | start_int_ctrl.c | 44 for(char * pos = in; *pos; pos++) *argc += *pos == ',' ? 1 : 0; 54 for(char * pos = in; *pos; pos++) { 55 if(*pos == ',') { 56 argv_out[argv_idx] = pos+1; 58 *pos [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/cms/ |
H A D | cms_io.c | 63 ASN1_OCTET_STRING **pos; local 64 pos = CMS_get0_content(cms); 65 if (!pos) 67 if (!*pos) 68 *pos = ASN1_OCTET_STRING_new(); 69 if (*pos) 71 (*pos)->flags |= ASN1_STRING_FLAG_NDEF; 72 (*pos)->flags &= ~ASN1_STRING_FLAG_CONT; 73 *boundary = &(*pos)->data;
|
H A D | cms_lib.c | 91 ASN1_OCTET_STRING **pos = CMS_get0_content(cms); local 92 if (!pos) 95 if (!*pos) 99 if (!*pos || ((*pos)->flags == ASN1_STRING_FLAG_CONT)) 102 return BIO_new_mem_buf((*pos)->data, (*pos)->length); 160 ASN1_OCTET_STRING **pos = CMS_get0_content(cms); local 161 if (!pos) 164 if (*pos 306 ASN1_OCTET_STRING **pos; local 317 ASN1_OCTET_STRING **pos; local [all...] |
/barrelfish-2018-10-04/lib/vfs/ |
H A D | vfs_blockdevfs.h | 46 errval_t blockdevfs_ahci_read(void *handle, size_t pos, void *buffer, 48 errval_t blockdevfs_ahci_write(void *handle, size_t pos, const void *buffer, 55 errval_t blockdevfs_ata_read(void *handle, size_t pos, void *buffer, 57 errval_t blockdevfs_ata_write(void *handle, size_t pos, const void *buffer, 64 errval_t blockdevfs_megaraid_read(void *handle, size_t pos, void *buffer, 66 errval_t blockdevfs_megaraid_write(void *handle, size_t pos, const void *buffer,
|
/barrelfish-2018-10-04/include/barrelfish_kpi/ |
H A D | legacy_idc_buffer.h | 117 int pos; ///< Index in message member in struct:idc_send_msg 123 int pos; ///< Index in message member in struct:idc_recv_msg 136 if(msg->pos < msg->msg.header.x.length) { 137 *ret = msg->msg.words[msg->pos++]; 161 if(msg->pos < IDC_MSG_LENGTH) { 162 msg->u.x.words[msg->pos++] = word; 163 msg->u.x.header.x.length = msg->pos; 166 idc_fatal_error("%s: msg %p pos %d", 167 __FUNCTION__, msg, (int)msg->pos); 174 msg->pos [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/ |
H A D | bitops.h | 140 int pos; 142 pos = size / BITS_PER_LONG; 144 bit = BITS_PER_LONG * pos; 145 addr += pos; 151 while (--pos) { 165 int pos; local 169 pos = offset / BITS_PER_LONG; 171 bit = BITS_PER_LONG * pos; 172 addr += pos; 203 int pos; local 449 __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) argument 513 int pos, end; /*scans bitmap by regions of size order*/ local [all...] |
/barrelfish-2018-10-04/usr/tests/octopus/ |
H A D | d2bench2.c | 111 int pos = 0; local 112 pos += sprintf(buf+pos, "%s {", name); 120 pos += sprintf(buf+pos, ", "); 123 pos += sprintf(buf+pos, "%s: ", attrs[idx]); 126 pos += sprintf(buf+pos, "%s", values[idx]); 133 pos [all...] |
/barrelfish-2018-10-04/lib/lua/src/ |
H A D | ltablib.c | 43 int pos; /* where to insert new element */ local 46 pos = e; /* insert new element at the end */ 51 pos = luaL_checkint(L, 2); /* 2nd argument is the position */ 52 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); 53 for (i = e; i > pos; i--) { /* move up elements */ 63 lua_rawseti(L, 1, pos); /* t[pos] = v */ 70 int pos = luaL_optint(L, 2, size); local 71 if (pos ! [all...] |
/barrelfish-2018-10-04/lib/linenoise/ |
H A D | linenoise.c | 144 size_t pos; /* Current cursor position. */ member in struct:linenoiseState 187 (int)l->len,(int)l->pos,(int)l->oldpos,plen,rows,rpos, \ 367 ls->len = ls->pos = strlen(lc.cvec[i]); 371 ls->pos = saved.pos; 397 ls->len = ls->pos = nwritten; 473 size_t pos = l->pos; local 476 while((plen+pos) >= l->cols) { 479 pos [all...] |
/barrelfish-2018-10-04/usr/bench/mdb_bench/ |
H A D | measure.c | 101 size_t pos, mod = 1; local 105 pos = rand() % mod; 106 } while (pos >= count); 107 struct cte *cte = &ctes[pos]; 125 size_t pos, mod = 1; local 129 pos = rand() % mod; 130 } while (pos >= count); 131 struct cte *cte = &ctes[pos]; 149 size_t pos, mod = 1; local 153 pos 174 size_t pos, mod = 1; local [all...] |
/barrelfish-2018-10-04/usr/eclipseclp/icparc_solvers/ |
H A D | bitmap.c | 231 int pos = 0; local 237 pos += 32; 242 pos += 16; 246 pos += 8; 250 pos += 4; 254 pos += 2; 258 pos += 1; 260 return pos; 274 int pos = 0; local 280 pos 652 word low, high, offset, pos; local 791 word low, high, offset, pos, limit; local 946 word pos; local 1159 word pos; local 1461 word pos; local 1811 word low, high, offset, pos; local 1891 word low, high, offset, pos; local 1966 word low, high, offset, pos; local 2033 word low, high, offset, pos; local 2097 word high, pos; local 2133 word low, high, offset, pos; local 2176 word low, high, offset, pos, limit; local 2272 word pos; local [all...] |
/barrelfish-2018-10-04/include/barrelfish/ |
H A D | ump_impl.h | 94 ump_index_t pos; ///< Current position member in struct:ump_chan_state 126 c->pos = 0; 151 ump_control_t ctrl_used = c->buf[c->pos].header.control.used; 153 return &c->buf[c->pos]; 170 if (++c->pos == c->bufmsgs) 171 c->pos = 0; 208 volatile struct ump_message *msg = &c->buf[c->pos]; 211 // update pos 212 if (++c->pos == c->bufmsgs) 213 c->pos [all...] |
/barrelfish-2018-10-04/lib/int_route/server/ |
H A D | init.c | 98 * Parse string at pos, write parsed message into out. If pos_after is 106 static int parse_int_message(char *pos, int_route_controller_int_message_t *out, argument 108 if(*pos == ',') return 1; 110 out->port = atoll(pos); 111 char * n_pos = strchr(pos, ','); 189 for(char * pos = out; pos-1 != NULL && *pos != 0; pos = strchr(pos,'\ [all...] |
/barrelfish-2018-10-04/lib/libc/net/ |
H A D | base64.c | 199 char *pos; local 211 pos = strchr(Base64, ch); 212 if (pos == NULL) /* A non-base64 character. */ 220 target[tarindex] = (pos - Base64) << 2; 228 target[tarindex] |= (pos - Base64) >> 4; 229 nextbyte = ((pos - Base64) & 0x0f) << 4; 242 target[tarindex] |= (pos - Base64) >> 2; 243 nextbyte = ((pos - Base64) & 0x03) << 6; 256 target[tarindex] |= (pos - Base64);
|
/barrelfish-2018-10-04/usr/drivers/solarflair/sfxge/common/ |
H A D | efx_vpd.c | 417 __in unsigned int pos, 425 if (pos + 3U > size) { 430 keyword = EFX_VPD_KEYWORD(tag[pos], tag[pos + 1]); 431 length = tag[pos + 2]; 433 if (length == 0 || pos + 3U + length > size) { 492 unsigned int pos; local 515 for (pos = 0; pos != taglen; pos 589 unsigned int pos; local 643 unsigned int pos; local 718 unsigned int pos; local 778 unsigned int pos; local [all...] |