Searched refs:set (Results 1 - 20 of 20) sorted by relevance

/system/core/sh/
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...]
H A Dmiscbltin.c346 int set, all = 0; local
371 set = *argptr ? 1 : 0;
372 if (set) {
418 if (set) {
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...]
/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...]
/system/core/libcutils/tests/memset_mips/
H A Dandroid_memset_dumb.S6 .set noreorder
14 .set reorder
24 .set noreorder
32 .set reorder
H A Dandroid_memset_test.S37 .set noreorder
141 .set noreorder
H A Dmemset_cmips.S64 .set noreorder
65 .set noat
218 .set at
219 .set reorder
H A Dmemset_omips.S36 .set noreorder
87 .set reorder
/system/core/toolbox/
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;
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 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;
/system/core/libutils/tests/
H A DBlobCache_test.cpp48 mBC->set("abcd", 4, "efgh", 4);
58 mBC->set("ab", 2, "cd", 2);
59 mBC->set("ef", 2, "gh", 2);
70 mBC->set("abcd", 4, "efgh", 4);
82 mBC->set("abcd", 4, "efgh", 4);
90 mBC->set("abcd", 4, "efgh", 4);
96 mBC->set("abcd", 4, "efgh", 4);
97 mBC->set("abcd", 4, "ijkl", 4);
107 mBC->set("abcd", 4, "efgh", 4);
108 mBC->set("abc
[all...]
H A DBasicHashtable_test.cpp390 bool set[N]; local
391 memset(set, 0, sizeof(bool) * N);
400 ASSERT_EQ(false, set[entry.key]);
403 set[entry.key] = true;
/system/core/libpixelflinger/arch-mips/
H A Dt32cb16blend.S41 DBG .set noat
43 DBG .set at
75 DBG .set noat
82 DBG .set at
92 DBG .set push
93 DBG .set noat
94 DBG .set mips32r2
96 DBG .set pop
160 DBG .set push
161 DBG .set noa
[all...]
/system/netd/
H A DNatController.h45 int setForwardRules(bool set, const char *intIface, const char *extIface);
/system/core/debuggerd/mips/
H A Dcrashglue.S1 .set noat
/system/core/include/utils/
H A DBlobCache.h46 // set inserts a new binary value into the cache and associates it with the
53 // will be in the cache after set returns. Note, however, that a subsequent
54 // call to set may evict old key/value pairs from the cache.
61 void set(const void* key, size_t keySize, const void* value,
112 // clean evicts a randomly chosen set of entries from the cache such that
212 // BlobCache::set with a keySize parameter larger than mMaxKeySize will
217 // BlobCache::set with a valueSize parameter larger than mMaxValueSize will
222 // includes space for both keys and values. When a call to BlobCache::set
224 // pair passed to BlobCache::set will not be cached or other cache entries
237 // Cache entries are added to it by the 'set' metho
[all...]
/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/core/libutils/
H A DBlobCache.cpp54 void BlobCache::set(const void* key, size_t keySize, const void* value, function in class:android::BlobCache
57 ALOGV("set: not caching because the key is too large: %d (limit: %d)",
62 ALOGV("set: not caching because the value is too large: %d (limit: %d)",
67 ALOGV("set: not caching because the combined key/value size is too "
72 ALOGW("set: not caching because keySize is 0");
76 ALOGW("set: not caching because valueSize is 0");
96 ALOGV("set: not caching new key/value pair because the "
105 ALOGV("set: created new cache entry with %d byte key and %d byte value",
118 ALOGV("set: not caching new value because the total cache "
126 ALOGV("set
[all...]
/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));

Completed in 253 milliseconds