Searched defs:set (Results 1 - 9 of 9) sorted by path

/system/core/libnetutils/
H A Difc_utils.c193 static int ifc_set_flags(const char *name, unsigned set, unsigned clr) argument
199 ifr.ifr_flags = (ifr.ifr_flags & (~clr)) | set;
795 printerr("failed to set ipaddr %s: %s\n", ipaddr_to_string(address), strerror(errno));
800 printerr("failed to set prefixLength %d: %s\n", prefixLength, strerror(errno));
805 printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno));
/system/core/sh/
H A Dexpand.c178 * If EXP_FULL is set, output CTLESC characters to allow for further processing.
517 error("%.*s: parameter %snot set", p - str - 1,
613 int set; local
628 set = varisset(var, varflags & VSNUL);
634 set = 0;
636 set = 1;
642 if (!set && uflag) {
650 error("%.*s: parameter not set", p - var - 1, var);
655 if (set && subtype != VSPLUS) {
694 set
[all...]
H A Dmiscbltin.c346 int set, all = 0; local
371 set = *argptr ? 1 : 0;
372 if (set) {
418 if (set) {
H A Dsyntax.c13 #define set(ch, val) [ndx(ch)] = val, macro
19 set('\n', CNL)
20 set('\\', CBACK)
21 set('\'', CSQUOTE)
22 set('"', CDQUOTE)
23 set('`', CBQUOTE)
24 set('$', CVAR)
25 set('}', CENDVAR)
26 set('<', CSPCL)
27 set('>', CSPC
[all...]
/system/core/toolbox/
H A Ddd.c117 sigset_t infoset; /* a set blocking SIGINFO */
377 * POSIX states that if bs is set and no other conversions
633 * If noerror not set die. POSIX requires that the warning
1033 u_int set, noset; member in struct:arg
1084 "%s: illegal argument combination or already set\n",
1089 ddflags |= ap->set;
1098 * just wanted to set both the input and output block sizes
1266 u_int set, noset; member in struct:conv
1300 ddflags |= cp->set;
H A Difconfig.c22 static void setflags(int s, struct ifreq *ifr, int set, int clr) argument
25 ifr->ifr_flags = (ifr->ifr_flags & (~clr)) | set;
H A Dr.c15 int width = 4, set = 0, fd; local
49 set = 1;
75 if(set) *x = value;
81 if(set) *x = value;
87 if(set) *x = value;
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp96 static ostream &operator<<(ostream &stream, const cpu_set_t& set);
374 static ostream &operator<<(ostream &stream, const cpu_set_t& set) argument
377 if (CPU_ISSET(n1, &set)) {
/system/extras/tests/bionic/libc/common/
H A Dtest_cpu_set.c67 test_1(cpu_set_t* set) argument
76 CPU_ZERO(set);
77 TEST_INT_EQ(CPU_COUNT(set),0);
78 T(CPU_EQUAL(set, other));
79 T(CPU_EQUAL(other, set));
82 F(CPU_ISSET(nn, set));
87 CPU_SET(nn, set);
88 TEST_INT_EQ(CPU_COUNT(set),1);
90 T(CPU_ISSET(mm, set) == (mm == nn));
92 CPU_CLR(nn, set);
130 test_1_s(size_t setsize, cpu_set_t* set) argument
203 cpu_set_t* set = CPU_ALLOC(count); local
[all...]

Completed in 54 milliseconds