/third_party/nghttp2/fuzz/ |
H A D | fuzz_target.cc | 42 const uint8_t *data; in send_pending() local 43 auto n = nghttp2_session_mem_send(session, &data); in send_pending() 51 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 73 nghttp2_session_mem_recv(session, data, size); in LLVMFuzzerTestOneInput()
|
/third_party/node/benchmark/cluster/ |
H A D | echo.js | 25 let data; 31 data = 'hello world!'; 34 data = { action: 'pewpewpew', powerLevel: 9001 }; 60 worker.send(data);
|
/third_party/node/benchmark/url/ |
H A D | legacy-url-get-prop.js | 12 const data = common.bakeUrlData(type, e, false, false).map((i) => url.parse(i)); 13 const obj = url.parse(data[0]); 24 const len = data.length; 29 const obj = data[i];
|
H A D | whatwg-url-get-prop.js | 13 const data = common.bakeUrlData(type, e, false, true); 14 const obj = new URL(data[0]); 25 const len = data.length; 28 const obj = data[i];
|
/third_party/node/benchmark/misc/ |
H A D | print.js | 21 node.stdout.on('data', (data) => { 22 stdout += data; 25 node.stderr.on('data', (data) => { 26 stderr += data;
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ulist.h | 21 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 23 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 25 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length); 27 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data);
|
H A D | lstmbe.h | 41 LSTMBreakEngine(const LSTMData* data, const UnicodeSet& set, UErrorCode &status); 73 UScriptCode script, const LSTMData* data, UErrorCode& status); 81 U_CAPI void U_EXPORT2 DeleteLSTMData(const LSTMData* data); 82 U_CAPI const char16_t* U_EXPORT2 LSTMDataName(const LSTMData* data);
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | numrange_impl.h | 48 void format(UFormattedNumberRangeData& data, bool equalBeforeRounding, UErrorCode& status) const; 63 void formatSingleValue(UFormattedNumberRangeData& data, 67 void formatApproximately(UFormattedNumberRangeData& data, 71 void formatRange(UFormattedNumberRangeData& data,
|
/third_party/mesa3d/src/util/ |
H A D | u_idalloc.h | 47 uint32_t *data; member 48 unsigned num_elements; /* number of allocated elements of "data" */ 74 buf->data[id / 32] & BITFIELD_BIT(id % 32); in util_idalloc_exists() 78 for (uint32_t i = 0, mask = (buf)->num_elements ? (buf)->data[0] : 0, id, \ 80 i < count; mask = ++i < count ? (buf)->data[i] : 0) \
|
/third_party/node/deps/v8/src/profiler/ |
H A D | tracing-cpu-profiler.cc | 33 [](v8::Isolate*, void* data) { in OnTraceEnabled() 34 reinterpret_cast<TracingCpuProfilerImpl*>(data)->StartProfiling(); in OnTraceEnabled() 44 [](v8::Isolate*, void* data) { in OnTraceDisabled() 45 reinterpret_cast<TracingCpuProfilerImpl*>(data)->StopProfiling(); in OnTraceDisabled()
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/ |
H A D | tcdrain.c | 34 char data[80]; in tcdrain_0100() local 82 if (read(fd_master, data, sizeof(data)) == -1) { in tcdrain_0100() 85 printf("read '%s' from the tty\n", data); in tcdrain_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | preadv.c | 25 * @tc.desc : Create and open the preadv_function_value.c file, write data to the file, call the preadv function 26 * to read the data in the file from the beginning of the file, close and delete the created file 48 char data[] = "preadv test"; in preadv_0100() local 49 int arraysize = sizeof(data) / sizeof(char); in preadv_0100() 50 int ret = write(fd, data, sizeof(data)); in preadv_0100() 69 * @tc.desc : Pass in the abnormal file descriptor and call the preadv function to read the data(failed)
|
/third_party/node/deps/openssl/openssl/crypto/objects/ |
H A D | obj_lib.c | 38 if (o->length > 0 && (r->data = OPENSSL_memdup(o->data, o->length)) == NULL) in OBJ_dup() 64 return memcmp(a->data, b->data, a->length); in OBJ_cmp()
|
/third_party/pulseaudio/src/tests/ |
H A D | parec-simple.c | 33 static ssize_t loop_write(int fd, const void*data, size_t size) { in loop_write() 39 if ((r = write(fd, data, size)) < 0) in loop_write() 46 data = (const uint8_t*) data + r; in loop_write() 73 /* Record some data ... */ in main()
|
/third_party/openssl/crypto/objects/ |
H A D | obj_lib.c | 38 if (o->length > 0 && (r->data = OPENSSL_memdup(o->data, o->length)) == NULL) in OBJ_dup() 64 return memcmp(a->data, b->data, a->length); in OBJ_cmp()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | section_parser.h | 38 /// the [test], [indices], [vertex data], etc. 55 Result Parse(const std::string& data); 58 Result SplitSectionsForTesting(const std::string& data) { in SplitSectionsForTesting() argument 59 return SplitSections(data); in SplitSectionsForTesting() 70 Result SplitSections(const std::string& data);
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A D | ImmutableString_test.cpp | 43 EXPECT_EQ(std::string("ffffffff"), str.data()); in TEST_F() 53 EXPECT_EQ(std::string("1234beef"), str.data()); in TEST_F() 63 EXPECT_EQ(std::string("ffffffffffffffff"), str.data()); in TEST_F() 73 EXPECT_EQ(std::string("feedcafe9876beef"), str.data()); in TEST_F()
|
/third_party/skia/src/gpu/ops/ |
H A D | SmallPathShapeData.h | 40 const uint32_t* data() const { return fKey.get(); } in data() function in skgpu::v1::SmallPathShapeDataKey 59 static inline const SmallPathShapeDataKey& GetKey(const SmallPathShapeData& data) { in GetKey() argument 60 return data.fKey; in GetKey() 64 return SkOpts::hash(key.data(), sizeof(uint32_t) * key.count32()); in Hash()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | numrange_impl.h | 48 void format(UFormattedNumberRangeData& data, bool equalBeforeRounding, UErrorCode& status) const; 63 void formatSingleValue(UFormattedNumberRangeData& data, 67 void formatApproximately(UFormattedNumberRangeData& data, 71 void formatRange(UFormattedNumberRangeData& data,
|
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/tests/ |
H A D | TypeTests.h | 47 auto data = std::array<int, 5> {1, 2, 3, 4, 5}; in TEST() local 49 fe(data.begin(), data.end()); in TEST() 50 EXPECT_EQ(data[0], 2); in TEST()
|
/third_party/skia/src/sksl/ |
H A D | SkSLStringStream.h | 75 sk_sp<SkData> data = fStream.detachAsData(); in str() local 76 fString = String((const char*) data->data(), data->size()); in str()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | composite_bitmap_glyph.h | 53 Builder(WritableFontData* data, int32_t format); 54 Builder(ReadableFontData* data, int32_t format); 57 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data); 60 CompositeBitmapGlyph(ReadableFontData* data, int32_t format);
|
H A D | small_glyph_metrics.h | 44 explicit Builder(WritableFontData* data); 45 explicit Builder(ReadableFontData* data); 59 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data); 66 explicit SmallGlyphMetrics(ReadableFontData* data);
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | manager.cc | 35 Output Manager::Run(const Program* program, const DataMap& data) { in Run() argument 57 auto res = transform->Run(program, data); in Run() 59 out.data.Add(std::move(res.data)); in Run()
|
/third_party/skia/tools/ |
H A D | UrlDataManager.h | 20 * A simple class which allows clients to add opaque data types, and returns a url where this data 21 * will be hosted. Its up to the owner of this class to actually serve the data. 31 * Adds a data blob to the cache with a particular content type. UrlDataManager will hash 32 * the blob data to ensure uniqueness 73 // We use the data as a hash, this is not really optimal but is fine until proven otherwise 74 static const SkData& GetKey(const UrlData& data) { in GetKey() 75 return *data.fData; in GetKey() 84 static const SkString& GetKey(const UrlData& data) { in GetKey() 85 return data in GetKey() [all...] |