/system/core/libcutils/ |
H A D | mq.c | 212 int flags; local 213 if ((flags = fcntl(fd, F_GETFL, 0)) < 0) { 216 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
|
/system/core/libdiskconfig/ |
H A D | config_mbr.c | 112 cfg_pentry(pentry, ((pinfo->flags & PART_ACTIVE_FLAG) ?
|
H A D | diskconfig.c | 108 pinfo->flags |= PART_ACTIVE_FLAG; 489 part->flags & PART_ACTIVE_FLAG ? "Active" : "None");
|
/system/core/libion/ |
H A D | ion.c | 58 unsigned int flags, struct ion_handle **handle) 65 .flags = flags, 84 int flags, off_t offset, unsigned char **ptr, int *map_fd) 98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 125 unsigned int flags, int *handle_fd) { 129 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle); 57 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, struct ion_handle **handle) argument 83 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 124 ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, int *handle_fd) argument
|
H A D | ion_test.c | 93 _ion_alloc_test(len, align, flags, &fd, &handle); 95 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd);
|
/system/core/liblog/ |
H A D | fake_log_device.c | 614 static int logOpen(const char* pathName, int flags) argument 641 static int (*redirectOpen)(const char *pathName, int flags) = NULL; 656 redirectOpen = (int (*)(const char *pathName, int flags))open; 667 int fakeLogOpen(const char *pathName, int flags) argument 672 return redirectOpen(pathName, flags);
|
H A D | logd_write.c | 36 #define log_open(pathname, flags) fakeLogOpen(pathname, flags) 40 #define log_open(pathname, flags) open(pathname, flags)
|
/system/core/libnetutils/ |
H A D | dhcpclient.c | 273 ALOGD("xid = 0x%08x secs = %d, flags = 0x%04x optlen = %d", 274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len);
|
H A D | dhcpmsg.c | 35 msg->flags = htons(FLAGS_BROADCAST);
|
H A D | dhcpmsg.h | 45 uint16_t flags; member in struct:dhcp_msg
|
H A D | ifc_utils.c | 471 int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, unsigned *flags) argument 493 if (flags != NULL) { 495 *flags = 0; 497 *flags = ifr.ifr_flags; 652 int flags, refcnt, use, metric, mtu, win, irtt; local 668 ifname, &dest, &gway, &flags, &refcnt, &use, &metric, &mask, 673 if ((flags & (RTF_UP|RTF_HOST)) != (RTF_UP|RTF_HOST) 705 int flags, refcnt, use, metric, mtu, win, irtt; local 721 name, &dest, &gway, &flags, &refcnt, &use, &metric, &mask, 726 if ((flags [all...] |
/system/core/libnl_2/genl/ |
H A D | genl.c | 50 int hdrlen, int flags, uint8_t cmd, uint8_t version) 67 nlh->nlmsg_flags = flags | NLM_F_REQUEST | NLM_F_ACK; 203 /* Check flags */ 49 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument
|
/system/core/libnl_2/ |
H A D | netlink.c | 114 int i, rem, flags; local
|
/system/core/libpixelflinger/ |
H A D | Android.mk | 42 # special optimization flags for pixelflinger
|
H A D | trap.cpp | 119 void ggl_state_changed(context_t* c, int flags) argument 127 c->dirty |= uint32_t(flags);
|
H A D | trap.h | 27 void ggl_state_changed(context_t* c, int flags);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.cpp | 259 pixel.flags &= ~CORRUPTIBLE; 286 pixel.flags |= CORRUPTIBLE; 570 if (fragment.flags & CORRUPTIBLE) { 571 fragment.flags &= ~CORRUPTIBLE; 573 fragment.size(), fragment.flags); 825 if (!(pixel.flags & CORRUPTIBLE)) { 827 pixel.flags |= CORRUPTIBLE; 941 if (!(pixel.flags & CORRUPTIBLE)) { 943 pixel.flags |= CORRUPTIBLE;
|
H A D | GGLAssembler.h | 196 enum { //load/store flags 201 reg_t() : reg(-1), flags(0) { 204 : reg(r), flags(f) { 207 reg=r; flags=f; 210 uint16_t flags; member in struct:android::GGLAssembler::reg_t 255 : reg_t(rhs.reg, rhs.flags), h(rhs.s), l(0) { 261 rhs.flags|CLEAR_LO|CLEAR_HI); 348 if (!(r.flags & CORRUPTIBLE)) { 350 r.flags |= CORRUPTIBLE; 375 void store(const pointer_t& addr, const pixel_t& src, uint32_t flags [all...] |
H A D | blending.cpp | 40 integer_t fragment(temp.reg, temp.h, temp.flags); 41 if (!(temp.flags & CORRUPTIBLE)) { 43 temp.flags |= CORRUPTIBLE; 137 if (temp.l && (temp.flags & CORRUPTIBLE)) { 142 integer_t fragment(temp.reg, temp.size(), temp.flags); 149 fragment.flags |= CORRUPTIBLE; 152 if (!(temp.flags & CORRUPTIBLE)) { 156 temp.flags &= ~CORRUPTIBLE; 157 fragment.flags &= ~CORRUPTIBLE; 163 fragment.flags [all...] |
H A D | load_store.cpp | 31 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument 34 const int inc = (flags & WRITE_BACK)?1:0; 48 if (!(s.flags & CORRUPTIBLE)) { 65 void GGLAssembler::load(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument 71 const int inc = (flags & WRITE_BACK)?1:0; 171 integer_t r(d.reg, 32, d.flags); 182 if (s.l || (s.flags & CLEAR_HI)) { 186 expand(d, integer_t(s.reg, s.size(), s.flags), dbits); 192 integer_t r(d.reg, 32, d.flags); 207 dst.flags [all...] |
H A D | texturing.cpp | 197 fragment.flags |= CLEAR_LO; 216 fragment.flags &= ~CORRUPTIBLE; 760 texel.flags |= CLEAR_LO; 809 texel.flags |= CLEAR_HI|CLEAR_LO; 1104 texel.flags |= CORRUPTIBLE; 1194 dest.flags |= (incoming.flags & CLEAR_LO); 1240 int t = (texel.flags & CORRUPTIBLE) ? texel.reg : dest.reg; 1253 dest.flags |= CLEAR_LO; 1282 integer_t incomingNorm(incoming.reg, Ni, incoming.flags); [all...] |
/system/core/libpixelflinger/tinyutils/ |
H A D | SharedBuffer.cpp | 93 int32_t SharedBuffer::release(uint32_t flags) const 98 if ((flags & eKeepStorage) == 0) {
|
H A D | SharedBuffer.h | 23 /* flags to use with release() */ 80 int32_t release(uint32_t flags = 0) const;
|
H A D | VectorImpl.cpp | 44 VectorImpl::VectorImpl(size_t itemSize, uint32_t flags) argument 45 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) 426 SortedVectorImpl::SortedVectorImpl(size_t itemSize, uint32_t flags) 427 : VectorImpl(itemSize, flags)
|
H A D | VectorImpl.h | 34 enum { // flags passed to the ctor 41 VectorImpl(size_t itemSize, uint32_t flags); 128 SortedVectorImpl(size_t itemSize, uint32_t flags);
|