Home
last modified time | relevance | path

Searched refs:appendFormat (Results 1 – 25 of 43) sorted by relevance

12

/external/bcc/src/cc/frontends/p4/compiler/
Dtarget.py17 serializer.appendFormat("{0} = bpf_map_lookup_elem(&{1}, &{2});",
21 serializer.appendFormat(
28 serializer.appendFormat(
35 serializer.appendFormat("{0}(\"{1}\")", self.section, self.entrySection)
47 serializer.appendFormat("struct {0} {1}(\"maps\") {2} = ",
59 serializer.appendFormat(".{0} = sizeof(struct {1}), ",
64 serializer.appendFormat(".{0} = sizeof(struct {1}), ",
69 serializer.appendFormat(".{0} = {1}, ", self.tableSizeAttribute, size)
76 serializer.appendFormat(
82 serializer.appendFormat(
[all …]
DebpfParser.py25 serializer.appendFormat("{0}: ", self.name)
91 serializer.appendFormat("{0}32 {1} = {2};",
168 serializer.appendFormat("if ({0} == {1})", selectVarName, e)
170 serializer.appendFormat(
190 serializer.appendFormat("goto {0};", label)
192 serializer.appendFormat("goto {0};", label)
194 serializer.appendFormat("goto {0};", label)
207 serializer.appendFormat(
211 serializer.appendFormat("default: goto end;")
222 serializer.appendFormat("goto {0};", name)
[all …]
DebpfTable.py59 serializer.appendFormat("{0} = ({1}){2};",
65 serializer.appendFormat(
133 serializer.appendFormat("struct {0} ", keyTypeName)
218 serializer.appendFormat("enum {0} ", self.actionEnumName)
224 serializer.appendFormat("{0}_{1},", self.name, name)
232 serializer.appendFormat("struct {0} ", self.valueTypeName)
238 serializer.appendFormat("{0}32 action;",
280 serializer.appendFormat("{0}:", program.getLabel(self))
287 serializer.appendFormat("{0}8 {1};", program.config.uprefix, hitVarName)
291 serializer.appendFormat("struct {0} {1} = {{}};", self.keyTypeName, keyname)
[all …]
DebpfProgram.py157 serializer.appendFormat("int {0}(struct __sk_buff* {1}) ",
187 serializer.appendFormat("return {0};", self.dropBit)
191 serializer.appendFormat("if (!{0})", self.dropBit)
195 serializer.appendFormat(
206 serializer.appendFormat(
249 serializer.appendFormat("{0},", error)
278 serializer.appendFormat("struct {0} ", self.headersStructTypeName)
296 serializer.appendFormat("struct {0} ", self.metadataStructTypeName)
320 serializer.appendFormat(
329 serializer.appendFormat(".{0} = ", h.name)
[all …]
DebpfCounter.py75 serializer.appendFormat("/* Update counter {0} */", self.name)
82 serializer.appendFormat("{0} *{1};", self.valueTypeName, valueName)
85 serializer.appendFormat("{0} {1};", self.valueTypeName, initValuename)
96 serializer.appendFormat("if ({0} != NULL) ", valueName)
100 serializer.appendFormat("__sync_fetch_and_add({0}, {1});",
109 serializer.appendFormat("{0} = {1};", initValuename, self.increment)
DebpfAction.py30 serializer.appendFormat("/* no arguments for {0} */", self.name)
35 serializer.appendFormat("/* no body for {0} */", self.name)
168 serializer.appendFormat("u32 {0} = {1};", key, index.asString)
212 serializer.appendFormat("{0} = {1};",
224 serializer.appendFormat("memcpy(&{0}, &{1}, {2});",
245 serializer.appendFormat("{0} = {1} {2} {3};",
263 serializer.appendFormat("{0} = {0} {1} {2};",
270 serializer.appendFormat("{0} = 1;", program.dropBit)
296 serializer.appendFormat("{0} = 1;", program.dropBit)
300 serializer.appendFormat("/* no body for {0} */", self.name)
DebpfConditional.py40 serializer.appendFormat(
49 serializer.appendFormat(
93 serializer.appendFormat("{0}:", program.getLabel(self.hlirconditional))
105 serializer.appendFormat("goto {0};", label)
114 serializer.appendFormat("goto {0};", label)
DebpfStructType.py51 serializer.appendFormat("struct {0} ", self.name)
57 serializer.appendFormat("; /* {0} bits */", field.widthInBits())
68 serializer.appendFormat("struct {0} ", self.name)
109 serializer.appendFormat(
123 serializer.appendFormat(".{0} = ", field.name)
DebpfDeparser.py75 serializer.appendFormat("{0} = 0;", program.offsetVariableName)
90 serializer.appendFormat("if ({0}.{1}.valid) ",
155 serializer.appendFormat("{0} += {1};",
DprogramSerializer.py43 def appendFormat(self, format, *args): member in ProgramSerializer
DebpfScalarType.py78 serializer.appendFormat(
DebpfInstance.py61 serializer.appendFormat(
/external/walt/ios/WALT/
DScreenResponseController.m114 [results appendFormat:@"%.3f s\n", delta.doubleValue];
117 [results appendFormat:@"Median: %.3f s\n", [_deltas medianValue].doubleValue];
186 [_logger appendFormat:@"O\t%f\n", delta];
188 [_logger appendFormat:@"X\tbogus delta\t%f\t%f\n", lastFlash, response.t];
DWALTLogger.h24 - (void)appendFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2);
DTapLatencyController.m108 [_logger appendFormat:@"%@\tX\tno shock\n", actionString];
117 [_logger appendFormat:@"%@\tX\tbogus kernelTime\t%f\n", actionString, physicalToKernel];
123 [_logger appendFormat:@"%@\tO\t%f\t%f\t%f\n",
DMenuController.m60 [[WALTLogger sessionLogger] appendFormat:@"SYNC\t%lld\t%lld\n",
144 [[WALTLogger sessionLogger] appendFormat:@"SYNC\t%lld\t%lld\n",
DWALTLogger.m45 - (void)appendFormat:(NSString *)format, ... {
DWALTAppDelegate.m41 [[WALTLogger sessionLogger] appendFormat:@"DEVICE\t%s\t%s\t%s\t%s\t%s\n",
/external/protobuf/objectivec/
DGPBUnknownField.m213 [description appendFormat:@"\t%llu\n", value];
219 [description appendFormat:@"\t%u\n", value];
225 [description appendFormat:@"\t%llu\n", value];
229 [description appendFormat:@"\t%@\n", data];
233 [description appendFormat:@"\t%@\n", set];
DGPBUtilities.m1544 [destStr appendFormat:@"\\%d%d%d",
1547 [destStr appendFormat:@"%C", aChar];
1569 [destStr appendFormat:@"%c", *src];
1574 [destStr appendFormat:@"\\%03o", (uint8_t)(*src)];
1630 [toStr appendFormat:@"%@ }", lineIndent];
1655 [toStr appendFormat:@"%@%@\n", keyLine, keyObj];
1674 [toStr appendFormat:@"%@ }", lineIndent];
1687 [toStr appendFormat:@"%d", enumValue];
1750 [toStr appendFormat:@"%@# %@\n", lineIndent, field.name];
1769 [toStr appendFormat:@"%@%@%s ", lineIndent, fieldName,
[all …]
DGPBArray.m188 //% [result appendFormat:@"##FORMAT##", _values[i]];
190 //% [result appendFormat:@", ##FORMAT##", _values[i]];
193 //% [result appendFormat:@" }"];
399 [result appendFormat:@"%d", _values[i]];
401 [result appendFormat:@", %d", _values[i]];
404 [result appendFormat:@" }"];
647 [result appendFormat:@"%u", _values[i]];
649 [result appendFormat:@", %u", _values[i]];
652 [result appendFormat:@" }"];
895 [result appendFormat:@"%lld", _values[i]];
[all …]
/external/antlr/runtime/ObjC/Framework/
DRecognitionException.m206 [desc appendFormat:@" token:%@", token];
208 [desc appendFormat:@" node:%@", node];
210 [desc appendFormat:@" char:%c", c];
212 [desc appendFormat:@" line:%d position:%d", line, charPositionInLine];
DMismatchedTokenException.m92 [desc appendFormat:@" expected:%d got:%d", expecting, [self unexpectedType]];
94 [desc appendFormat:@" expected:%C got:%c", self.c, (unichar)expectingChar];
DMismatchedRangeException.m51 [desc appendFormat:@" range:%@", NSStringFromRange(range)];
DMismatchedTreeNodeException.m50 [desc appendFormat:@" expected:%d got:%d", expecting, [self unexpectedType]];

12