/external/libcups/cups/ |
http-addr.c | 566 const char *prefix; /* Prefix for address */ local 569 prefix = ""; 574 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); 575 prefix = ":"; 582 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp); 594 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s:", prefix); 595 prefix = ":"; 605 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); 609 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp & 0xffff) [all...] |
/external/libnl/src/ |
nl-addr-list.c | 23 " --prefix=STRING Prefix each printed line.\n" 42 static char *prefix; variable 46 if (prefix) 47 nl_dump(p, "%s", prefix); 149 { "prefix", 1, 0, ARG_PREFIX }, 174 case ARG_PREFIX: prefix = strdup(optarg); break;
|
/external/libxkbcommon/xkbcommon/src/ |
context.c | 194 const char *prefix = log_level_to_prefix(level); local 196 if (prefix) 197 fprintf(stderr, "%s", prefix);
|
/external/linux-kselftest/tools/testing/selftests/gpio/ |
gpio-mockup-chardev.c | 265 * gpio_chip_name_prefix: The prefix of gpiochip you want to test. E.g. 273 char *prefix; local 281 printf("Usage: %s prefix is_valid", argv[0]); 285 prefix = argv[1]; 288 printf("Test gpiochip %s: ", prefix); 289 cinfo = list_gpiochip(prefix, &ret); 315 fprintf(stderr, "gpio<%s> test failed\n", prefix);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
trace.c | 168 static void trace_print_header(int seq, int prefix) 170 printf("%*s[%d]: ", prefix, "", seq); 235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) 239 trace_print_header(seq, *prefix); 243 trace_print_header(seq, *prefix); 247 trace_print_header(seq, *prefix); 251 trace_print_header(seq, *prefix); 253 *prefix += PREFIX_DELTA; 256 *prefix -= PREFIX_DELTA; 257 if (*prefix < BASE_PREFIX 272 int i, prefix; local [all...] |
/external/ltp/testcases/lib/ |
tst_net_iface_prefix.c | 30 static int prefix; variable 35 "%s IP_LHOST[/PREFIX]\n" 36 "%s -r IP_RHOST[/PREFIX]\n" 38 "Set prefix and interface name for given IP.\n" 39 "Prefix and interface are found from kernel exported info (rtnetlink).\n\n" 42 "IPV4_LPREFIX: IPv4 prefix for IPV4_LNETWORK\n" 43 "IPV4_RPREFIX: IPv4 prefix for IPV4_RNETWORK\n" 44 "IPV6_LPREFIX: IPv6 prefix for IPV6_LNETWORK\n" 45 "IPV6_RPREFIX: IPv6 prefix for IPV6_RNETWORK\n" 100 prefix = retaddr->ifa_prefixlen [all...] |
/external/pdfium/core/fxcrt/ |
fx_string.cpp | 40 static uint8_t prefix[] = {0xc0, 0xe0, 0xf0, 0xf8, 0xfc}; local 43 m_Buffer.push_back(prefix[nbytes - 2] | (code / order));
|
/external/perfetto/src/tracing/core/ |
trace_buffer_unittest.cc | 573 char prefix = 'b' + static_cast<char>(i); local 574 expected_fragments.emplace_back(20 + i, prefix); 576 .AddPacket(20 + i, prefix, kContFromPrevChunk | kContOnNextChunk) 600 char prefix = static_cast<char>('c' + chunk_id); local 601 expected_fragments.emplace_back(10 + chunk_id, prefix); 603 .AddPacket(10 + chunk_id, prefix, kContOnNextChunk) [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 231 const char *prefix,*here; local 233 prefix = addr+cc_len(addr[0]-48,addr[1]-48); 235 while (here > prefix) {
|
/external/protobuf/src/google/protobuf/testing/ |
googletest.cc | 78 string prefix = "."; local 80 while (!File::Exists(prefix + "/src/google/protobuf")) { 81 if (!File::Exists(prefix)) { 86 prefix += "/.."; 88 return prefix + "/src";
|
/external/python/cpython2/PC/os2emx/ |
getpathp.c | 82 static char prefix[MAXPATHLEN+1]; variable 126 /* Check for the compiled version of prefix. */ 166 * 'prefix' is null terminated in bounds. join() ensures 167 * 'landmark' can not overflow prefix if too long. 174 n = strlen(prefix); 175 join(prefix, landmark); 176 ok = ismodule(prefix); 177 prefix[n] = '\0'; 188 strcpy(prefix, argv0_path); 192 reduce(prefix); [all...] |
/external/python/cpython3/Include/ |
pyhash.h | 59 Py_hash_t prefix; member in struct:__anon33175::__anon33176
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/ |
StreamReader.java | 157 public String prefix(int length) { method in class:StreamReader 168 * prefix(length) immediately followed by forward(length) 171 final String prefix = prefix(length); local 174 // prefix never contains new line characters 176 return prefix;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
PrefixConstructorTest.java | 29 * Example to process a family of tags with the same prefix with one constructor 60 String prefix = "!org.yaml."; local 61 this.yamlMultiConstructors.put(prefix, new PrefixConstruct(prefix, 73 private String prefix; field in class:PrefixConstructorTest.PrefixConstruct 76 public PrefixConstruct(String prefix, BaseConstructor con) { 77 this.prefix = prefix; 82 String suffix = node.getTag().getValue().substring(prefix.length());
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/ |
PerlTest.java | 64 String prefix = "!de.oddb.org,2007/ODDB"; local 65 this.yamlMultiConstructors.put(prefix, new ConstructYamlMap()); 109 String prefix = "!de.oddb.org,2007/ODDB"; local 110 this.yamlMultiConstructors.put(prefix, new ConstructYamlMap());
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresentTest.java | 41 private String prefix; field in class:RepresentTest.CustomBean 44 public CustomBean(String prefix, int suffix) { 45 this.prefix = prefix; 50 return prefix; 60 return prefix.equals(bean.getPrefix()) && suffix == bean.getSuffix(); 80 this.yamlConstructors.put(new Tag(Tag.PREFIX + "Dice"), new ConstructDice());
|
/external/squashfs-tools/squashfs-tools/ |
xattr.h | 61 struct prefix { struct 62 char *prefix; member in struct:prefix
|
/external/syslinux/gpxe/src/net/ |
ipv6.c | 33 /* Destination prefix */ 34 struct in6_addr prefix; member in struct:ipv6_miniroute 35 /* Prefix length */ 50 * @v prefix Destination prefix 56 add_ipv6_miniroute ( struct net_device *netdev, struct in6_addr prefix, 65 miniroute->prefix = prefix; 96 * @v prefix Destination prefix [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ElementType.java | 64 name if there is no prefix, or use the schema default instead. 74 String prefix = name.substring(0, colon); local 75 if (prefix.equals("xml")) { 79 return ("urn:x-prefix:" + prefix).intern();
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
auto_parallel.cc | 205 string prefix = strings::StrCat(kAutoParallelPrefix, "-Replica-", 0); local 211 string new_name = AddPrefixToNodeName(new_node->input(i), prefix); 219 string prefix = strings::StrCat(kAutoParallelPrefix, "-Replica-", number); local 224 new_node->set_name(AddPrefixToNodeName(new_node->name(), prefix)); 230 string new_name = AddPrefixToNodeName(new_node->input(i), prefix); 246 string prefix = strings::StrCat(kAutoParallelPrefix, "-Replica-", j); local 247 string fetch = AddPrefixToNodeName(item_->fetch[i], prefix);
|
/external/tensorflow/tensorflow/core/kernels/ |
save_restore_v2_ops.cc | 42 const Tensor& prefix, const Tensor& tensor_names, 44 const int kFixedInputs = 3; // Prefix, tensor names, shape_and_slices. 47 context, prefix.NumElements() == 1, 48 errors::InvalidArgument("Input prefix should have a single element, got ", 49 prefix.NumElements(), " instead.")); 96 const Tensor& prefix = context->input(0); variable 99 ValidateInputs(true /* is save op */, context, prefix, tensor_names, 102 const int kFixedInputs = 3; // Prefix, tensor names, shape_and_slices. 104 const string& prefix_string = prefix.scalar<string>()(); 150 const Tensor& prefix = context->input(0) variable [all...] |
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_stats.cc | 150 string prefix = MaybeReportMissingTrace(); local 151 prefix += QueryDoc(cmd, opts) + kProfilePrefix; 154 return scope_view_->Show(prefix, opts); 160 graph_view_->Show(prefix, nopts); 164 return graph_view_->Show(prefix, opts); 176 string prefix = MaybeReportMissingTrace(); local 177 prefix += QueryDoc(cmd, opts) + kProfilePrefix; 184 return code_view_->Show(prefix, opts); 186 return op_view_->Show(prefix, opts);
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
Logger.java | 45 * Creates a Logger using the class name as the message prefix. 47 * @param clazz the simple name of this class is used as the message prefix. 54 * Creates a Logger using the specified message prefix. 63 * Creates a Logger with a custom tag and a custom message prefix. If the message prefix 64 * is set to <pre>null</pre>, the caller's class name is used as the prefix. 72 final String prefix = messagePrefix == null ? getCallerSimpleName() : messagePrefix; local 73 this.messagePrefix = (prefix.length() > 0) ? prefix + ": " : prefix; [all...] |
/external/tensorflow/tensorflow/tools/graph_transforms/ |
insert_logging.cc | 47 if (context.params.count("prefix")) { 49 for (const string& prefix : context.params.at("prefix")) { 50 prefixes.insert(prefix); 77 string prefix; local 80 NodeNamePartsFromInput(canonical_input, &prefix, &name, &suffix); 103 for (const string& prefix : prefixes) { 104 if (StringPiece(node.name()).starts_with(prefix)) { 109 // looking for prefixes or we found the right prefix, then add logging here.
|
/external/valgrind/VEX/priv/ |
s390_disasm.c | 141 construct_mnemonic(const HChar *prefix, const HChar *suffix, UInt mask) 156 vassert(vex_strlen(prefix) + vex_strlen(suffix) + 159 /* strcpy(buf, prefix); */ 160 for (from = prefix, to = buf; *from; ++from, ++to) { 225 const HChar *prefix; local 228 case S390_XMNM_LOCR: prefix = "locr"; break; 229 case S390_XMNM_LOCGR: prefix = "locgr"; break; 230 case S390_XMNM_LOC: prefix = "loc"; break; 231 case S390_XMNM_LOCG: prefix = "locg"; break; 232 case S390_XMNM_STOC: prefix = "stoc"; break [all...] |