Projectname large_stringclasses 15
values | Filepath large_stringlengths 4 106 ⌀ | Function large_stringlengths 11 3.45k | Label list |
|---|---|---|---|
Chromium | third_party/afl/src/experimental/persistent_demo/persistent_demo.c | int main(int argc, char **argv) {
char buf[100];
/* The number passed to __AFL_LOOP() controls the maximum number of
iterations before the loop exits and the program is allowed to
terminate normally. This limits the impact of accidental memory leaks
and similar hiccups. */
while (__AFL_LOOP(1000... | [
1,
0
] |
Chromium | third_party/afl/src/libdislocator/libdislocator.so.c | void *malloc(size_t len) {
void *ret;
ret = __dislocator_alloc(len);
DEBUGF("malloc(%zu) = %p [%zu total]", len, ret, total_mem);
if (ret && len)
memset(ret, ALLOC_CLOBBER, len);
return ret;
} | [
1,
0
] |
Chromium | third_party/afl/src/libdislocator/libdislocator.so.c |
void __dislocator_init(void) {
u8 *tmp = getenv("AFL_LD_LIMIT_MB");
if (tmp) {
max_mem = atoi(tmp) * 1024 * 1024;
if (!max_mem)
FATAL("Bad value for AFL_LD_LIMIT_MB");
}
alloc_verbose = !!getenv("AFL_LD_VERBOSE");
hard_fail = !!getenv("AFL_LD_HARD_FAIL");
no_calloc_over = !!getenv("AFL_L... | [
0,
0
] |
Chromium | third_party/afl/src/libtokencap/libtokencap.so.c | static u8 __tokencap_is_ro(const void *ptr) {
u32 i;
if (!__tokencap_ro_loaded)
__tokencap_load_mappings();
for (i = 0; i < __tokencap_ro_cnt; i++)
if (ptr >= __tokencap_ro[i].st && ptr <= __tokencap_ro[i].en)
return 1;
return 0;
} | [
1,
0
] |
Chromium | third_party/afl/src/libtokencap/libtokencap.so.c | static void __tokencap_dump(const u8 *ptr, size_t len, u8 is_text) {
u8 buf[MAX_AUTO_EXTRA * 4 + 1];
u32 i;
u32 pos = 0;
if (len < MIN_AUTO_EXTRA || len > MAX_AUTO_EXTRA || !__tokencap_out_file)
return;
for (i = 0; i < len; i++) {
if (is_text && !ptr[i])
break;
switch (ptr[i]) {
ca... | [
1,
0
] |
Chromium | third_party/afl/src/libtokencap/libtokencap.so.c |
int strncasecmp(const char *str1, const char *str2, size_t len) {
if (__tokencap_is_ro(str1))
__tokencap_dump(str1, len, 1);
if (__tokencap_is_ro(str2))
__tokencap_dump(str2, len, 1);
while (len--) {
unsigned char c1 = tolower(*str1), c2 = tolower(*str2);
if (!c1)
return 0;
if (c1 !... | [
1,
0
] |
Chromium | third_party/afl/src/libtokencap/libtokencap.so.c |
char *strcasestr(const char *haystack, const char *needle) {
if (__tokencap_is_ro(haystack))
__tokencap_dump(haystack, strlen(haystack), 1);
if (__tokencap_is_ro(needle))
__tokencap_dump(needle, strlen(needle), 1);
do {
const char *n = needle;
const char *h = haystack;
while (*n && *h &&... | [
0,
0
] |
Chromium | third_party/afl/src/llvm_mode/afl-llvm-rt.o.c | static void __afl_map_shm(void) {
u8 *id_str = getenv(SHM_ENV_VAR);
/* If we're running under AFL, attach to the appropriate region, replacing the
early-stage __afl_area_initial region that is needed to allow some really
hacky .init code to work correctly in projects such as OpenSSL. */
if (id_str) {... | [
0,
1
] |
Chromium | third_party/afl/src/llvm_mode/afl-llvm-rt.o.c | void __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop) {
u32 inst_ratio = 100;
u8 *x;
if (start == stop || *start)
return;
x = getenv("AFL_INST_RATIO");
if (x)
inst_ratio = atoi(x);
if (!inst_ratio || inst_ratio > 100) {
fprintf(stderr, "[-] ERROR: Invalid AFL_INST_RATIO (... | [
1,
0
] |
Chromium | third_party/afl/src/qemu_mode/patches/afl-qemu-cpu-inl.h | **************************/ /* Set up SHM region and initialize other stuff. */
static void afl_setup(void) {
char *id_str = getenv(SHM_ENV_VAR), *inst_r = getenv("AFL_INST_RATIO");
int shm_id;
if (inst_r) {
unsigned int r;
r = atoi(inst_r);
if (r > 100)
r = 100;
if (!r)
r = ... | [
0,
0
] |
Chromium | third_party/afl/src/test-instr.c |
int main(int argc, char **argv) {
char buf[8];
if (read(0, buf, 8) < 1) {
printf("Hum?\n");
exit(1);
}
if (buf[0] == '0')
printf("Looks like a zero to me!\n");
else
printf("A non-zero value? How quaint!\n");
exit(0);
} | [
1,
0
] |
Chromium | third_party/android_crazy_linker/src/tests/test_util.h | inline void CheckRelroMaps(int expected_count) {
printf("Checking for %d RELROs in /proc/self/maps\n", expected_count);
FILE *file = fopen("/proc/self/maps", "rb");
if (!file)
Panic("Could not open /proc/self/maps (pid %d): %s\n", getpid(),
strerror(errno));
char line[512];
int count_relros = ... | [
1,
0
] |
Chromium | third_party/ashmem/ashmem-dev.c |
static int ashmem_dev_get_prot_region(int fd) {
return ioctl(fd, ASHMEM_GET_PROT_MASK);
} | [
0,
0
] |
Chromium | third_party/ashmem/ashmem-dev.c |
static const ASharedMemoryFuncs *ashmem_get_funcs() {
pthread_once(&s_ashmem_funcs_once, ashmem_init_funcs);
return &s_ashmem_funcs;
} | [
0,
0
] |
Chromium | third_party/blink/public/platform/web_vector.h |
template <typename U> void Assign(const U *values, size_t size) {
data_.assign(values, values + size);
} | [
0,
0
] |
Chromium | third_party/blink/public/platform/web_vector.h | void resize(size_t new_size) {
DCHECK_LE(new_size, data_.capacity());
data_.resize(new_size);
} | [
0,
0
] |
Chromium | third_party/blink/public/platform/web_vector.h | void reserve(size_t new_capacity) { data_.reserve(new_capacity); } | [
0,
0
] |
Chromium | third_party/blink/public/platform/web_vector.h | T &back() { return data_.back(); } | [
0,
0
] |
Chromium | third_party/blink/public/platform/web_vector.h |
void EraseAt(size_t index) { data_.erase(begin() + index); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/animation/keyframe_effect_model.h |
inline StringKeyframeEffectModel *
ToStringKeyframeEffectModel(EffectModel *base) {
return To<StringKeyframeEffectModel>(To<KeyframeEffectModelBase>(base));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/animation/keyframe_effect_model.h |
inline TransitionKeyframeEffectModel *
ToTransitionKeyframeEffectModel(EffectModel *base) {
return To<TransitionKeyframeEffectModel>(To<KeyframeEffectModelBase>(base));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/element.h | void SetShouldForceLegacyLayoutForChild(bool force) {
if (!force && !HasRareData())
return;
SetShouldForceLegacyLayoutForChildInternal(force);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/element.h | template <> inline bool IsElementOfType<const Element>(const Node &node) {
return node.IsElementNode();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/element.h | template <typename T> inline bool IsElementOfType(const Element &element) {
return IsElementOfType<T>(static_cast<const Node &>(element));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/element.h |
inline bool IsDisabledFormControl(const Node *node) {
auto *element = DynamicTo<Element>(node);
return element && element->IsDisabledFormControl();
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/dom/element.h |
inline bool IsShadowHost(const Element &element) {
return element.GetShadowRoot();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/node.h | void SetChildNeedsReattachLayoutTree() {
SetFlag(kChildNeedsReattachLayoutTree);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/node.h | virtual void DidNotifySubtreeInsertionsToDocument() {} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/dom/weak_identifier_map.h |
void ObjectDestroyed(T *object) {
IdentifierType identifier = object_to_identifier_.Take(object);
if (!WTF::IsHashTraitsEmptyValue<HashTraits<IdentifierType>>(identifier))
identifier_to_object_.erase(identifier);
DCHECK_EQ(object_to_identifier_.size(), identifier_to_object_.size());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/editing/position.h |
template <>
inline PositionInFlatTree
FromPositionInDOMTree<EditingInFlatTreeStrategy>(const Position &position) {
return ToPositionInFlatTree(position);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/html/html_slot_element.h |
inline HTMLSlotElement *
ToHTMLSlotElementIfSupportsAssignmentOrNull(Node *node) {
return const_cast<HTMLSlotElement *>(
ToHTMLSlotElementIfSupportsAssignmentOrNull(
static_cast<const Node *>(node)));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/html/track/track_list_base.h |
void ScheduleChangeEvent() {
ScheduleEvent(Event::Create(event_type_names::kChange));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/api/line_layout_item.h | PositionWithAffinity PositionForPoint(const PhysicalOffset &point) {
return layout_object_->PositionForPoint(point);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/api/line_layout_item.h |
PositionWithAffinity CreatePositionWithAffinity(int offset,
TextAffinity affinity) {
return layout_object_->CreatePositionWithAffinity(offset, affinity);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/api/line_layout_svg_inline_text.h | void Reset(LineLayoutSVGInlineText text_line_layout) {
text_line_layout_ = text_line_layout;
character_offset_ = 0;
metrics_list_offset_ = 0;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h | void SetLogicalLocation(const LayoutPoint &location) {
NOT_DESTROYED();
if (StyleRef().IsHorizontalWritingMode())
SetLocation(location);
else
SetLocation(location.TransposedPoint());
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h | void SetLogicalWidth(LayoutUnit size) {
NOT_DESTROYED();
if (StyleRef().IsHorizontalWritingMode())
SetWidth(size);
else
SetHeight(size);
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h |
void SetLocation(const LayoutPoint &location) {
NOT_DESTROYED();
if (location == frame_rect_.Location())
return;
frame_rect_.SetLocation(location);
LocationChanged();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h |
void SetBoxLayoutExtraInput(const BoxLayoutExtraInput *input) {
NOT_DESTROYED();
extra_input_ = input;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h |
LayoutBoxRareData &EnsureRareData() {
NOT_DESTROYED();
if (!rare_data_)
rare_data_ = MakeGarbageCollected<LayoutBoxRareData>();
return *rare_data_.Get();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_box.h | LogicalToPhysicalSetter<LayoutUnit, LayoutBox>
LogicalMarginToPhysicalSetter(const ComputedStyle *override_style) {
NOT_DESTROYED();
const auto &style = override_style ? *override_style : StyleRef();
return LogicalToPhysicalSetter<LayoutUnit, LayoutBox>(
style.GetWritingDirection(), *this, &LayoutBox::SetMa... | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetPreviousSibling(LayoutObject *previous) {
NOT_DESTROYED();
previous_ = previous;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetIntrinsicLogicalWidthsDependsOnPercentageBlockSize(bool b) {
NOT_DESTROYED();
bitfields_.SetIntrinsicLogicalWidthsDependsOnPercentageBlockSize(b);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void ClearSelfNeedsLayoutOverflowRecalc() {
NOT_DESTROYED();
bitfields_.SetSelfNeedsLayoutOverflowRecalc(false);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetNeedsLayoutAndIntrinsicWidthsRecalcAndFullPaintInvalidation(
LayoutInvalidationReasonForTracing reason) {
NOT_DESTROYED();
SetNeedsLayoutAndFullPaintInvalidation(reason);
SetIntrinsicLogicalWidthsDirty();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetInline(bool is_inline) {
NOT_DESTROYED();
bitfields_.SetIsInline(is_inline);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | virtual void SetFirstInlineFragment(NGPaintFragment *) { NOT_DESTROYED(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetForceLegacyLayout() {
NOT_DESTROYED();
bitfields_.SetForceLegacyLayout(true);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetHasReflection(bool has_reflection) {
NOT_DESTROYED();
bitfields_.SetHasReflection(has_reflection);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetIsEffectiveRootScroller(bool is_effective_root_scroller) {
NOT_DESTROYED();
bitfields_.SetIsEffectiveRootScroller(is_effective_root_scroller);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetIsHTMLLegendElement() {
NOT_DESTROYED();
bitfields_.SetIsHTMLLegendElement(true);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | virtual void UpdateFromElement() { NOT_DESTROYED(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h |
void SetSelfNeedsLayoutForAvailableSpace(bool flag) {
NOT_DESTROYED();
bitfields_.SetSelfNeedsLayoutForAvailableSpace(flag);
if (flag)
MarkSelfPaintingLayerForVisualOverflowRecalc();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h |
void AddSubtreePaintPropertyUpdateReason(
SubtreePaintPropertyUpdateReason reason) {
NOT_DESTROYED();
bitfields_.AddSubtreePaintPropertyUpdateReason(reason);
SetNeedsPaintPropertyUpdate();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetBackgroundNeedsFullPaintInvalidation() {
NOT_DESTROYED();
SetShouldDoFullPaintInvalidationWithoutGeometryChange(
PaintInvalidationReason::kBackground);
bitfields_.SetBackgroundNeedsFullPaintInvalidation(true);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h |
void SetTransformAffectsVectorEffect(bool b) {
NOT_DESTROYED();
DCHECK(IsSVGChild());
bitfields_.SetTransformAffectsVectorEffect(b);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_object.h | void SetNeedsPositionedMovementLayout(bool b) {
NOT_DESTROYED();
bitfields_.SetNeedsPositionedMovementLayout(b);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_replaced.h |
void SetIntrinsicSize(const LayoutSize &intrinsic_size) {
NOT_DESTROYED();
intrinsic_size_ = intrinsic_size;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/layout_table_cell.h | LayoutObject *ToMutableLayoutObject() final {
NOT_DESTROYED();
return this;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/breaking_context_inline_headers.h |
ALWAYS_INLINE float
TextWidth(LineLayoutText text, unsigned from, unsigned len, const Font &font,
float x_pos, bool collapse_white_space,
HashSet<const SimpleFontData *> *fallback_fonts = nullptr,
FloatRect *glyph_bounds = nullptr) {
if ((!from && len == text.TextLength()) || text.Style... | [
1,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_flow_box.h | void SetEdges(bool include_left, bool include_right) {
include_logical_left_edge_ = include_left;
include_logical_right_edge_ = include_right;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_flow_box.h | void SetHasTextDescendants() { has_text_descendants_ = true; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_flow_box.h | void SetIsFirstAfterPageBreak(bool is_first_after_page_break) {
is_first_after_page_break_ = is_first_after_page_break;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_flow_box.h | void BeginPlacingBoxRangesInInlineDirection(LayoutUnit logical_left) {
SetLogicalLeft(logical_left);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_iterator.h |
template <typename CharacterType>
static inline int FindFirstTrailingSpace(LineLayoutText last_text,
const CharacterType *characters,
int start, int stop) {
int first_space = stop;
while (first_space > start) {
UChar current = ch... | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_iterator.h |
inline bool IsIsolatedInline(LineLayoutItem object) {
DCHECK(object);
return object.IsLayoutInline() && TreatAsIsolated(object.StyleRef());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/line/inline_iterator.h |
static inline void AddFakeRunIfNecessary(LineLayoutItem obj, unsigned start,
unsigned end, LineLayoutItem root,
InlineBidiResolver &resolver,
IsolateTracker &tracker) {
tracker.SetMidpointStateF... | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/inline/ng_inline_cursor.h | void MakeNull() { current_.Clear(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/inline/ng_inline_item.h | void SetEndCollapseType(NGCollapseType type) {
DCHECK(Type() == NGInlineItem::kText || type == kOpaqueToCollapsing ||
(Type() == NGInlineItem::kControl && type == kCollapsible));
end_collapse_type_ = type;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/inline/ng_inline_item.h | void SetBidiLevel(UBiDiLevel level) {
if (DirectionFromLevel(level) != DirectionFromLevel(bidi_level_))
shape_result_ = nullptr;
bidi_level_ = level;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h |
void AdjustBorderScrollbarPaddingForTableCell() {
if (!space_->IsTableCell())
return;
border_scrollbar_padding_ +=
ComputeIntrinsicPadding(*space_, *style_, Scrollbar());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetFragmentsTotalBlockSize(LayoutUnit block_size) {
#if DCHECK_IS_ON()
// for debugging, to assert that we know what we're doing when attempting to
// access the data.
block_size_is_for_all_fragments_ = true;
#endif
size_.block_size = block_size;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetBlockOffsetForAdditionalColumns(LayoutUnit size) {
block_offset_for_additional_columns_ = size;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetDidBreakSelf() { did_break_self_ = true; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetPreviousBreakToken(scoped_refptr<const NGBlockBreakToken> break_token) {
previous_break_token_ = std::move(break_token);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h |
void SetInitialBreakBefore(EBreakBetween break_before) {
initial_break_before_ = break_before;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h |
void SetEarlyBreak(scoped_refptr<const NGEarlyBreak> breakpoint,
NGBreakAppeal appeal) {
early_break_ = breakpoint;
break_appeal_ = appeal;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetIsFieldsetContainer() { is_fieldset_container_ = true; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetIsMathMLOperator() { is_math_operator_ = true; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetMathMLPaintInfo(
UChar operator_character,
scoped_refptr<const ShapeResultView> operator_shape_result_view,
LayoutUnit operator_inline_size, LayoutUnit operator_ascent,
LayoutUnit operator_descent) {
if (!mathml_paint_info_)
mathml_paint_info_ = std::make_unique<NGMathMLPaintInfo>();
ma... | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetBaseline(LayoutUnit baseline) { baseline_ = baseline; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h | void SetLastBaseline(LayoutUnit baseline) {
DCHECK_EQ(space_->BaselineAlgorithmType(),
NGBaselineAlgorithmType::kInlineBlock);
last_baseline_ = baseline;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_box_fragment_builder.h |
void SetHasForcedBreak() {
has_forced_break_ = true;
minimal_space_shortage_ = LayoutUnit::Max();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_constraint_space.h |
void ReplaceTableConstraintSpaceData(
const NGTableConstraintSpaceData &table_data) {
DCHECK(HasRareData());
rare_data_->ReplaceTableConstraintSpaceData(table_data);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_constraint_space.h |
TableRowData *EnsureTableRowData() {
DCHECK(data_union_type == kNone || data_union_type == kTableRowData);
if (data_union_type != kTableRowData) {
data_union_type = kTableRowData;
new (&table_row_data_) TableRowData();
}
return &table_row_data_;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_constraint_space.h |
CustomData *EnsureCustomData() {
DCHECK(data_union_type == kNone || data_union_type == kCustomData);
if (data_union_type != kCustomData) {
data_union_type = kCustomData;
new (&custom_data_) CustomData();
}
return &custom_data_;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/ng_physical_box_fragment.h | static bool SupportsPositionForPoint() {
return RuntimeEnabledFeatures::LayoutNGBlockFragmentationEnabled();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/table/ng_table_borders.h |
void AddSection(wtf_size_t start_row, wtf_size_t row_count) {
sections_.push_back(Section{start_row, row_count});
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/layout/ng/table/ng_table_borders.h |
Section GetSection(wtf_size_t section_index) {
return sections_[section_index];
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/paint/paint_layer.h | void ClearSelfPaintingStatusChanged() {
DCHECK(!RuntimeEnabledFeatures::CompositeAfterPaintEnabled());
self_painting_status_changed_ = false;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/paint/paint_layer.h |
void SetNeedsCompositingReasonsUpdate() {
needs_compositing_reasons_update_ = true;
}
#if DCHECK_IS_ON() | [
0,
0
] |
Chromium | third_party/blink/renderer/core/paint/paint_layer.h | PaintLayerStackingNode *StackingParent() { return stacking_parent_; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/paint/paint_layer.h |
void SetNextSibling(PaintLayer *next) { next_ = next; } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/paint/paint_layer.h |
PaintLayerRareData &EnsureRareData() {
if (!rare_data_)
rare_data_ = std::make_unique<PaintLayerRareData>();
return *rare_data_;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetColumnCount(uint16_t c) {
SetHasAutoColumnCountInternal(false);
SetColumnCountInternal(clampTo<uint16_t>(c, 1));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetHasAutoColumnWidth() {
SetHasAutoColumnWidthInternal(true);
SetColumnWidthInternal(0);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetPerspectiveOriginX(const Length &v) {
SetPerspectiveOrigin(LengthPoint(v, PerspectiveOriginY()));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetTransformOriginX(const Length &v) {
SetTransformOrigin(
TransformOrigin(v, TransformOriginY(), TransformOriginZ()));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetScrollPaddingBlockStart(const Length &v) {
if (IsHorizontalWritingMode())
SetScrollPaddingTop(v);
else
SetScrollPaddingLeft(v);
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetScrollPaddingBlockEnd(const Length &v) {
if (IsHorizontalWritingMode())
SetScrollPaddingBottom(v);
else
SetScrollPaddingRight(v);
} | [
1,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.