/external/ipsec-tools/src/racoon/ |
vendorid.h | 96 const char *string; member in struct:vendor_id
|
/external/kernel-headers/original/uapi/linux/ |
virtio_input.h | 63 char string[128]; member in union:virtio_input_config::__anon26200
|
/external/libcap/progs/ |
capsh.c | 13 #include <string.h> 34 static char string[8*sizeof(unsigned long) + 1]; local 37 i = sizeof(string); 38 string[--i] = '\0'; 40 string[--i] = (value & 1) ? '1' : '0'; 43 return string + i; 522 b = binary(set); /* use verilog convention for binary string */ 570 " --decode=xxx decode a hex string to a list of caps\n"
|
/external/libdrm/radeon/ |
bof.c | 28 #include <string.h> 175 * string 179 bof_t *string = bof_object(); local 181 if (string == NULL) 183 string->type = BOF_TYPE_STRING; 184 string->size = strlen(value) + 1; 185 string->value = calloc(1, string->size); 186 if (string->value == NULL) { 187 bof_decref(string); [all...] |
/external/libexif/libexif/olympus/ |
mnote-olympus-entry.c | 26 #include <string.h> 87 const char *string; member in struct:__anon28212::__anon28213 444 for (j = 0; items[i].elem[j].string && 450 strncpy (v, _(items[i].elem[j].string), maxlen); 514 for (j = 0; items[i].elem[j].string && 520 strncpy (v, _(items[i].elem[j].string), maxlen);
|
/external/libnl/python/netlink/ |
util.py | 15 from string import Formatter 57 def string(t): function 86 raise ValueError('Invalid formatting string {0}'.format(key))
|
/external/libxml2/os400/ |
xmlcatlgcl.c | 11 #include <string.h> 15 /* Variable-length string, with 16-bit length. */ 18 char string[5000]; member in struct:__anon30457 22 /* Variable-length string, with 32-bit length. */ 25 char string[5000]; member in struct:__anon30458 85 if (len > sizeof(dst->string) - dst->len) 86 len = sizeof(dst->string) - dst->len; 89 memcpy(dst->string + dst->len, src, len); 117 vary4nappend(dst, arg->string, arg->len); 128 if (arg->string[i] == '\'' [all...] |
xmllintcl.c | 11 #include <string.h> 15 /* Variable-length string, with 16-bit length. */ 18 char string[5000]; member in struct:__anon30462 22 /* Variable-length string, with 32-bit length. */ 25 char string[5000]; member in struct:__anon30463 69 if (len > sizeof(dst->string) - dst->len) 70 len = sizeof(dst->string) - dst->len; 73 memcpy(dst->string + dst->len, src, len); 101 vary4nappend(dst, arg->string, arg->len); 112 if (arg->string[i] == '\'' [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_const.c | 442 * Build a zero-terminated constant string. 450 LLVMValueRef string = LLVMAddGlobal(gallivm->module, LLVMArrayType(i8, len), ""); local 451 LLVMSetGlobalConstant(string, TRUE); 452 LLVMSetLinkage(string, LLVMInternalLinkage); 453 LLVMSetInitializer(string, LLVMConstStringInContext(gallivm->context, str, len, TRUE)); 454 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); 455 return string;
|
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
TestCorsHttpServer.java | 71 String[] args = { 112 String string = new String(readContents(entity), "UTF-8"); local 116 Assert.assertEquals("<html>\n<head>\n<title>dummy</title>\n</head>\n<body>\n\t<h1>it works</h1>\n</body>\n</html>", string); 139 final String expectedValue = "origin";
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
ResourceRemapperTest.java | 28 assertThat(ApplicationRClass.string.string_one).isEqualTo(SecondClass.string.string_one); 29 assertThat(ApplicationRClass.string.string_one).isEqualTo(ThirdClass.string.string_one); 48 assertThat(allIds.add(ApplicationRClass.string.string_one)).isTrue(); 49 assertThat(allIds.add(ApplicationRClass.string.string_two)).isTrue(); 52 assertThat(allIds.add(SecondClass.string.string_one)).isFalse(); 53 assertThat(allIds.add(SecondClass.string.string_three)).isTrue(); 57 assertThat(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_one)).isEqualTo(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_two)) 65 public static final class string { class in class:ResourceRemapperTest.FinalRClass 72 public static final class string { class in class:ResourceRemapperTest.ApplicationRClass 99 public static final class string { class in class:ResourceRemapperTest.SecondClass 126 public static final class string { class in class:ResourceRemapperTest.ThirdClass [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowBinderTest.java | 43 String string = data.readString(); local 45 reply.writeString(string);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithNullValues.java | 22 private String string; field in class:JavaBeanWithNullValues 35 public String getString() { 36 return string; 39 public void setString(String string) { 40 this.string = string;
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
val_cfg_test.cpp | 21 #include <string> 43 std::string nameOps() { return ""; } 46 std::string nameOps(std::pair<std::string, std::string> head, Args... names) { 52 std::string nameOps(std::string head, Args... names) { 59 std::string label_; 60 std::string body_; 69 explicit Block(std::string label, SpvOp type = SpvOpBranch [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
FormatVariadic.h | 1 //===- FormatVariadic.h - Efficient type-safe string formatting --*- C++-*-===// 13 // a raw_ostream or converted to a std::string or llvm::SmallString. 15 // // Convert to std::string. 16 // std::string S = formatv("{0} {1}", 1234.412, "test").str(); 38 #include <string> 129 std::string str() const { 130 std::string Result; 146 operator std::string() const { return str(); } 171 // Format text given a format string and replacement parameters. 175 // Formats textual output. `Fmt` is a string consisting of one or mor [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/UpdateTestChecks/ |
asm.py | 7 class string: class in inherits: 10 import string 105 asm = string.expandtabs(asm, 2) 132 asm = string.expandtabs(asm, 2) 142 asm = string.expandtabs(asm, 2) 154 asm = string.expandtabs(asm, 2) 166 asm = string.expandtabs(asm, 2) 176 asm = string.expandtabs(asm, 2) 186 asm = string.expandtabs(asm, 2) 196 asm = string.expandtabs(asm, 2 [all...] |
common.py | 3 import string 9 class string: class in inherits: 12 import string 79 body = string.expandtabs(body, 2) 93 def __init__(self, string, extra): 94 self.scrub = string 138 # spaces, commas, paren, or end of the string 181 # An IR variable named '%.' matches the FileCheck regex string. 260 # Label format is based on IR string.
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
FormatVariadic.h | 1 //===- FormatVariadic.h - Efficient type-safe string formatting --*- C++-*-===// 13 // a raw_ostream or converted to a std::string or llvm::SmallString. 15 // // Convert to std::string. 16 // std::string S = formatv("{0} {1}", 1234.412, "test").str(); 38 #include <string> 120 std::string str() const { 121 std::string Result; 137 operator std::string() const { return str(); } 154 // \brief Format text given a format string and replacement parameters. 158 // Formats textual output. `Fmt` is a string consisting of one or mor [all...] |
/external/testng/src/main/java/org/testng/xml/ |
ResultContentHandler.java | 39 private String m_className; 48 private List<String> m_params = null; 57 public void startElement (String uri, String localName, 58 String qName, Attributes attributes) { 80 new String[0], /* no parameters, filled later */ 97 String string = new String(ch, start, length); local 98 String parameter = string [all...] |
/external/tinyalsa/ |
tinymix.c | 34 #include <string.h> 166 const char *string; local 172 string = mixer_ctl_get_enum_string(ctl, i); 174 control_value == (int)i ? ">" : "", string, 179 string = mixer_ctl_get_enum_string(ctl, control_value); 180 printf("%s", string);
|
/external/u-boot/lib/efi_selftest/ |
efi_selftest_devicepath.c | 275 u16 *string; local 299 string = device_path_to_text->convert_device_path_to_text( 301 if (!string) { 305 efi_st_printf("%ps\n", string); 306 ret = boottime->free_pool(string); 323 string = device_path_to_text->convert_device_path_to_text( 325 if (!string) { 330 string, 333 efi_st_printf("dp2: %ps\n", string); 337 ret = boottime->free_pool(string); [all...] |
/external/v8/src/builtins/ |
builtins-intl-gen.cc | 36 Node* const string = Parameter(Descriptor::kString); local 39 CSA_ASSERT(this, IsString(string)); 44 TNode<Smi> const length = LoadStringLengthAsSmi(string); 48 // flat string. 50 state(), string, ToDirectStringAssembler::kDontUnpackSlicedStrings); local 96 // Return the original string if it remained unchanged in order to preserve 98 // hash) on the source string. 105 // Object* ConvertOneByteToLower(String* src, String* dst, Isolate* isolate); 108 Node* const src = to_direct.string(); 140 Node* const string = local [all...] |
/external/vogar/src/vogar/ |
Md5Cache.java | 31 private final String keyPrefix; 38 public Md5Cache(Log log, String keyPrefix, FileCache fileCache) { 44 public boolean getFromCache(File output, String key) { 55 private static String md5(File file) { 77 * Returns an ASCII hex representation of the MD5 of 'string'. 79 private static String md5(String string) { 83 digester.update(string.getBytes(Charsets.UTF_8)); 86 throw new RuntimeException("Unable to compute MD5 of \"" + string + "\"", cause) [all...] |
/external/webrtc/webrtc/base/ |
stringutils.h | 17 #include <string.h> 33 #include <string> 38 // Generic string/memory utilities 57 // Rename a bunch of common string functions so they are consistent across 122 // Traits simplifies porting string functions to be CTYPE-agnostic 131 // STL string type 132 //typedef XXX string; 133 // Null-terminated string 138 // String utilities which work with char or wchar_t 282 typedef std::string string typedef in struct:rtc::Traits 294 typedef std::wstring string; typedef in struct:rtc::Traits [all...] |
/art/cmdline/ |
cmdline_types.h | 31 #include <string> 46 // The default specialization will always fail parsing the type from a string. 59 Result Parse(const std::string& args) { 73 Result Parse(const std::string& option) { 89 return Result::Failure(std::string("not a valid jdwp provider: ") + option); 99 Result Parse(const std::string& arg) { 105 return Result::Failure(std::string("not a valid memory value, or not divisible by ") 112 // Parse a string of the form /[0-9]+[kKmMgG]?/, which is used to specify 116 // "s" should point just past the "-Xm?" part of the string. 128 // so make sure our string starts with a decimal digit [all...] |