Home
last modified time | relevance | path

Searched refs:sval (Results 1 – 25 of 72) sorted by relevance

123

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Drules.c59 struct sval string;
161 static const struct sval rules_mlvo_svals[_MLVO_NUM_ENTRIES] = {
177 static const struct sval rules_kccgst_svals[_KCCGST_NUM_ENTRIES] = {
188 struct sval sval; member
205 struct sval name;
227 struct sval mlvo_value_at_pos[_MLVO_NUM_ENTRIES];
230 struct sval kccgst_value_at_pos[_KCCGST_NUM_ENTRIES];
256 static struct sval
257 strip_spaces(struct sval v) in strip_spaces()
275 struct matched_sval val = { .sval = { NULL, 0 } }; in split_comma_separated_mlvo()
[all …]
/external/one-true-awk/
Dtran.c77 if (&vp->sval == FS || &vp->sval == RS || in setfree()
78 &vp->sval == OFS || &vp->sval == ORS || in setfree()
79 &vp->sval == OFMT || &vp->sval == CONVFMT || in setfree()
80 &vp->sval == FILENAME || &vp->sval == SUBSEP) in setfree()
94 FS = &fsloc->sval; in syminit()
96 RS = &rsloc->sval; in syminit()
98 OFS = &ofsloc->sval; in syminit()
100 ORS = &orsloc->sval; in syminit()
101 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
102 CONVFMT = &setsymtab("CONVFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
[all …]
Dlib.c66 fldtab[0]->sval = record; in recinit()
153 xfree(fldtab[0]->sval); in getrec()
154 fldtab[0]->sval = buf; /* buf == record */ in getrec()
156 if (is_number(fldtab[0]->sval)) { in getrec()
157 fldtab[0]->fval = atof(fldtab[0]->sval); in getrec()
256 if (is_number(q->sval)) { in setclvar()
257 q->fval = atof(q->sval); in setclvar()
277 r = fldtab[0]->sval; in fldbld()
302 xfree(fldtab[i]->sval); in fldbld()
303 fldtab[i]->sval = fr; in fldbld()
[all …]
Drun.c257 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval) ); in call()
285 y = execute((Node *)(fcn->sval)); /* execute body */ in call()
299 oargs[i]->sval = t->sval; in call()
335 y->sval = tostring(x->sval); in copycell()
428 if (is_number(x->sval)) { in awkgetline()
429 x->fval = atof(x->sval); in awkgetline()
435 if (is_number(fldtab[0]->sval)) { in awkgetline()
436 fldtab[0]->fval = atof(fldtab[0]->sval); in awkgetline()
447 if (is_number(x->sval)) { in awkgetline()
448 x->fval = atof(x->sval); in awkgetline()
[all …]
/external/clang/test/SemaCXX/
Dconstant-expression.cpp16 static const int sval = 3; member
26 v5 = Struct::sval,
32 v11 = true? 1 + cval * Struct::sval ^ itval / (int)1.5 - sizeof(Struct) : 0
39 b5 : Struct::sval,
45 b11 : true? 1 + cval * Struct::sval ^ itval / (int)1.5 - sizeof(Struct) : 0
52 i5 = Struct::sval,
58 i11 = true? 1 + cval * Struct::sval ^ itval / (int)1.5 - sizeof(Struct) : 0
66 case 400 + Struct::sval: in f()
72 case 1000 + (true? 1 + cval * Struct::sval ^ in f()
82 template struct C<Struct::sval, Struct::seval>;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreePatternLexer.cs60 public StringBuilder sval = new StringBuilder(); field in Antlr.Runtime.Tree.TreePatternLexer
73 sval.Length = 0; // reset, but reuse buffer in NextToken()
83 sval.Append( (char)c ); in NextToken()
88 sval.Append( (char)c ); in NextToken()
129 sval.Append( '\\' ); in NextToken()
131 sval.Append( (char)c ); in NextToken()
135 sval.Append( (char)c ); in NextToken()
DTreePatternParser.cs120 label = tokenizer.sval.ToString(); in ParseNode()
148 string tokenName = tokenizer.sval.ToString(); in ParseNode()
159 arg = tokenizer.sval.ToString(); in ParseNode()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreePatternLexer.java53 public StringBuffer sval = new StringBuffer(); field in TreePatternLexer
64 sval.setLength(0); // reset, but reuse buffer in nextToken()
71 sval.append((char)c); in nextToken()
76 sval.append((char)c); in nextToken()
107 sval.append('\\'); in nextToken()
109 sval.append((char)c); in nextToken()
112 sval.append((char)c); in nextToken()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreePatternLexer.cs59 public StringBuilder sval = new StringBuilder(); field in Antlr.Runtime.Tree.TreePatternLexer
70 sval.Length = 0; // reset, but reuse buffer in NextToken()
77 sval.Append((char)c); in NextToken()
81 sval.Append((char)c); in NextToken()
112 sval.Append('\\'); in NextToken()
114 sval.Append((char)c); in NextToken()
116 sval.Append((char)c); in NextToken()
DTreePatternParser.cs102 label = tokenizer.sval.ToString(); in ParseNode()
126 string tokenName = tokenizer.sval.ToString(); in ParseNode()
135 arg = tokenizer.sval.ToString(); in ParseNode()
/external/antlr/runtime/ObjC/Framework/
DTreePatternLexer.m40 @synthesize sval;
55 sval = [[NSMutableData dataWithLength:1000] retain];
56 data = [sval mutableBytes];
71 sval = [[NSMutableData dataWithLength:1000] retain];
72 data = [sval mutableBytes];
86 if ( sval ) [sval release];
179 return sval;
184 if ( sval != aSval ) {
185 if ( sval ) [sval release];
188 sval = aSval;
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
DParse.java111 String name = izer.sval; in item()
115 return new NameValueNode(name, izer.sval); in item()
117 return new NameValueNode(name, izer.sval.charAt(0)); in item()
129 return new CommentNode(izer.sval); in item()
133 String kind = izer.sval; in item()
159 " : " + izer.sval); in item()
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c381 int sval; in semlock_release()
385 if (sem_getvalue(self->handle, &sval) < 0) { in semlock_release()
387 } else if (sval >= self->maxvalue) { in semlock_release()
516 int sval; in semlock_getvalue()
517 if (SEM_GETVALUE(self->handle, &sval) < 0) in semlock_getvalue()
521 if (sval < 0) in semlock_getvalue()
522 sval = 0; in semlock_getvalue()
523 return PyInt_FromLong((long)sval); in semlock_getvalue()
541 int sval; in semlock_iszero()
542 if (SEM_GETVALUE(self->handle, &sval) < 0) in semlock_iszero()
[all …]
/external/libxkbcommon/xkbcommon/src/
Dscanner-utils.h28 struct sval { struct
32 typedef darray(struct sval) darray_sval; argument
35 svaleq(struct sval s1, struct sval s2) in svaleq()
41 svaleq_prefix(struct sval s1, struct sval s2) in svaleq_prefix()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c386 int sval; in semlock_release()
390 if (sem_getvalue(self->handle, &sval) < 0) { in semlock_release()
392 } else if (sval >= self->maxvalue) { in semlock_release()
543 int sval; in semlock_getvalue()
544 if (SEM_GETVALUE(self->handle, &sval) < 0) in semlock_getvalue()
548 if (sval < 0) in semlock_getvalue()
549 sval = 0; in semlock_getvalue()
550 return PyLong_FromLong((long)sval); in semlock_getvalue()
568 int sval; in semlock_iszero()
569 if (SEM_GETVALUE(self->handle, &sval) < 0) in semlock_iszero()
[all …]
/external/dnsmasq/src/
Dutil.c193 unsigned char* do_rfc1035_name(unsigned char* p, char* sval) { in do_rfc1035_name() argument
196 while (sval && *sval) { in do_rfc1035_name()
198 for (j = 0; *sval && (*sval != '.'); sval++, j++) *p++ = *sval; in do_rfc1035_name()
200 if (*sval) sval++; in do_rfc1035_name()
/external/ImageMagick/PerlMagick/
DMagick.xs1100 const char *attribute,SV *sval,ExceptionInfo *exception) in SetAttribute() argument
1129 sp=SvPOK(sval) ? ParseCommandOption(MagickBooleanOptions,MagickFalse, in SetAttribute()
1130 SvPV(sval,na)) : SvIV(sval); in SetAttribute()
1134 SvPV(sval,na)); in SetAttribute()
1143 sp=SvPOK(sval) ? ParseCommandOption(MagickAlphaChannelOptions, in SetAttribute()
1144 MagickFalse,SvPV(sval,na)) : SvIV(sval); in SetAttribute()
1148 SvPV(sval,na)); in SetAttribute()
1158 sp=SvPOK(sval) ? ParseCommandOption(MagickBooleanOptions,MagickFalse, in SetAttribute()
1159 SvPV(sval,na)) : SvIV(sval); in SetAttribute()
1163 SvPV(sval,na)); in SetAttribute()
[all …]
/external/antlr/runtime/Python/antlr3/
Dtreewizard.py81 self.sval = None
94 self.sval = ""
101 self.sval += self.c
104 self.sval += self.c
135 self.sval += '\\'
137 self.sval += self.c
140 self.sval += self.c
222 label = self.tokenizer.sval
242 tokenName = self.tokenizer.sval
252 arg = self.tokenizer.sval
/external/antlr/runtime/Python3/antlr3/
Dtreewizard.py81 self.sval = None
94 self.sval = ""
101 self.sval += self.c
104 self.sval += self.c
135 self.sval += '\\'
137 self.sval += self.c
140 self.sval += self.c
222 label = self.tokenizer.sval
242 tokenName = self.tokenizer.sval
252 arg = self.tokenizer.sval
/external/autotest/client/common_lib/
Dglobal_config.py325 sval = value.strip()
328 if len(sval) == 0:
343 if sval.lower() == "false":
350 return [val.strip() for val in sval.split(',')]
353 conv_val = value_type(sval)
357 (key, sval, section, value_type))
/external/autotest/utils/named_semaphore/
Dnamedsem.c80 int sval; in namedsem_sem_getvalue() local
83 sem_getvalue(sem, &sval); in namedsem_sem_getvalue()
85 return Py_BuildValue("i", sval); in namedsem_sem_getvalue()
/external/libcups/cups/
Dusersys.c1000 CFStringRef sval; /* String value */ in cups_apple_get_string() local
1003 if ((sval = CFPreferencesCopyAppValue(key, kCUPSPrintingPrefs)) != NULL) in cups_apple_get_string()
1005 Boolean result = CFStringGetCString(sval, value, (CFIndex)valsize, kCFStringEncodingUTF8); in cups_apple_get_string()
1007 CFRelease(sval); in cups_apple_get_string()
1185 char sval[1024]; /* String value */ in cups_init_client_conf() local
1194 if (cups_apple_get_string(kEncryptionKey, sval, sizeof(sval))) in cups_init_client_conf()
1195 cups_set_encryption(cc, sval); in cups_init_client_conf()
1197 if (cups_apple_get_string(kSSLOptionsKey, sval, sizeof(sval))) in cups_init_client_conf()
1198 cups_set_ssl_options(cc, sval); in cups_init_client_conf()
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in1045 % SetAttribute() sets the attribute to the value in sval. This can change
1051 % SV *sval,ExceptionInfo *exception)
1100 const char *attribute,SV *sval,ExceptionInfo *exception) argument
1129 sp=SvPOK(sval) ? ParseCommandOption(MagickBooleanOptions,MagickFalse,
1130 SvPV(sval,na)) : SvIV(sval);
1134 SvPV(sval,na));
1143 sp=SvPOK(sval) ? ParseCommandOption(MagickAlphaChannelOptions,
1144 MagickFalse,SvPV(sval,na)) : SvIV(sval);
1148 SvPV(sval,na));
1158 sp=SvPOK(sval) ? ParseCommandOption(MagickBooleanOptions,MagickFalse,
[all …]
/external/epid-sdk/example/signmsg/src/
Dmain.c168 hashalg_str->sval[0] = HASHALG_DEFAULT; in main()
201 msg_str = (char*)msg->sval[0]; in main()
219 basename_str = (char*)basename->sval[0]; in main()
234 if (!StringToHashAlg(hashalg_str->sval[0], &hashalg)) { in main()
235 log_error("invalid hashalg: %s", hashalg_str->sval[0]); in main()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c197 char *sval, *kval; in last_stage_init() local
240 sval = env_get("SERIAL"); in last_stage_init()
241 if (sval) { in last_stage_init()
243 strcat(newkernelargs, sval); in last_stage_init()

123