/system/core/libnetutils/ |
H A D | ifc_utils.h | 29 int ifc_set_mask(const char *name, unsigned mask); 33 int ifc_get_info(const char *name, unsigned *addr, unsigned *mask, unsigned *flags);
|
H A D | ifc_utils.c | 146 int ifc_set_mask(const char *name, in_addr_t mask) argument 151 init_sockaddr_in(&ifr.ifr_addr, mask); 156 int ifc_get_info(const char *name, in_addr_t *addr, in_addr_t *mask, unsigned *flags) argument 169 if (mask != NULL) { 171 *mask = 0; 173 *mask = ((struct sockaddr_in*) &ifr.ifr_addr)->sin_addr.s_addr; 274 in_addr_t dest, gway, mask; local 291 ifname, &dest, &gway, &flags, &refcnt, &use, &metric, &mask, 304 init_sockaddr_in(&rt.rt_genmask, mask); 325 in_addr_t dest, gway, mask; local [all...] |
H A D | dhcp_utils.c | 65 in_addr_t *mask, 88 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, interface); 90 *mask = addr.s_addr; 92 *mask = 0; 125 in_addr_t *mask, 168 fill_ip_info(interface, ipaddr, gateway, mask, dns1, dns2, server, lease); 62 fill_ip_info(const char *interface, in_addr_t *ipaddr, in_addr_t *gateway, in_addr_t *mask, in_addr_t *dns1, in_addr_t *dns2, in_addr_t *server, uint32_t *lease) argument 122 dhcp_do_request(const char *interface, in_addr_t *ipaddr, in_addr_t *gateway, in_addr_t *mask, in_addr_t *dns1, in_addr_t *dns2, in_addr_t *server, uint32_t *lease) argument
|
H A D | dhcpclient.c | 118 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *mask, argument 124 *mask = last_good_info.netmask; 175 char addr[20], gway[20], mask[20]; local 180 strcpy(mask, ipaddr(info->netmask)); 181 LOGD("ip %s gw %s mask %s", addr, gway, mask);
|
/system/core/nexus/ |
H A D | WifiNetwork.cpp | 187 uint32_t mask; local 217 if (WifiNetwork::parseKeyManagementMask(buffer, &mask)) { 220 mKeyManagement = mask; 226 if (WifiNetwork::parseProtocolsMask(buffer, &mask)) { 229 mProtocols = mask; 235 if (WifiNetwork::parseAuthAlgorithmsMask(buffer, &mask)) { 238 mAuthAlgorithms = mask; 244 if (WifiNetwork::parsePairwiseCiphersMask(buffer, &mask)) { 247 mPairwiseCiphers = mask; 253 if (WifiNetwork::parseGroupCiphersMask(buffer, &mask)) { 344 setKeyManagement(uint32_t mask) argument 370 setProtocols(uint32_t mask) argument 387 setAuthAlgorithms(uint32_t mask) argument 411 setPairwiseCiphers(uint32_t mask) argument 432 setGroupCiphers(uint32_t mask) argument 508 parseKeyManagementMask(const char *buffer, uint32_t *mask) argument 545 parseProtocolsMask(const char *buffer, uint32_t *mask) argument 570 parseAuthAlgorithmsMask(const char *buffer, uint32_t *mask) argument 600 parsePairwiseCiphersMask(const char *buffer, uint32_t *mask) argument 635 parseGroupCiphersMask(const char *buffer, uint32_t *mask) argument 802 uint32_t mask; local 834 uint32_t mask; local 876 uint32_t mask; local 911 uint32_t mask; local 953 uint32_t mask; local [all...] |
H A D | WifiNetwork.h | 336 int setKeyManagement(uint32_t mask); 337 int setProtocols(uint32_t mask); 338 int setAuthAlgorithms(uint32_t mask); 339 int setPairwiseCiphers(uint32_t mask); 340 int setGroupCiphers(uint32_t mask); 346 int parseKeyManagementMask(const char *buffer, uint32_t *mask); 347 int parseProtocolsMask(const char *buffer, uint32_t *mask); 348 int parseAuthAlgorithmsMask(const char *buffer, uint32_t *mask); 349 int parsePairwiseCiphersMask(const char *buffer, uint32_t *mask); 350 int parseGroupCiphersMask(const char *buffer, uint32_t *mask); [all...] |
H A D | DhcpClient.cpp | 49 in_addr_t *mask,
|
/system/core/sh/ |
H A D | miscbltin.c | 217 int mask; local 226 mask = umask(0); 227 umask(mask); 235 if ((mask & S_IRUSR) == 0) 237 if ((mask & S_IWUSR) == 0) 239 if ((mask & S_IXUSR) == 0) 244 if ((mask & S_IRGRP) == 0) 246 if ((mask & S_IWGRP) == 0) 248 if ((mask & S_IXGRP) == 0) 253 if ((mask [all...] |
/system/extras/tests/bionic/libc/other/ |
H A D | test_timer_create2.c | 80 sigset_t mask[1]; local 83 sigemptyset(mask); 84 sigaddset(mask, SIGUSR1); 85 sigprocmask(SIG_UNBLOCK,mask,NULL);
|
/system/core/toolbox/ |
H A D | ifconfig.c | 64 unsigned int addr, mask, flags; local 94 mask = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr; 108 mask & 0xff, 109 ((mask >> 8) & 0xff), 110 ((mask >> 16) & 0xff), 111 ((mask >> 24) & 0xff)); 112 printf("%s: ip %s mask %s flags [", ifr.ifr_name,
|
H A D | notify.c | 97 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? event->name : ""); 99 printf("%s: %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->len ? event->name : ""); 101 printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : ""); 102 if(print_files && (event->mask & IN_MODIFY)) {
|
/system/core/netcfg/ |
H A D | netcfg.c | 31 int ifc_get_info(const char *name, unsigned *addr, unsigned *mask, unsigned *flags); 60 unsigned addr, mask, flags; local 62 if(ifc_get_info(name, &addr, &mask, &flags)) { 68 printf("%-16s", ipaddr(mask));
|
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 114 const int mask = ((1<<maskLen)-1) << l; local 115 if (isValidImmediate(mask)) { 116 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; 117 } else if (isValidImmediate(~mask)) { 118 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; 260 // we need to mask the high bits (and possibly the lowbits too) 261 // and we might be able to use immediate mask. 267 const uint32_t mask local 278 const uint32_t mask = ((1<<sbits)-1) << sl; local [all...] |
H A D | GGLAssembler.cpp | 157 const int mask = 1<<i; local 163 info.masked = !!(masking & mask); 172 info.replaced = !!(mTextureMachine.replaced & mask); 178 mBlending |= (info.blend ? mask : 0); 179 mMasking |= (mCbFormat.c[i].h && info.masked) ? mask : 0; 180 fbComponents |= mCbFormat.c[i].h ? mask : 0; 260 const int mask = GGL_DITHER_SIZE-1; local 262 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); 520 need_extract |= (mTextureMachine.mask != mTextureMachine.replaced); 605 if ((tmu.mask 720 build_depth_test( const fragment_parts_t& parts, uint32_t mask) argument 881 build_and_immediate(int d, int s, uint32_t mask, int bits) argument 934 int mask = 0; local [all...] |
H A D | texturing.cpp | 125 parts.packed = (!mTextureMachine.mask && !mBlending 139 // pre-mask the iterated color 142 uint32_t mask = 0; local 149 mask |= ((1<<(h-l))-1) << l; 154 if (mMasking && ((mask & size)==0)) { 155 // none of the components are present in the mask 167 // pre-mask the iterated color 170 mask, bits); 266 mTextureMachine.mask = 0; 273 tmu.mask 752 uint32_t mask = 0; local 891 int mask = scratches.obtain(); local [all...] |
/system/core/libpixelflinger/ |
H A D | clear.cpp | 27 static void ggl_clear(void* c, GGLbitfield mask); 92 static void ggl_clear(void* con, GGLbitfield mask) argument 109 mask &= ~GGL_COLOR_BUFFER_BIT; 112 mask &= ~GGL_DEPTH_BUFFER_BIT; 115 mask &= ~GGL_STENCIL_BUFFER_BIT; 117 if (mask & GGL_COLOR_BUFFER_BIT) { 133 if (mask & GGL_DEPTH_BUFFER_BIT) {
|
H A D | pixelflinger.cpp | 518 int mask = 0; local 519 if (a) mask |= 1 << GGLFormat::ALPHA; 520 if (r) mask |= 1 << GGLFormat::RED; 521 if (g) mask |= 1 << GGLFormat::GREEN; 522 if (b) mask |= 1 << GGLFormat::BLUE; 523 if (c->state.mask.color != mask) { 524 c->state.mask.color = mask; 532 if (c->state.mask 538 ggl_stencilMask(void* con, GGLuint mask) argument 716 const uint32_t mask = 1UL << tmu; local [all...] |
H A D | buffer.cpp | 177 uint32_t mask = 0; local 188 if (h && (c->state.mask.color & component_mask)) { 189 mask |= (((1<<(h-l))-1)<<l); 200 if ((c->state.mask.color != 0xF) || 211 v &= mask; 213 v |= (d & ~mask);
|
/system/core/debuggerd/ |
H A D | pr-support.c | 159 /* Pop r4-r15 under mask. */ 183 _uw mask; local 185 mask = (0xff0 >> (7 - (op & 7))) & 0xff0; 187 mask |= (1 << R_LR); 188 if (unwind_VRS_Pop_with_ptrace (context, _UVRSC_CORE, mask, _UVRSD_UINT32, 203 /* Pop r0-r4 under mask. */ 278 /* Pop iWMMXt wCGR{3,2,1,0} under mask. */
|
H A D | unwind-arm.c | 194 _uw mask; local 200 mask = discriminator & 0xffff; 205 if (mask & (1 << i)) { 211 if ((mask & (1 << R_SP)) == 0) 445 /* We used to print the absolute PC in the back trace, and mask out the top
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 240 needs_t mask; member in struct:android::needs_filter_t 245 ((filter.value.n ^ n) & filter.mask.n) | 246 ((filter.value.p ^ p) & filter.mask.p) | 247 ((filter.value.t[0] ^ t[0]) & filter.mask.t[0]) | 248 ((filter.value.t[1] ^ t[1]) & filter.mask.t[1]); 495 mask_state_t mask; member in struct:android::state_t
|
/system/netd/ |
H A D | CommandListener.cpp | 39 extern "C" int ifc_get_info(const char *name, in_addr_t *addr, in_addr_t *mask, unsigned *flags); 41 extern "C" int ifc_set_mask(const char *name, in_addr_t mask); 188 struct in_addr addr, mask; local 195 if (ifc_get_info(argv[2], &addr.s_addr, &mask.s_addr, &flags)) { 205 char *mask_s = strdup(inet_ntoa(mask)); 232 // arglist: iface addr mask [flags] 239 struct in_addr addr, mask; local 247 if (!inet_aton(argv[4], &mask)) { 258 if (ifc_set_mask(argv[2], mask.s_addr)) {
|
/system/core/include/pixelflinger/ |
H A D | format.h | 98 inline uint32_t mask(int i) const { function in struct:__anon46
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/ |
H A D | wspi.h | 79 UINT8 mask; member in struct:_WSPIConfig_t
|
/system/wlan/ti/wilink_6_1/stad/Export_Inc/ |
H A D | STADExternalIf.h | 281 TI_UINT8 maskLength; /**< Byte-Mask Length, 1-8 bytes of mask, 0- match all packets */ 283 TI_UINT8 mask[RX_DATA_FILTER_MAX_MASK_SIZE]; /**< Byte-Mask */ member in struct:__anon1494
|